Skip to content

Commit

Permalink
add missing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
schnerd committed Mar 1, 2023
1 parent a356e37 commit 8b9c21f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,11 @@ components:
maxItems: 4
items:
type: string
max_tokens:
description: |
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).
default: inf
type: integer
presence_penalty:
type: number
default: 0
Expand Down Expand Up @@ -3369,6 +3374,10 @@ components:
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.
type: number
default: 0
language:
description: |
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.
type: string
required:
- file
- model
Expand Down

0 comments on commit 8b9c21f

Please sign in to comment.