mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Update timestamp_granularities parameter in transcription function
This commit is contained in:
parent
fa871895bc
commit
ce71e13ef6
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue