Skip to content

Commit c9225a9

Browse files
authored
Add timestamp_granularities to API spec (#188)
1 parent c76a6d5 commit c9225a9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

openapi.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5806,6 +5806,7 @@ components:
58065806
"gpt-3.5-turbo-0301",
58075807
"gpt-3.5-turbo-0613",
58085808
"gpt-3.5-turbo-1106",
5809+
"gpt-3.5-turbo-0125",
58095810
"gpt-3.5-turbo-16k-0613",
58105811
]
58115812
x-oaiTypeLabel: string
@@ -5863,7 +5864,7 @@ components:
58635864
response_format:
58645865
type: object
58655866
description: |
5866-
An object specifying the format that the model must output. Compatible with [GPT-4 Turbo](/docs/models/gpt-4-and-gpt-4-turbo) and `gpt-3.5-turbo-1106`.
5867+
An object specifying the format that the model must output. Compatible with [GPT-4 Turbo](/docs/models/gpt-4-and-gpt-4-turbo) and all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
58675868
58685869
Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
58695870
@@ -6839,6 +6840,16 @@ components:
68396840
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.
68406841
type: number
68416842
default: 0
6843+
timestamp_granularities[]:
6844+
description: |
6845+
The timestamp granularities to populate for this transcription. Any of these options: `word`, or `segment`. Note: There is no additional latency for segment timestamps, but generating word timestamps incurs additional latency.
6846+
type: array
6847+
items:
6848+
type: string
6849+
enum:
6850+
- word
6851+
- segment
6852+
default: [segment]
68426853
required:
68436854
- file
68446855
- model

0 commit comments

Comments
 (0)