Update timestamp_granularities parameter in transcription function
This commit is contained in:
parent
fa871895bc
commit
ce71e13ef6
@ -3924,7 +3924,6 @@ def transcription(
|
||||
response_format: Optional[
|
||||
Literal["json", "text", "srt", "verbose_json", "vtt"]
|
||||
] = None,
|
||||
timestamp_granularities: Optional[List[Literal['word', 'segment']]] = None,
|
||||
temperature: Optional[int] = None, # openai defaults this to 0
|
||||
## LITELLM PARAMS ##
|
||||
user: Optional[str] = None,
|
||||
@ -3959,7 +3958,6 @@ def transcription(
|
||||
"language": language,
|
||||
"prompt": prompt,
|
||||
"response_format": response_format,
|
||||
"timestamp_granularities": timestamp_granularities,
|
||||
"temperature": None, # openai defaults this to 0
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user