Skip to content

Commit 8b9c21f

Browse files
committed
add missing parameters
1 parent a356e37 commit 8b9c21f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,6 +2372,11 @@ components:
23722372
maxItems: 4
23732373
items:
23742374
type: string
2375+
max_tokens:
2376+
description: |
2377+
The maximum number of tokens allowed for the generated answer. By default, the number of tokens the model can return will be (4096 - prompt tokens).
2378+
default: inf
2379+
type: integer
23752380
presence_penalty:
23762381
type: number
23772382
default: 0
@@ -3369,6 +3374,10 @@ components:
33693374
The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
33703375
type: number
33713376
default: 0
3377+
language:
3378+
description: |
3379+
The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.
3380+
type: string
33723381
required:
33733382
- file
33743383
- model

0 commit comments

Comments
 (0)