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
@@ -10900,16 +10900,7 @@ components:
10900
10900
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.
10901
10901
type: string
10902
10902
response_format:
10903
-
description: |
10904
-
The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
10905
-
type: string
10906
-
enum:
10907
-
- json
10908
-
- text
10909
-
- srt
10910
-
- verbose_json
10911
-
- vtt
10912
-
default: json
10903
+
$ref: "#/components/schemas/AudioResponseFormat"
10913
10904
temperature:
10914
10905
description: |
10915
10906
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.
@@ -11042,6 +11033,18 @@ components:
11042
11033
group: audio
11043
11034
example: *verbose_transcription_response_example
11044
11035
11036
+
AudioResponseFormat:
11037
+
description: |
11038
+
The format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
11039
+
type: string
11040
+
enum:
11041
+
- json
11042
+
- text
11043
+
- srt
11044
+
- verbose_json
11045
+
- vtt
11046
+
default: json
11047
+
11045
11048
CreateTranslationRequest:
11046
11049
type: object
11047
11050
additionalProperties: false
@@ -11066,10 +11069,7 @@ components:
11066
11069
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.
11067
11070
type: string
11068
11071
response_format:
11069
-
description: |
11070
-
The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
11071
-
type: string
11072
-
default: json
11072
+
$ref: "#/components/schemas/AudioResponseFormat"
11073
11073
temperature:
11074
11074
description: |
11075
11075
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