@@ -61,7 +61,8 @@ private constructor(
6161 * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that the vector
6262 * store should use. Useful for tools like `file_search` that can access files. If `attributes`
6363 * or `chunking_strategy` are provided, they will be applied to all files in the batch. The
64- * maximum batch size is 2000 files. Mutually exclusive with `files`.
64+ * maximum batch size is 2000 files. This endpoint is recommended for multi-file ingestion and
65+ * helps reduce per-vector-store write request pressure. Mutually exclusive with `files`.
6566 *
6667 * @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
6768 * server responded with an unexpected value).
@@ -72,7 +73,9 @@ private constructor(
7273 * A list of objects that each include a `file_id` plus optional `attributes` or
7374 * `chunking_strategy`. Use this when you need to override metadata for specific files. The
7475 * global `attributes` or `chunking_strategy` will be ignored and must be specified for each
75- * file. The maximum batch size is 2000 files. Mutually exclusive with `file_ids`.
76+ * file. The maximum batch size is 2000 files. This endpoint is recommended for multi-file
77+ * ingestion and helps reduce per-vector-store write request pressure. Mutually exclusive with
78+ * `file_ids`.
7679 *
7780 * @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
7881 * server responded with an unexpected value).
@@ -228,7 +231,9 @@ private constructor(
228231 * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that the
229232 * vector store should use. Useful for tools like `file_search` that can access files. If
230233 * `attributes` or `chunking_strategy` are provided, they will be applied to all files in
231- * the batch. The maximum batch size is 2000 files. Mutually exclusive with `files`.
234+ * the batch. The maximum batch size is 2000 files. This endpoint is recommended for
235+ * multi-file ingestion and helps reduce per-vector-store write request pressure. Mutually
236+ * exclusive with `files`.
232237 */
233238 fun fileIds (fileIds : List <String >) = apply { body.fileIds(fileIds) }
234239
@@ -252,7 +257,9 @@ private constructor(
252257 * A list of objects that each include a `file_id` plus optional `attributes` or
253258 * `chunking_strategy`. Use this when you need to override metadata for specific files. The
254259 * global `attributes` or `chunking_strategy` will be ignored and must be specified for each
255- * file. The maximum batch size is 2000 files. Mutually exclusive with `file_ids`.
260+ * file. The maximum batch size is 2000 files. This endpoint is recommended for multi-file
261+ * ingestion and helps reduce per-vector-store write request pressure. Mutually exclusive
262+ * with `file_ids`.
256263 */
257264 fun files (files : List <File >) = apply { body.files(files) }
258265
@@ -465,7 +472,9 @@ private constructor(
465472 * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that the
466473 * vector store should use. Useful for tools like `file_search` that can access files. If
467474 * `attributes` or `chunking_strategy` are provided, they will be applied to all files in
468- * the batch. The maximum batch size is 2000 files. Mutually exclusive with `files`.
475+ * the batch. The maximum batch size is 2000 files. This endpoint is recommended for
476+ * multi-file ingestion and helps reduce per-vector-store write request pressure. Mutually
477+ * exclusive with `files`.
469478 *
470479 * @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
471480 * server responded with an unexpected value).
@@ -476,7 +485,9 @@ private constructor(
476485 * A list of objects that each include a `file_id` plus optional `attributes` or
477486 * `chunking_strategy`. Use this when you need to override metadata for specific files. The
478487 * global `attributes` or `chunking_strategy` will be ignored and must be specified for each
479- * file. The maximum batch size is 2000 files. Mutually exclusive with `file_ids`.
488+ * file. The maximum batch size is 2000 files. This endpoint is recommended for multi-file
489+ * ingestion and helps reduce per-vector-store write request pressure. Mutually exclusive
490+ * with `file_ids`.
480491 *
481492 * @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
482493 * server responded with an unexpected value).
@@ -623,8 +634,9 @@ private constructor(
623634 * A list of [File](https://platform.openai.com/docs/api-reference/files) IDs that the
624635 * vector store should use. Useful for tools like `file_search` that can access files.
625636 * If `attributes` or `chunking_strategy` are provided, they will be applied to all
626- * files in the batch. The maximum batch size is 2000 files. Mutually exclusive with
627- * `files`.
637+ * files in the batch. The maximum batch size is 2000 files. This endpoint is
638+ * recommended for multi-file ingestion and helps reduce per-vector-store write request
639+ * pressure. Mutually exclusive with `files`.
628640 */
629641 fun fileIds (fileIds : List <String >) = fileIds(JsonField .of(fileIds))
630642
@@ -655,8 +667,9 @@ private constructor(
655667 * A list of objects that each include a `file_id` plus optional `attributes` or
656668 * `chunking_strategy`. Use this when you need to override metadata for specific files.
657669 * The global `attributes` or `chunking_strategy` will be ignored and must be specified
658- * for each file. The maximum batch size is 2000 files. Mutually exclusive with
659- * `file_ids`.
670+ * for each file. The maximum batch size is 2000 files. This endpoint is recommended for
671+ * multi-file ingestion and helps reduce per-vector-store write request pressure.
672+ * Mutually exclusive with `file_ids`.
660673 */
661674 fun files (files : List <File >) = files(JsonField .of(files))
662675
@@ -902,7 +915,10 @@ private constructor(
902915
903916 /* *
904917 * A [File](https://platform.openai.com/docs/api-reference/files) ID that the vector store
905- * should use. Useful for tools like `file_search` that can access files.
918+ * should use. Useful for tools like `file_search` that can access files. For multi-file
919+ * ingestion, we recommend
920+ * [`file_batches`](https://platform.openai.com/docs/api-reference/vector-stores-file-batches/createBatch)
921+ * to minimize per-vector-store write requests.
906922 *
907923 * @throws OpenAIInvalidDataException if the JSON field has an unexpected type or is
908924 * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -1000,7 +1016,10 @@ private constructor(
10001016
10011017 /* *
10021018 * A [File](https://platform.openai.com/docs/api-reference/files) ID that the vector
1003- * store should use. Useful for tools like `file_search` that can access files.
1019+ * store should use. Useful for tools like `file_search` that can access files. For
1020+ * multi-file ingestion, we recommend
1021+ * [`file_batches`](https://platform.openai.com/docs/api-reference/vector-stores-file-batches/createBatch)
1022+ * to minimize per-vector-store write requests.
10041023 */
10051024 fun fileId (fileId : String ) = fileId(JsonField .of(fileId))
10061025
0 commit comments