Skip to content

Commit cd3c3fe

Browse files
authored
Updates service_tier details (#296)
1 parent 2f67be9 commit cd3c3fe

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

openapi.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ paths:
119119
"id": "chatcmpl-123",
120120
"object": "chat.completion",
121121
"created": 1677652288,
122-
"model": "gpt-3.5-turbo-0125",
122+
"model": "gpt-4o-mini",
123123
"system_fingerprint": "fp_44709d6fcb",
124124
"choices": [{
125125
"index": 0,
@@ -216,7 +216,7 @@ paths:
216216
"id": "chatcmpl-123",
217217
"object": "chat.completion",
218218
"created": 1677652288,
219-
"model": "gpt-3.5-turbo-0125",
219+
"model": "gpt-4o-mini",
220220
"system_fingerprint": "fp_44709d6fcb",
221221
"choices": [{
222222
"index": 0,
@@ -291,13 +291,13 @@ paths:
291291

292292
main();
293293
response: &chat_completion_chunk_example |
294-
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-3.5-turbo-0125", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
294+
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-4o-mini", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
295295

296-
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-3.5-turbo-0125", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}]}
296+
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-4o-mini", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}]}
297297

298298
....
299299

300-
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-3.5-turbo-0125", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
300+
{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-4o-mini", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
301301
- title: Functions
302302
request:
303303
curl: |
@@ -414,7 +414,7 @@ paths:
414414
"id": "chatcmpl-abc123",
415415
"object": "chat.completion",
416416
"created": 1699896916,
417-
"model": "gpt-3.5-turbo-0125",
417+
"model": "gpt-4o-mini",
418418
"choices": [
419419
{
420420
"index": 0,
@@ -496,7 +496,7 @@ paths:
496496
"id": "chatcmpl-123",
497497
"object": "chat.completion",
498498
"created": 1702685778,
499-
"model": "gpt-3.5-turbo-0125",
499+
"model": "gpt-4o-mini",
500500
"choices": [
501501
{
502502
"index": 0,
@@ -3894,7 +3894,7 @@ paths:
38943894
name: Retrieve message
38953895
group: threads
38963896
beta: true
3897-
returns: The [message](/docs/api-reference/threads/messages/object) object matching the specified ID.
3897+
returns: The [message](/docs/api-reference/messages/object) object matching the specified ID.
38983898
examples:
38993899
request:
39003900
curl: |
@@ -3982,7 +3982,7 @@ paths:
39823982
name: Modify message
39833983
group: threads
39843984
beta: true
3985-
returns: The modified [message](/docs/api-reference/threads/messages/object) object.
3985+
returns: The modified [message](/docs/api-reference/messages/object) object.
39863986
examples:
39873987
request:
39883988
curl: |
@@ -7671,7 +7671,7 @@ components:
76717671
description: The text contents of the message.
76727672
title: Text content
76737673
- type: array
7674-
description: An array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Image input is only supported when using the `gpt-4-visual-preview` model.
7674+
description: An array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Image input is only supported when using the `gpt-4o` model.
76757675
title: Array of content parts
76767676
items:
76777677
$ref: "#/components/schemas/ChatCompletionRequestMessageContentPart"
@@ -8146,6 +8146,7 @@ components:
81468146
Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
81478147
- If set to 'auto', the system will utilize scale tier credits until they are exhausted.
81488148
- If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
8149+
- When not set, the default behavior is 'auto'.
81498150

81508151
When this parameter is set, the response body will include the `service_tier` utilized.
81518152
type: string
@@ -9648,7 +9649,6 @@ components:
96489649
nullable: true
96499650
description: The ready File object after the Upload is completed.
96509651
required:
9651-
- object
96529652
- bytes
96539653
- created_at
96549654
- expires_at
@@ -12933,9 +12933,10 @@ components:
1293312933
description: One of `server_error` or `rate_limit_exceeded`.
1293412934
enum:
1293512935
[
12936-
"server_error",
12937-
"unsupported_file",
12938-
"invalid_file",
12936+
"internal_error",
12937+
"file_not_found",
12938+
"parsing_error",
12939+
"unhandled_mime_type",
1293912940
]
1294012941
message:
1294112942
type: string

0 commit comments

Comments
 (0)