Skip to content

Commit 8c22ab1

Browse files
feat(api): add gpt-4o-2024-11-20 model (#1877)
1 parent eaba61e commit 8c22ab1

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

Diff for: .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

Diff for: src/openai/resources/batches.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def create(
7878
Your input file must be formatted as a
7979
[JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
8080
and must be uploaded with the purpose `batch`. The file can contain up to 50,000
81-
requests, and can be up to 100 MB in size.
81+
requests, and can be up to 200 MB in size.
8282
8383
metadata: Optional custom metadata for the batch.
8484
@@ -283,7 +283,7 @@ async def create(
283283
Your input file must be formatted as a
284284
[JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
285285
and must be uploaded with the purpose `batch`. The file can contain up to 50,000
286-
requests, and can be up to 100 MB in size.
286+
requests, and can be up to 200 MB in size.
287287
288288
metadata: Optional custom metadata for the batch.
289289

Diff for: src/openai/resources/files.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def create(
8585
[completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
8686
models.
8787
88-
The Batch API only supports `.jsonl` files up to 100 MB in size. The input also
88+
The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
8989
has a specific required
9090
[format](https://platform.openai.com/docs/api-reference/batch/request-input).
9191
@@ -378,7 +378,7 @@ async def create(
378378
[completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
379379
models.
380380
381-
The Batch API only supports `.jsonl` files up to 100 MB in size. The input also
381+
The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
382382
has a specific required
383383
[format](https://platform.openai.com/docs/api-reference/batch/request-input).
384384

Diff for: 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]]

Diff for: 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
"""

Diff for: 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)