You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -6718,7 +6718,7 @@ paths:
6718
6718
{
6719
6719
"id": "batch_abc123",
6720
6720
"object": "batch",
6721
-
"endpoint": "/v1/completions",
6721
+
"endpoint": "/v1/chat/completions",
6722
6722
"errors": null,
6723
6723
"input_file_id": "file-abc123",
6724
6724
"completion_window": "24h",
@@ -6806,7 +6806,7 @@ paths:
6806
6806
{
6807
6807
"id": "batch_abc123",
6808
6808
"object": "batch",
6809
-
"endpoint": "/v1/completions",
6809
+
"endpoint": "/v1/chat/completions",
6810
6810
"errors": null,
6811
6811
"input_file_id": "file-abc123",
6812
6812
"completion_window": "24h",
@@ -6969,7 +6969,7 @@ paths:
6969
6969
{
6970
6970
"id": "batch_abc123",
6971
6971
"object": "batch",
6972
-
"endpoint": "/v1/completions",
6972
+
"endpoint": "/v1/chat/completions",
6973
6973
"errors": null,
6974
6974
"input_file_id": "file-abc123",
6975
6975
"completion_window": "24h",
@@ -8592,9 +8592,9 @@ components:
8592
8592
description: |
8593
8593
The intended purpose of the uploaded file.
8594
8594
8595
-
Use "fine-tune" for [Fine-tuning](/docs/api-reference/fine-tuning) and "assistants" for [Assistants](/docs/api-reference/assistants) and [Messages](/docs/api-reference/messages). This allows us to validate the format of the uploaded file is correct for fine-tuning.
8595
+
Use "assistants" for [Assistants](/docs/api-reference/assistants) and [Messages](/docs/api-reference/messages), "batch" for [Batch API](/docs/guides/batch), and "fine-tune" for [Fine-tuning](/docs/api-reference/fine-tuning).
8596
8596
type: string
8597
-
enum: ["fine-tune", "assistants"]
8597
+
enum: ["assistants", "batch", "fine-tune"]
8598
8598
required:
8599
8599
- file
8600
8600
- purpose
@@ -9225,13 +9225,16 @@ components:
9225
9225
enum: ["file"]
9226
9226
purpose:
9227
9227
type: string
9228
-
description: The intended purpose of the file. Supported values are `fine-tune`, `fine-tune-results`, `assistants`, and `assistants_output`.
9228
+
description: The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, and `fine-tune-results`.
9229
9229
enum:
9230
9230
[
9231
-
"fine-tune",
9232
-
"fine-tune-results",
9233
9231
"assistants",
9234
9232
"assistants_output",
9233
+
"batch",
9234
+
"batch_output",
9235
+
"fine-tune",
9236
+
"fine-tune-results",
9237
+
9235
9238
]
9236
9239
status:
9237
9240
type: string
@@ -13045,7 +13048,7 @@ x-oaiMeta:
13045
13048
- id: files
13046
13049
title: Files
13047
13050
description: |
13048
-
Files are used to upload documents that can be used with features like [Assistants](/docs/api-reference/assistants) and [Fine-tuning](/docs/api-reference/fine-tuning).
13051
+
Files are used to upload documents that can be used with features like [Assistants](/docs/api-reference/assistants), [Fine-tuning](/docs/api-reference/fine-tuning), and [Batch API](/docs/guides/batch).
0 commit comments