You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -11219,16 +11219,7 @@ components:
11219
11219
An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.
11220
11220
type: string
11221
11221
response_format:
11222
-
description: |
11223
-
The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
11224
-
type: string
11225
-
enum:
11226
-
- json
11227
-
- text
11228
-
- srt
11229
-
- verbose_json
11230
-
- vtt
11231
-
default: json
11222
+
$ref: "#/components/schemas/AudioResponseFormat"
11232
11223
temperature:
11233
11224
description: |
11234
11225
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.
@@ -11361,6 +11352,18 @@ components:
11361
11352
group: audio
11362
11353
example: *verbose_transcription_response_example
11363
11354
11355
+
AudioResponseFormat:
11356
+
description: |
11357
+
The format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
11358
+
type: string
11359
+
enum:
11360
+
- json
11361
+
- text
11362
+
- srt
11363
+
- verbose_json
11364
+
- vtt
11365
+
default: json
11366
+
11364
11367
CreateTranslationRequest:
11365
11368
type: object
11366
11369
additionalProperties: false
@@ -11385,10 +11388,7 @@ components:
11385
11388
An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.
11386
11389
type: string
11387
11390
response_format:
11388
-
description: |
11389
-
The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
11390
-
type: string
11391
-
default: json
11391
+
$ref: "#/components/schemas/AudioResponseFormat"
11392
11392
temperature:
11393
11393
description: |
11394
11394
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.
0 commit comments