@@ -148,10 +148,11 @@ export interface FileObject {
148148 object : 'file' ;
149149
150150 /**
151- * The intended purpose of the file. Supported values are `fine-tune`,
152- * `fine-tune-results`, `assistants`, and `assistants_output`.
151+ * The intended purpose of the file. Supported values are `assistants`,
152+ * `assistants_output`, `batch`, `batch_output`, `fine-tune`, and
153+ * `fine-tune-results`.
153154 */
154- purpose : 'fine-tune ' | 'fine-tune-results ' | 'assistants ' | 'assistants_output ' ;
155+ purpose : 'assistants ' | 'assistants_output ' | 'batch ' | 'batch_output' | 'fine-tune' | 'fine-tune-results ';
155156
156157 /**
157158 * @deprecated : Deprecated. The current status of the file, which can be either
@@ -175,14 +176,13 @@ export interface FileCreateParams {
175176 /**
176177 * The intended purpose of the uploaded file.
177178 *
178- * Use "fine-tune" for
179- * [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning) and
180- * "assistants" for
179+ * Use "assistants" for
181180 * [Assistants](https://platform.openai.com/docs/api-reference/assistants) and
182- * [Messages](https://platform.openai.com/docs/api-reference/messages). This allows
183- * us to validate the format of the uploaded file is correct for fine-tuning.
181+ * [Messages](https://platform.openai.com/docs/api-reference/messages), "batch" for
182+ * [Batch API](https://platform.openai.com/docs/guides/batch), and "fine-tune" for
183+ * [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning).
184184 */
185- purpose : 'fine-tune ' | 'assistants ' ;
185+ purpose : 'assistants ' | 'batch' | 'fine-tune ';
186186}
187187
188188export interface FileListParams {
0 commit comments