openai 7.12.1 → 7.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/resources/admin/organization/audit-logs.d.mts +1 -1
- package/resources/admin/organization/audit-logs.d.ts +1 -1
- package/resources/admin/organization/projects/api-keys.d.mts +5 -0
- package/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
- package/resources/admin/organization/projects/api-keys.d.ts +5 -0
- package/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
- package/resources/admin/organization/projects/projects.d.mts +2 -2
- package/resources/admin/organization/projects/projects.d.ts +2 -2
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +13 -0
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts +13 -0
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -1
- package/resources/audio/speech.d.mts +3 -2
- package/resources/audio/speech.d.mts.map +1 -1
- package/resources/audio/speech.d.ts +3 -2
- package/resources/audio/speech.d.ts.map +1 -1
- package/resources/audio/transcriptions.d.mts +10 -10
- package/resources/audio/transcriptions.d.ts +10 -10
- package/resources/audio/translations.d.mts +1 -1
- package/resources/audio/translations.d.ts +1 -1
- package/resources/batches.d.mts +6 -5
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +6 -5
- package/resources/batches.d.ts.map +1 -1
- package/resources/beta/assistants.d.mts +143 -147
- package/resources/beta/assistants.d.mts.map +1 -1
- package/resources/beta/assistants.d.ts +143 -147
- package/resources/beta/assistants.d.ts.map +1 -1
- package/resources/beta/responses/input-tokens.d.mts +11 -11
- package/resources/beta/responses/input-tokens.d.ts +11 -11
- package/resources/beta/responses/responses.d.mts +181 -170
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +181 -170
- package/resources/beta/responses/responses.d.ts.map +1 -1
- package/resources/beta/responses/responses.js +3 -3
- package/resources/beta/responses/responses.js.map +1 -1
- package/resources/beta/responses/responses.mjs +3 -3
- package/resources/beta/responses/responses.mjs.map +1 -1
- package/resources/beta/threads/messages.d.mts +29 -23
- package/resources/beta/threads/messages.d.mts.map +1 -1
- package/resources/beta/threads/messages.d.ts +29 -23
- package/resources/beta/threads/messages.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.d.mts +39 -35
- package/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/resources/beta/threads/runs/runs.d.ts +39 -35
- package/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/beta/threads/runs/steps.d.mts +14 -15
- package/resources/beta/threads/runs/steps.d.mts.map +1 -1
- package/resources/beta/threads/runs/steps.d.ts +14 -15
- package/resources/beta/threads/runs/steps.d.ts.map +1 -1
- package/resources/beta/threads/threads.d.mts +53 -50
- package/resources/beta/threads/threads.d.mts.map +1 -1
- package/resources/beta/threads/threads.d.ts +53 -50
- package/resources/beta/threads/threads.d.ts.map +1 -1
- package/resources/beta/threads/threads.js.map +1 -1
- package/resources/beta/threads/threads.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +89 -81
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +89 -81
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/completions.d.mts +15 -14
- package/resources/completions.d.mts.map +1 -1
- package/resources/completions.d.ts +15 -14
- package/resources/completions.d.ts.map +1 -1
- package/resources/content-provenance-checks.d.mts +1 -1
- package/resources/content-provenance-checks.d.ts +1 -1
- package/resources/content-provenance-checks.js +1 -1
- package/resources/content-provenance-checks.mjs +1 -1
- package/resources/conversations/items.d.mts +3 -3
- package/resources/conversations/items.d.ts +3 -3
- package/resources/embeddings.d.mts +6 -6
- package/resources/embeddings.d.ts +6 -6
- package/resources/evals/evals.d.mts +1 -1
- package/resources/evals/evals.d.ts +1 -1
- package/resources/evals/evals.js +1 -1
- package/resources/evals/evals.mjs +1 -1
- package/resources/evals/runs/runs.d.mts +62 -57
- package/resources/evals/runs/runs.d.mts.map +1 -1
- package/resources/evals/runs/runs.d.ts +62 -57
- package/resources/evals/runs/runs.d.ts.map +1 -1
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs.map +1 -1
- package/resources/files.d.mts +5 -5
- package/resources/files.d.ts +5 -5
- package/resources/files.js +5 -5
- package/resources/files.mjs +5 -5
- package/resources/fine-tuning/alpha/graders.d.mts +5 -4
- package/resources/fine-tuning/alpha/graders.d.mts.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.ts +5 -4
- package/resources/fine-tuning/alpha/graders.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.mts +8 -4
- package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.ts +8 -4
- package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.js +8 -4
- package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.mjs +8 -4
- package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.mts +13 -12
- package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.ts +13 -12
- package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.js +2 -2
- package/resources/fine-tuning/jobs/jobs.js.map +1 -1
- package/resources/fine-tuning/jobs/jobs.mjs +2 -2
- package/resources/fine-tuning/jobs/jobs.mjs.map +1 -1
- package/resources/graders/grader-models.d.mts +1 -1
- package/resources/graders/grader-models.d.ts +1 -1
- package/resources/images.d.mts +10 -10
- package/resources/images.d.ts +10 -10
- package/resources/moderations.d.mts +5 -4
- package/resources/moderations.d.mts.map +1 -1
- package/resources/moderations.d.ts +5 -4
- package/resources/moderations.d.ts.map +1 -1
- package/resources/moderations.js +2 -1
- package/resources/moderations.js.map +1 -1
- package/resources/moderations.mjs +2 -1
- package/resources/moderations.mjs.map +1 -1
- package/resources/realtime/calls.d.mts +1 -1
- package/resources/realtime/calls.d.ts +1 -1
- package/resources/realtime/client-secrets.d.mts +4 -4
- package/resources/realtime/client-secrets.d.ts +4 -4
- package/resources/realtime/client-secrets.js +1 -1
- package/resources/realtime/client-secrets.mjs +1 -1
- package/resources/realtime/realtime.d.mts +16 -16
- package/resources/realtime/realtime.d.ts +16 -16
- package/resources/responses/input-tokens.d.mts +9 -9
- package/resources/responses/input-tokens.d.ts +9 -9
- package/resources/responses/responses.d.mts +175 -164
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +175 -164
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js +3 -3
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs +3 -3
- package/resources/responses/responses.mjs.map +1 -1
- package/resources/shared.d.mts +12 -12
- package/resources/shared.d.ts +12 -12
- package/resources/uploads/parts.d.mts +5 -4
- package/resources/uploads/parts.d.mts.map +1 -1
- package/resources/uploads/parts.d.ts +5 -4
- package/resources/uploads/parts.d.ts.map +1 -1
- package/resources/uploads/parts.js +5 -4
- package/resources/uploads/parts.js.map +1 -1
- package/resources/uploads/parts.mjs +5 -4
- package/resources/uploads/parts.mjs.map +1 -1
- package/resources/uploads/uploads.d.mts +11 -11
- package/resources/uploads/uploads.d.ts +11 -11
- package/resources/uploads/uploads.js +9 -9
- package/resources/uploads/uploads.mjs +9 -9
- package/resources/vector-stores/file-batches.d.mts +11 -11
- package/resources/vector-stores/file-batches.d.ts +11 -11
- package/resources/vector-stores/files.d.mts +8 -8
- package/resources/vector-stores/files.d.ts +8 -8
- package/resources/vector-stores/files.js +3 -3
- package/resources/vector-stores/files.mjs +3 -3
- package/resources/vector-stores/vector-stores.d.mts +3 -3
- package/resources/vector-stores/vector-stores.d.ts +3 -3
- package/resources/webhooks/webhooks.d.mts +6 -2
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +6 -2
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/src/resources/admin/organization/audit-logs.ts +1 -1
- package/src/resources/admin/organization/projects/api-keys.ts +6 -0
- package/src/resources/admin/organization/projects/projects.ts +2 -2
- package/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +15 -0
- package/src/resources/audio/speech.ts +3 -2
- package/src/resources/audio/transcriptions.ts +10 -10
- package/src/resources/audio/translations.ts +1 -1
- package/src/resources/batches.ts +6 -5
- package/src/resources/beta/assistants.ts +143 -147
- package/src/resources/beta/responses/input-tokens.ts +11 -11
- package/src/resources/beta/responses/responses.ts +181 -170
- package/src/resources/beta/threads/messages.ts +29 -23
- package/src/resources/beta/threads/runs/runs.ts +39 -35
- package/src/resources/beta/threads/runs/steps.ts +14 -15
- package/src/resources/beta/threads/threads.ts +53 -50
- package/src/resources/chat/completions/completions.ts +89 -81
- package/src/resources/completions.ts +15 -14
- package/src/resources/content-provenance-checks.ts +1 -1
- package/src/resources/conversations/items.ts +3 -3
- package/src/resources/embeddings.ts +6 -6
- package/src/resources/evals/evals.ts +1 -1
- package/src/resources/evals/runs/runs.ts +62 -57
- package/src/resources/files.ts +5 -5
- package/src/resources/fine-tuning/alpha/graders.ts +5 -4
- package/src/resources/fine-tuning/checkpoints/permissions.ts +8 -4
- package/src/resources/fine-tuning/jobs/jobs.ts +13 -12
- package/src/resources/graders/grader-models.ts +1 -1
- package/src/resources/images.ts +10 -10
- package/src/resources/moderations.ts +5 -4
- package/src/resources/realtime/calls.ts +1 -1
- package/src/resources/realtime/client-secrets.ts +4 -4
- package/src/resources/realtime/realtime.ts +16 -16
- package/src/resources/responses/input-tokens.ts +9 -9
- package/src/resources/responses/responses.ts +175 -164
- package/src/resources/shared.ts +12 -12
- package/src/resources/uploads/parts.ts +5 -4
- package/src/resources/uploads/uploads.ts +11 -11
- package/src/resources/vector-stores/file-batches.ts +11 -11
- package/src/resources/vector-stores/files.ts +8 -8
- package/src/resources/vector-stores/vector-stores.ts +3 -3
- package/src/resources/webhooks/webhooks.ts +6 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -186,14 +186,14 @@ export class Threads extends APIResource {
|
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Specifies the format that the model must output. Compatible with
|
|
189
|
-
* [GPT-4o](https://
|
|
190
|
-
* [GPT-4 Turbo](https://
|
|
191
|
-
*
|
|
189
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
190
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
191
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
192
192
|
*
|
|
193
193
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
194
194
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
195
195
|
* in the
|
|
196
|
-
* [Structured Outputs guide](https://
|
|
196
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
197
197
|
*
|
|
198
198
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
199
199
|
* message the model generates is valid JSON.
|
|
@@ -245,7 +245,7 @@ export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | Assistant
|
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Represents a thread that contains
|
|
248
|
-
* [messages](https://
|
|
248
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration).
|
|
249
249
|
*/
|
|
250
250
|
export interface Thread {
|
|
251
251
|
/**
|
|
@@ -298,9 +298,9 @@ export namespace Thread {
|
|
|
298
298
|
export namespace ToolResources {
|
|
299
299
|
export interface CodeInterpreter {
|
|
300
300
|
/**
|
|
301
|
-
* A list of [file](https://
|
|
302
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
303
|
-
* associated with the tool.
|
|
301
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
302
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
303
|
+
* files associated with the tool.
|
|
304
304
|
*/
|
|
305
305
|
file_ids?: Array<string>;
|
|
306
306
|
}
|
|
@@ -308,7 +308,7 @@ export namespace Thread {
|
|
|
308
308
|
export interface FileSearch {
|
|
309
309
|
/**
|
|
310
310
|
* The
|
|
311
|
-
* [vector store](https://
|
|
311
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
312
312
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
313
313
|
* the thread.
|
|
314
314
|
*/
|
|
@@ -327,8 +327,9 @@ export interface ThreadDeleted {
|
|
|
327
327
|
|
|
328
328
|
export interface ThreadCreateParams {
|
|
329
329
|
/**
|
|
330
|
-
* A list of
|
|
331
|
-
*
|
|
330
|
+
* A list of
|
|
331
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
332
|
+
* the thread with.
|
|
332
333
|
*/
|
|
333
334
|
messages?: Array<ThreadCreateParams.Message>;
|
|
334
335
|
|
|
@@ -422,9 +423,9 @@ export namespace ThreadCreateParams {
|
|
|
422
423
|
export namespace ToolResources {
|
|
423
424
|
export interface CodeInterpreter {
|
|
424
425
|
/**
|
|
425
|
-
* A list of [file](https://
|
|
426
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
427
|
-
* associated with the tool.
|
|
426
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
427
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
428
|
+
* files associated with the tool.
|
|
428
429
|
*/
|
|
429
430
|
file_ids?: Array<string>;
|
|
430
431
|
}
|
|
@@ -432,7 +433,7 @@ export namespace ThreadCreateParams {
|
|
|
432
433
|
export interface FileSearch {
|
|
433
434
|
/**
|
|
434
435
|
* The
|
|
435
|
-
* [vector store](https://
|
|
436
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
436
437
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
437
438
|
* the thread.
|
|
438
439
|
*/
|
|
@@ -440,7 +441,7 @@ export namespace ThreadCreateParams {
|
|
|
440
441
|
|
|
441
442
|
/**
|
|
442
443
|
* A helper to create a
|
|
443
|
-
* [vector store](https://
|
|
444
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
444
445
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
445
446
|
* store attached to the thread.
|
|
446
447
|
*/
|
|
@@ -456,10 +457,10 @@ export namespace ThreadCreateParams {
|
|
|
456
457
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
457
458
|
|
|
458
459
|
/**
|
|
459
|
-
* A list of [file](https://
|
|
460
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
461
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
462
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
460
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
461
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
462
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
463
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
463
464
|
*/
|
|
464
465
|
file_ids?: Array<string>;
|
|
465
466
|
|
|
@@ -552,9 +553,9 @@ export namespace ThreadUpdateParams {
|
|
|
552
553
|
export namespace ToolResources {
|
|
553
554
|
export interface CodeInterpreter {
|
|
554
555
|
/**
|
|
555
|
-
* A list of [file](https://
|
|
556
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
557
|
-
* associated with the tool.
|
|
556
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
557
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
558
|
+
* files associated with the tool.
|
|
558
559
|
*/
|
|
559
560
|
file_ids?: Array<string>;
|
|
560
561
|
}
|
|
@@ -562,7 +563,7 @@ export namespace ThreadUpdateParams {
|
|
|
562
563
|
export interface FileSearch {
|
|
563
564
|
/**
|
|
564
565
|
* The
|
|
565
|
-
* [vector store](https://
|
|
566
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
566
567
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
567
568
|
* the thread.
|
|
568
569
|
*/
|
|
@@ -578,8 +579,8 @@ export type ThreadCreateAndRunParams =
|
|
|
578
579
|
export interface ThreadCreateAndRunParamsBase {
|
|
579
580
|
/**
|
|
580
581
|
* The ID of the
|
|
581
|
-
* [assistant](https://
|
|
582
|
-
* execute this run.
|
|
582
|
+
* [assistant](https://developers.openai.com/api/docs/assistants/migration) to use
|
|
583
|
+
* to execute this run.
|
|
583
584
|
*/
|
|
584
585
|
assistant_id: string;
|
|
585
586
|
|
|
@@ -618,30 +619,31 @@ export interface ThreadCreateAndRunParamsBase {
|
|
|
618
619
|
metadata?: Shared.Metadata | null;
|
|
619
620
|
|
|
620
621
|
/**
|
|
621
|
-
* The ID of the
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
* assistant
|
|
622
|
+
* The ID of the
|
|
623
|
+
* [Model](https://developers.openai.com/api/reference/resources/models) to be used
|
|
624
|
+
* to execute this run. If a value is provided here, it will override the model
|
|
625
|
+
* associated with the assistant. If not, the model associated with the assistant
|
|
626
|
+
* will be used.
|
|
625
627
|
*/
|
|
626
628
|
model?: (string & {}) | Shared.ChatModel | null;
|
|
627
629
|
|
|
628
630
|
/**
|
|
629
631
|
* Whether to enable
|
|
630
|
-
* [parallel function calling](https://
|
|
632
|
+
* [parallel function calling](https://developers.openai.com/api/docs/guides/function-calling#parallel-function-calling)
|
|
631
633
|
* during tool use.
|
|
632
634
|
*/
|
|
633
635
|
parallel_tool_calls?: boolean;
|
|
634
636
|
|
|
635
637
|
/**
|
|
636
638
|
* Specifies the format that the model must output. Compatible with
|
|
637
|
-
* [GPT-4o](https://
|
|
638
|
-
* [GPT-4 Turbo](https://
|
|
639
|
-
*
|
|
639
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
640
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
641
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
640
642
|
*
|
|
641
643
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
642
644
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
643
645
|
* in the
|
|
644
|
-
* [Structured Outputs guide](https://
|
|
646
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
645
647
|
*
|
|
646
648
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
647
649
|
* message the model generates is valid JSON.
|
|
@@ -724,8 +726,9 @@ export namespace ThreadCreateAndRunParams {
|
|
|
724
726
|
*/
|
|
725
727
|
export interface Thread {
|
|
726
728
|
/**
|
|
727
|
-
* A list of
|
|
728
|
-
*
|
|
729
|
+
* A list of
|
|
730
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
731
|
+
* the thread with.
|
|
729
732
|
*/
|
|
730
733
|
messages?: Array<Thread.Message>;
|
|
731
734
|
|
|
@@ -819,9 +822,9 @@ export namespace ThreadCreateAndRunParams {
|
|
|
819
822
|
export namespace ToolResources {
|
|
820
823
|
export interface CodeInterpreter {
|
|
821
824
|
/**
|
|
822
|
-
* A list of [file](https://
|
|
823
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
824
|
-
* associated with the tool.
|
|
825
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
826
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
827
|
+
* files associated with the tool.
|
|
825
828
|
*/
|
|
826
829
|
file_ids?: Array<string>;
|
|
827
830
|
}
|
|
@@ -829,7 +832,7 @@ export namespace ThreadCreateAndRunParams {
|
|
|
829
832
|
export interface FileSearch {
|
|
830
833
|
/**
|
|
831
834
|
* The
|
|
832
|
-
* [vector store](https://
|
|
835
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
833
836
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
834
837
|
* the thread.
|
|
835
838
|
*/
|
|
@@ -837,7 +840,7 @@ export namespace ThreadCreateAndRunParams {
|
|
|
837
840
|
|
|
838
841
|
/**
|
|
839
842
|
* A helper to create a
|
|
840
|
-
* [vector store](https://
|
|
843
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
841
844
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
842
845
|
* store attached to the thread.
|
|
843
846
|
*/
|
|
@@ -853,10 +856,10 @@ export namespace ThreadCreateAndRunParams {
|
|
|
853
856
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
854
857
|
|
|
855
858
|
/**
|
|
856
|
-
* A list of [file](https://
|
|
857
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
858
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
859
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
859
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
860
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
861
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
862
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
860
863
|
*/
|
|
861
864
|
file_ids?: Array<string>;
|
|
862
865
|
|
|
@@ -928,9 +931,9 @@ export namespace ThreadCreateAndRunParams {
|
|
|
928
931
|
export namespace ToolResources {
|
|
929
932
|
export interface CodeInterpreter {
|
|
930
933
|
/**
|
|
931
|
-
* A list of [file](https://
|
|
932
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
933
|
-
* associated with the tool.
|
|
934
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
935
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
936
|
+
* files associated with the tool.
|
|
934
937
|
*/
|
|
935
938
|
file_ids?: Array<string>;
|
|
936
939
|
}
|
|
@@ -938,7 +941,7 @@ export namespace ThreadCreateAndRunParams {
|
|
|
938
941
|
export interface FileSearch {
|
|
939
942
|
/**
|
|
940
943
|
* The ID of the
|
|
941
|
-
* [vector store](https://
|
|
944
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
942
945
|
* attached to this assistant. There can be a maximum of 1 vector store attached to
|
|
943
946
|
* the assistant.
|
|
944
947
|
*/
|