@@ -49,7 +49,7 @@ def create(
4949 self ,
5050 * ,
5151 completion_window : Literal ["24h" ],
52- endpoint : Literal ["/v1/chat/completions" , "/v1/embeddings" , "/v1/completions" ],
52+ endpoint : Literal ["/v1/responses" , "/v1/ chat/completions" , "/v1/embeddings" , "/v1/completions" ],
5353 input_file_id : str ,
5454 metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
5555 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -67,9 +67,9 @@ def create(
6767 is supported.
6868
6969 endpoint: The endpoint to be used for all requests in the batch. Currently
70- `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported.
71- Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000
72- embedding inputs across all requests in the batch.
70+ `/v1/responses`, `/v1/ chat/completions`, `/v1/embeddings`, and `/v1/completions`
71+ are supported. Note that `/v1/embeddings` batches are also restricted to a
72+ maximum of 50,000 embedding inputs across all requests in the batch.
7373
7474 input_file_id: The ID of an uploaded file that contains requests for the new batch.
7575
@@ -259,7 +259,7 @@ async def create(
259259 self ,
260260 * ,
261261 completion_window : Literal ["24h" ],
262- endpoint : Literal ["/v1/chat/completions" , "/v1/embeddings" , "/v1/completions" ],
262+ endpoint : Literal ["/v1/responses" , "/v1/ chat/completions" , "/v1/embeddings" , "/v1/completions" ],
263263 input_file_id : str ,
264264 metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
265265 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -277,9 +277,9 @@ async def create(
277277 is supported.
278278
279279 endpoint: The endpoint to be used for all requests in the batch. Currently
280- `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported.
281- Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000
282- embedding inputs across all requests in the batch.
280+ `/v1/responses`, `/v1/ chat/completions`, `/v1/embeddings`, and `/v1/completions`
281+ are supported. Note that `/v1/embeddings` batches are also restricted to a
282+ maximum of 50,000 embedding inputs across all requests in the batch.
283283
284284 input_file_id: The ID of an uploaded file that contains requests for the new batch.
285285
0 commit comments