Skip to content

Commit ff64c2a

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): add gpt-4o-2024-11-20 model (#1877)
1 parent 7cdc6dd commit ff64c2a

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 68
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-fb9db2d2c1f0d6b39d8ee042db5d5c59acba6ad1daf47c18792c1f5fb24b3401.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-aa9b01fc0c17eb0cbc200533fc20d6a49c5e764ceaf8049e08b294532be6e9ff.yml

src/openai/resources/batches.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def create(
8181
Your input file must be formatted as a
8282
[JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
8383
and must be uploaded with the purpose `batch`. The file can contain up to 50,000
84-
requests, and can be up to 100 MB in size.
84+
requests, and can be up to 200 MB in size.
8585
8686
metadata: Optional custom metadata for the batch.
8787
@@ -286,7 +286,7 @@ async def create(
286286
Your input file must be formatted as a
287287
[JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
288288
and must be uploaded with the purpose `batch`. The file can contain up to 50,000
289-
requests, and can be up to 100 MB in size.
289+
requests, and can be up to 200 MB in size.
290290
291291
metadata: Optional custom metadata for the batch.
292292

src/openai/resources/files.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create(
8686
[completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
8787
models.
8888
89-
The Batch API only supports `.jsonl` files up to 100 MB in size. The input also
89+
The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
9090
has a specific required
9191
[format](https://platform.openai.com/docs/api-reference/batch/request-input).
9292
@@ -402,7 +402,7 @@ async def create(
402402
[completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
403403
models.
404404
405-
The Batch API only supports `.jsonl` files up to 100 MB in size. The input also
405+
The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
406406
has a specific required
407407
[format](https://platform.openai.com/docs/api-reference/batch/request-input).
408408

src/openai/types/batch_create_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class BatchCreateParams(TypedDict, total=False):
3232
Your input file must be formatted as a
3333
[JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
3434
and must be uploaded with the purpose `batch`. The file can contain up to 50,000
35-
requests, and can be up to 100 MB in size.
35+
requests, and can be up to 200 MB in size.
3636
"""
3737

3838
metadata: Optional[Dict[str, str]]

src/openai/types/chat/chat_completion_audio_param.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class ChatCompletionAudioParam(TypedDict, total=False):
1717
voice: Required[Literal["alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse"]]
1818
"""The voice the model uses to respond.
1919
20-
Supported voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`,
21-
`shimmer`, and `verse`.
20+
Supported voices are `ash`, `ballad`, `coral`, `sage`, and `verse` (also
21+
supported but not recommended are `alloy`, `echo`, and `shimmer`; these voices
22+
are less expressive).
2223
"""

src/openai/types/chat_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"o1-mini",
1111
"o1-mini-2024-09-12",
1212
"gpt-4o",
13+
"gpt-4o-2024-11-20",
1314
"gpt-4o-2024-08-06",
1415
"gpt-4o-2024-05-13",
1516
"gpt-4o-realtime-preview",

0 commit comments

Comments
 (0)