openai 7.10.0 → 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 +203 -0
- package/README.md +7 -5
- package/_vendor/partial-json-parser/parser.d.mts.map +1 -1
- package/_vendor/partial-json-parser/parser.d.ts.map +1 -1
- package/_vendor/partial-json-parser/parser.js +4 -3
- package/_vendor/partial-json-parser/parser.js.map +1 -1
- package/_vendor/partial-json-parser/parser.mjs +4 -3
- package/_vendor/partial-json-parser/parser.mjs.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/string.js +1 -1
- package/_vendor/zod-to-json-schema/parsers/string.js.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/string.mjs +1 -1
- package/_vendor/zod-to-json-schema/parsers/string.mjs.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/tuple.d.mts.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/tuple.d.ts.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/tuple.js +19 -12
- package/_vendor/zod-to-json-schema/parsers/tuple.js.map +1 -1
- package/_vendor/zod-to-json-schema/parsers/tuple.mjs +19 -12
- package/_vendor/zod-to-json-schema/parsers/tuple.mjs.map +1 -1
- package/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts.map +1 -1
- package/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts.map +1 -1
- package/_vendor/zod-to-json-schema/zodToJsonSchema.js +6 -2
- package/_vendor/zod-to-json-schema/zodToJsonSchema.js.map +1 -1
- package/_vendor/zod-to-json-schema/zodToJsonSchema.mjs +6 -2
- package/_vendor/zod-to-json-schema/zodToJsonSchema.mjs.map +1 -1
- package/auth/subject-token-providers.d.mts.map +1 -1
- package/auth/subject-token-providers.d.ts.map +1 -1
- package/auth/subject-token-providers.js +10 -5
- package/auth/subject-token-providers.js.map +1 -1
- package/auth/subject-token-providers.mjs +10 -5
- package/auth/subject-token-providers.mjs.map +1 -1
- package/auth/workload-identity-auth.d.mts.map +1 -1
- package/auth/workload-identity-auth.d.ts.map +1 -1
- package/auth/workload-identity-auth.js +21 -11
- package/auth/workload-identity-auth.js.map +1 -1
- package/auth/workload-identity-auth.mjs +21 -11
- package/auth/workload-identity-auth.mjs.map +1 -1
- package/azure.d.mts.map +1 -1
- package/azure.d.ts.map +1 -1
- package/azure.js +31 -2
- package/azure.js.map +1 -1
- package/azure.mjs +32 -3
- package/azure.mjs.map +1 -1
- package/beta/realtime/internal-base.d.mts.map +1 -1
- package/beta/realtime/internal-base.d.ts.map +1 -1
- package/beta/realtime/internal-base.js +3 -2
- package/beta/realtime/internal-base.js.map +1 -1
- package/beta/realtime/internal-base.mjs +3 -2
- package/beta/realtime/internal-base.mjs.map +1 -1
- package/beta/realtime/websocket.d.mts +2 -0
- package/beta/realtime/websocket.d.mts.map +1 -1
- package/beta/realtime/websocket.d.ts +2 -0
- package/beta/realtime/websocket.d.ts.map +1 -1
- package/beta/realtime/websocket.js +12 -7
- package/beta/realtime/websocket.js.map +1 -1
- package/beta/realtime/websocket.mjs +12 -7
- package/beta/realtime/websocket.mjs.map +1 -1
- package/beta/realtime/ws.d.mts +2 -0
- package/beta/realtime/ws.d.mts.map +1 -1
- package/beta/realtime/ws.d.ts +2 -0
- package/beta/realtime/ws.d.ts.map +1 -1
- package/beta/realtime/ws.js +7 -5
- package/beta/realtime/ws.js.map +1 -1
- package/beta/realtime/ws.mjs +7 -5
- package/beta/realtime/ws.mjs.map +1 -1
- package/client.d.mts +9 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +9 -1
- package/client.d.ts.map +1 -1
- package/client.js +17 -4
- package/client.js.map +1 -1
- package/client.mjs +17 -4
- package/client.mjs.map +1 -1
- package/core/EventEmitter.d.mts +2 -1
- package/core/EventEmitter.d.mts.map +1 -1
- package/core/EventEmitter.d.ts +2 -1
- package/core/EventEmitter.d.ts.map +1 -1
- package/core/EventEmitter.js +2 -1
- package/core/EventEmitter.js.map +1 -1
- package/core/EventEmitter.mjs +2 -1
- package/core/EventEmitter.mjs.map +1 -1
- package/core/pagination.js +1 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/streaming.d.mts +8 -0
- package/core/streaming.d.mts.map +1 -1
- package/core/streaming.d.ts +8 -0
- package/core/streaming.d.ts.map +1 -1
- package/core/streaming.js +68 -15
- package/core/streaming.js.map +1 -1
- package/core/streaming.mjs +68 -15
- package/core/streaming.mjs.map +1 -1
- package/helpers/audio.d.mts +1 -1
- package/helpers/audio.d.mts.map +1 -1
- package/helpers/audio.d.ts +1 -1
- package/helpers/audio.d.ts.map +1 -1
- package/helpers/audio.js +25 -5
- package/helpers/audio.js.map +1 -1
- package/helpers/audio.mjs +25 -5
- package/helpers/audio.mjs.map +1 -1
- package/helpers/zod.d.mts +28 -15
- package/helpers/zod.d.mts.map +1 -1
- package/helpers/zod.d.ts +28 -15
- package/helpers/zod.d.ts.map +1 -1
- package/helpers/zod.js +30 -23
- package/helpers/zod.js.map +1 -1
- package/helpers/zod.mjs +30 -23
- package/helpers/zod.mjs.map +1 -1
- package/index.js +4 -5
- package/internal/bedrock.d.mts +11 -0
- package/internal/bedrock.d.mts.map +1 -1
- package/internal/bedrock.d.ts +11 -0
- package/internal/bedrock.d.ts.map +1 -1
- package/internal/bedrock.js +71 -55
- package/internal/bedrock.js.map +1 -1
- package/internal/bedrock.mjs +70 -55
- package/internal/bedrock.mjs.map +1 -1
- package/internal/detect-platform.js +2 -2
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +2 -2
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +3 -2
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs +3 -2
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +4 -5
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +4 -5
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.js +1 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/realtime-credentials.d.mts +15 -0
- package/internal/realtime-credentials.d.mts.map +1 -0
- package/internal/realtime-credentials.d.ts +15 -0
- package/internal/realtime-credentials.d.ts.map +1 -0
- package/internal/realtime-credentials.js +23 -0
- package/internal/realtime-credentials.js.map +1 -0
- package/internal/realtime-credentials.mjs +19 -0
- package/internal/realtime-credentials.mjs.map +1 -0
- package/internal/responses/response-accumulator.d.mts.map +1 -1
- package/internal/responses/response-accumulator.d.ts.map +1 -1
- package/internal/responses/response-accumulator.js +2 -1
- package/internal/responses/response-accumulator.js.map +1 -1
- package/internal/responses/response-accumulator.mjs +2 -1
- package/internal/responses/response-accumulator.mjs.map +1 -1
- package/internal/to-file.d.mts +2 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts +2 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +5 -4
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +6 -5
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +3 -3
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +3 -3
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts +2 -0
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +2 -0
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js +12 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +11 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +3 -0
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -0
- package/internal/utils/base64.mjs.map +1 -1
- package/lib/AbstractChatCompletionRunner.d.mts +1 -1
- package/lib/AbstractChatCompletionRunner.d.mts.map +1 -1
- package/lib/AbstractChatCompletionRunner.d.ts +1 -1
- package/lib/AbstractChatCompletionRunner.d.ts.map +1 -1
- package/lib/AbstractChatCompletionRunner.js +31 -9
- package/lib/AbstractChatCompletionRunner.js.map +1 -1
- package/lib/AbstractChatCompletionRunner.mjs +31 -9
- package/lib/AbstractChatCompletionRunner.mjs.map +1 -1
- package/lib/AssistantStream.d.mts +4 -1
- package/lib/AssistantStream.d.mts.map +1 -1
- package/lib/AssistantStream.d.ts +4 -1
- package/lib/AssistantStream.d.ts.map +1 -1
- package/lib/AssistantStream.js +23 -8
- package/lib/AssistantStream.js.map +1 -1
- package/lib/AssistantStream.mjs +24 -9
- package/lib/AssistantStream.mjs.map +1 -1
- package/lib/ChatCompletionRunner.d.mts +6 -3
- package/lib/ChatCompletionRunner.d.mts.map +1 -1
- package/lib/ChatCompletionRunner.d.ts +6 -3
- package/lib/ChatCompletionRunner.d.ts.map +1 -1
- package/lib/ChatCompletionRunner.js +7 -4
- package/lib/ChatCompletionRunner.js.map +1 -1
- package/lib/ChatCompletionRunner.mjs +7 -4
- package/lib/ChatCompletionRunner.mjs.map +1 -1
- package/lib/ChatCompletionStream.d.mts.map +1 -1
- package/lib/ChatCompletionStream.d.ts.map +1 -1
- package/lib/ChatCompletionStream.js +6 -0
- package/lib/ChatCompletionStream.js.map +1 -1
- package/lib/ChatCompletionStream.mjs +7 -1
- package/lib/ChatCompletionStream.mjs.map +1 -1
- package/lib/ChatCompletionStreamingRunner.d.mts.map +1 -1
- package/lib/ChatCompletionStreamingRunner.d.ts.map +1 -1
- package/lib/ChatCompletionStreamingRunner.js +1 -0
- package/lib/ChatCompletionStreamingRunner.js.map +1 -1
- package/lib/ChatCompletionStreamingRunner.mjs +1 -0
- package/lib/ChatCompletionStreamingRunner.mjs.map +1 -1
- package/lib/EventEmitter.d.mts +3 -1
- package/lib/EventEmitter.d.mts.map +1 -1
- package/lib/EventEmitter.d.ts +3 -1
- package/lib/EventEmitter.d.ts.map +1 -1
- package/lib/EventEmitter.js +2 -1
- package/lib/EventEmitter.js.map +1 -1
- package/lib/EventEmitter.mjs +2 -1
- package/lib/EventEmitter.mjs.map +1 -1
- package/lib/EventStream.d.mts +2 -1
- package/lib/EventStream.d.mts.map +1 -1
- package/lib/EventStream.d.ts +2 -1
- package/lib/EventStream.d.ts.map +1 -1
- package/lib/EventStream.js +99 -46
- package/lib/EventStream.js.map +1 -1
- package/lib/EventStream.mjs +99 -46
- package/lib/EventStream.mjs.map +1 -1
- package/lib/ResponsesParser.d.mts +5 -4
- package/lib/ResponsesParser.d.mts.map +1 -1
- package/lib/ResponsesParser.d.ts +5 -4
- package/lib/ResponsesParser.d.ts.map +1 -1
- package/lib/ResponsesParser.js +21 -7
- package/lib/ResponsesParser.js.map +1 -1
- package/lib/ResponsesParser.mjs +21 -7
- package/lib/ResponsesParser.mjs.map +1 -1
- package/lib/RunnableFunction.d.mts +2 -2
- package/lib/RunnableFunction.d.mts.map +1 -1
- package/lib/RunnableFunction.d.ts +2 -2
- package/lib/RunnableFunction.d.ts.map +1 -1
- package/lib/embeddings.d.mts.map +1 -1
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/embeddings.js +18 -12
- package/lib/embeddings.js.map +1 -1
- package/lib/embeddings.mjs +18 -12
- package/lib/embeddings.mjs.map +1 -1
- package/lib/file-processing.d.mts +3 -2
- package/lib/file-processing.d.mts.map +1 -1
- package/lib/file-processing.d.ts +3 -2
- package/lib/file-processing.d.ts.map +1 -1
- package/lib/file-processing.js +5 -4
- package/lib/file-processing.js.map +1 -1
- package/lib/file-processing.mjs +5 -4
- package/lib/file-processing.mjs.map +1 -1
- package/lib/parser.d.mts +16 -4
- package/lib/parser.d.mts.map +1 -1
- package/lib/parser.d.ts +16 -4
- package/lib/parser.d.ts.map +1 -1
- package/lib/parser.js +1 -1
- package/lib/parser.js.map +1 -1
- package/lib/parser.mjs +1 -1
- package/lib/parser.mjs.map +1 -1
- package/lib/polling.d.mts +2 -2
- package/lib/polling.d.mts.map +1 -1
- package/lib/polling.d.ts +2 -2
- package/lib/polling.d.ts.map +1 -1
- package/lib/polling.js +5 -4
- package/lib/polling.js.map +1 -1
- package/lib/polling.mjs +5 -4
- package/lib/polling.mjs.map +1 -1
- package/lib/responses/EventTypes.d.mts +2 -2
- package/lib/responses/EventTypes.d.mts.map +1 -1
- package/lib/responses/EventTypes.d.ts +2 -2
- package/lib/responses/EventTypes.d.ts.map +1 -1
- package/lib/responses/ResponseInputItems.d.mts +3 -2
- package/lib/responses/ResponseInputItems.d.mts.map +1 -1
- package/lib/responses/ResponseInputItems.d.ts +3 -2
- package/lib/responses/ResponseInputItems.d.ts.map +1 -1
- package/lib/responses/ResponseInputItems.js +27 -4
- package/lib/responses/ResponseInputItems.js.map +1 -1
- package/lib/responses/ResponseInputItems.mjs +27 -4
- package/lib/responses/ResponseInputItems.mjs.map +1 -1
- package/lib/transform.d.mts.map +1 -1
- package/lib/transform.d.ts.map +1 -1
- package/lib/transform.js +1 -0
- package/lib/transform.js.map +1 -1
- package/lib/transform.mjs +1 -0
- package/lib/transform.mjs.map +1 -1
- package/lib/vector-store-polling.d.mts +2 -2
- package/lib/vector-store-polling.d.ts +2 -2
- package/lib/vector-store-polling.js +3 -3
- package/lib/vector-store-polling.js.map +1 -1
- package/lib/vector-store-polling.mjs +3 -3
- package/lib/vector-store-polling.mjs.map +1 -1
- package/lib/vector-store-upload.d.mts +2 -1
- package/lib/vector-store-upload.d.mts.map +1 -1
- package/lib/vector-store-upload.d.ts +2 -1
- package/lib/vector-store-upload.d.ts.map +1 -1
- package/lib/vector-store-upload.js +5 -1
- package/lib/vector-store-upload.js.map +1 -1
- package/lib/vector-store-upload.mjs +5 -1
- package/lib/vector-store-upload.mjs.map +1 -1
- package/package.json +1 -1
- package/providers/bedrock/aws.d.mts.map +1 -1
- package/providers/bedrock/aws.d.ts.map +1 -1
- package/providers/bedrock/aws.js +14 -16
- package/providers/bedrock/aws.js.map +1 -1
- package/providers/bedrock/aws.mjs +15 -17
- package/providers/bedrock/aws.mjs.map +1 -1
- package/realtime/internal-base.d.mts.map +1 -1
- package/realtime/internal-base.d.ts.map +1 -1
- package/realtime/internal-base.js +3 -5
- package/realtime/internal-base.js.map +1 -1
- package/realtime/internal-base.mjs +3 -5
- package/realtime/internal-base.mjs.map +1 -1
- package/realtime/websocket.d.mts +2 -0
- package/realtime/websocket.d.mts.map +1 -1
- package/realtime/websocket.d.ts +2 -0
- package/realtime/websocket.d.ts.map +1 -1
- package/realtime/websocket.js +12 -6
- package/realtime/websocket.js.map +1 -1
- package/realtime/websocket.mjs +12 -6
- package/realtime/websocket.mjs.map +1 -1
- package/realtime/ws.d.mts +2 -0
- package/realtime/ws.d.mts.map +1 -1
- package/realtime/ws.d.ts +2 -0
- package/realtime/ws.d.ts.map +1 -1
- package/realtime/ws.js +7 -4
- package/realtime/ws.js.map +1 -1
- package/realtime/ws.mjs +7 -4
- package/realtime/ws.mjs.map +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/api-keys.d.mts +9 -0
- package/resources/admin/organization/projects/service-accounts/api-keys.d.mts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.d.ts +9 -0
- package/resources/admin/organization/projects/service-accounts/api-keys.d.ts.map +1 -1
- 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 +284 -194
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +284 -194
- 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 +12 -3
- package/resources/conversations/items.d.mts.map +1 -1
- package/resources/conversations/items.d.ts +12 -3
- package/resources/conversations/items.d.ts.map +1 -1
- 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 +83 -68
- package/resources/images.d.mts.map +1 -1
- package/resources/images.d.ts +83 -68
- package/resources/images.d.ts.map +1 -1
- package/resources/images.js.map +1 -1
- package/resources/images.mjs.map +1 -1
- 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 +278 -187
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +278 -187
- 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 +12 -6
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +12 -6
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/src/_vendor/partial-json-parser/parser.ts +4 -3
- package/src/_vendor/zod-to-json-schema/parsers/string.ts +1 -1
- package/src/_vendor/zod-to-json-schema/parsers/tuple.ts +23 -16
- package/src/_vendor/zod-to-json-schema/zodToJsonSchema.ts +11 -6
- package/src/auth/subject-token-providers.ts +12 -7
- package/src/auth/workload-identity-auth.ts +27 -12
- package/src/azure.ts +34 -3
- package/src/beta/realtime/internal-base.ts +3 -2
- package/src/beta/realtime/websocket.ts +17 -7
- package/src/beta/realtime/ws.ts +9 -5
- package/src/client.ts +19 -4
- package/src/core/EventEmitter.ts +5 -8
- package/src/core/pagination.ts +1 -1
- package/src/core/streaming.ts +69 -13
- package/src/helpers/audio.ts +27 -6
- package/src/helpers/zod.ts +78 -29
- package/src/internal/bedrock.ts +84 -58
- package/src/internal/detect-platform.ts +2 -2
- package/src/internal/errors.ts +3 -2
- package/src/internal/headers.ts +7 -5
- package/src/internal/parse.ts +1 -1
- package/src/internal/realtime-credentials.ts +27 -0
- package/src/internal/responses/response-accumulator.ts +1 -0
- package/src/internal/to-file.ts +6 -5
- package/src/internal/uploads.ts +12 -1
- package/src/internal/utils/base64.ts +3 -0
- package/src/lib/AbstractChatCompletionRunner.ts +31 -6
- package/src/lib/AssistantStream.ts +25 -11
- package/src/lib/ChatCompletionRunner.ts +8 -4
- package/src/lib/ChatCompletionStream.ts +8 -0
- package/src/lib/ChatCompletionStreamingRunner.ts +1 -0
- package/src/lib/EventEmitter.ts +17 -8
- package/src/lib/EventStream.ts +105 -52
- package/src/lib/ResponsesParser.ts +33 -12
- package/src/lib/RunnableFunction.ts +2 -2
- package/src/lib/embeddings.ts +18 -12
- package/src/lib/file-processing.ts +5 -4
- package/src/lib/parser.ts +35 -11
- package/src/lib/polling.ts +5 -4
- package/src/lib/responses/EventTypes.ts +3 -69
- package/src/lib/responses/ResponseInputItems.ts +29 -4
- package/src/lib/transform.ts +1 -0
- package/src/lib/vector-store-polling.ts +3 -3
- package/src/lib/vector-store-upload.ts +5 -1
- package/src/providers/bedrock/aws.ts +23 -24
- package/src/realtime/internal-base.ts +3 -5
- package/src/realtime/websocket.ts +14 -6
- package/src/realtime/ws.ts +9 -4
- 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/api-keys.ts +11 -0
- 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 +315 -192
- 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 +14 -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 +86 -67
- 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 +309 -185
- 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 +12 -6
- 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
|
@@ -65,14 +65,14 @@ export declare class Threads extends APIResource {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Specifies the format that the model must output. Compatible with
|
|
68
|
-
* [GPT-4o](https://
|
|
69
|
-
* [GPT-4 Turbo](https://
|
|
70
|
-
*
|
|
68
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
69
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
70
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
71
71
|
*
|
|
72
72
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
73
73
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
74
74
|
* in the
|
|
75
|
-
* [Structured Outputs guide](https://
|
|
75
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
76
76
|
*
|
|
77
77
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
78
78
|
* message the model generates is valid JSON.
|
|
@@ -115,7 +115,7 @@ export interface AssistantToolChoiceFunction {
|
|
|
115
115
|
export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | AssistantToolChoice;
|
|
116
116
|
/**
|
|
117
117
|
* Represents a thread that contains
|
|
118
|
-
* [messages](https://
|
|
118
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration).
|
|
119
119
|
*/
|
|
120
120
|
export interface Thread {
|
|
121
121
|
/**
|
|
@@ -161,16 +161,16 @@ export declare namespace Thread {
|
|
|
161
161
|
namespace ToolResources {
|
|
162
162
|
interface CodeInterpreter {
|
|
163
163
|
/**
|
|
164
|
-
* A list of [file](https://
|
|
165
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
166
|
-
* associated with the tool.
|
|
164
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
165
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
166
|
+
* files associated with the tool.
|
|
167
167
|
*/
|
|
168
168
|
file_ids?: Array<string>;
|
|
169
169
|
}
|
|
170
170
|
interface FileSearch {
|
|
171
171
|
/**
|
|
172
172
|
* The
|
|
173
|
-
* [vector store](https://
|
|
173
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
174
174
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
175
175
|
* the thread.
|
|
176
176
|
*/
|
|
@@ -185,8 +185,9 @@ export interface ThreadDeleted {
|
|
|
185
185
|
}
|
|
186
186
|
export interface ThreadCreateParams {
|
|
187
187
|
/**
|
|
188
|
-
* A list of
|
|
189
|
-
*
|
|
188
|
+
* A list of
|
|
189
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
190
|
+
* the thread with.
|
|
190
191
|
*/
|
|
191
192
|
messages?: Array<ThreadCreateParams.Message>;
|
|
192
193
|
/**
|
|
@@ -268,23 +269,23 @@ export declare namespace ThreadCreateParams {
|
|
|
268
269
|
namespace ToolResources {
|
|
269
270
|
interface CodeInterpreter {
|
|
270
271
|
/**
|
|
271
|
-
* A list of [file](https://
|
|
272
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
273
|
-
* associated with the tool.
|
|
272
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
273
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
274
|
+
* files associated with the tool.
|
|
274
275
|
*/
|
|
275
276
|
file_ids?: Array<string>;
|
|
276
277
|
}
|
|
277
278
|
interface FileSearch {
|
|
278
279
|
/**
|
|
279
280
|
* The
|
|
280
|
-
* [vector store](https://
|
|
281
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
281
282
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
282
283
|
* the thread.
|
|
283
284
|
*/
|
|
284
285
|
vector_store_ids?: Array<string>;
|
|
285
286
|
/**
|
|
286
287
|
* A helper to create a
|
|
287
|
-
* [vector store](https://
|
|
288
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
288
289
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
289
290
|
* store attached to the thread.
|
|
290
291
|
*/
|
|
@@ -298,10 +299,10 @@ export declare namespace ThreadCreateParams {
|
|
|
298
299
|
*/
|
|
299
300
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
300
301
|
/**
|
|
301
|
-
* A list of [file](https://
|
|
302
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
303
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
304
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
302
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
303
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
304
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
305
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
305
306
|
*/
|
|
306
307
|
file_ids?: Array<string>;
|
|
307
308
|
/**
|
|
@@ -383,16 +384,16 @@ export declare namespace ThreadUpdateParams {
|
|
|
383
384
|
namespace ToolResources {
|
|
384
385
|
interface CodeInterpreter {
|
|
385
386
|
/**
|
|
386
|
-
* A list of [file](https://
|
|
387
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
388
|
-
* associated with the tool.
|
|
387
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
388
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
389
|
+
* files associated with the tool.
|
|
389
390
|
*/
|
|
390
391
|
file_ids?: Array<string>;
|
|
391
392
|
}
|
|
392
393
|
interface FileSearch {
|
|
393
394
|
/**
|
|
394
395
|
* The
|
|
395
|
-
* [vector store](https://
|
|
396
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
396
397
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
397
398
|
* the thread.
|
|
398
399
|
*/
|
|
@@ -404,8 +405,8 @@ export type ThreadCreateAndRunParams = ThreadCreateAndRunParamsNonStreaming | Th
|
|
|
404
405
|
export interface ThreadCreateAndRunParamsBase {
|
|
405
406
|
/**
|
|
406
407
|
* The ID of the
|
|
407
|
-
* [assistant](https://
|
|
408
|
-
* execute this run.
|
|
408
|
+
* [assistant](https://developers.openai.com/api/docs/assistants/migration) to use
|
|
409
|
+
* to execute this run.
|
|
409
410
|
*/
|
|
410
411
|
assistant_id: string;
|
|
411
412
|
/**
|
|
@@ -439,28 +440,29 @@ export interface ThreadCreateAndRunParamsBase {
|
|
|
439
440
|
*/
|
|
440
441
|
metadata?: Shared.Metadata | null;
|
|
441
442
|
/**
|
|
442
|
-
* The ID of the
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
* assistant
|
|
443
|
+
* The ID of the
|
|
444
|
+
* [Model](https://developers.openai.com/api/reference/resources/models) to be used
|
|
445
|
+
* to execute this run. If a value is provided here, it will override the model
|
|
446
|
+
* associated with the assistant. If not, the model associated with the assistant
|
|
447
|
+
* will be used.
|
|
446
448
|
*/
|
|
447
449
|
model?: (string & {}) | Shared.ChatModel | null;
|
|
448
450
|
/**
|
|
449
451
|
* Whether to enable
|
|
450
|
-
* [parallel function calling](https://
|
|
452
|
+
* [parallel function calling](https://developers.openai.com/api/docs/guides/function-calling#parallel-function-calling)
|
|
451
453
|
* during tool use.
|
|
452
454
|
*/
|
|
453
455
|
parallel_tool_calls?: boolean;
|
|
454
456
|
/**
|
|
455
457
|
* Specifies the format that the model must output. Compatible with
|
|
456
|
-
* [GPT-4o](https://
|
|
457
|
-
* [GPT-4 Turbo](https://
|
|
458
|
-
*
|
|
458
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
459
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
460
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
459
461
|
*
|
|
460
462
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
461
463
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
462
464
|
* in the
|
|
463
|
-
* [Structured Outputs guide](https://
|
|
465
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
464
466
|
*
|
|
465
467
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
466
468
|
* message the model generates is valid JSON.
|
|
@@ -534,8 +536,9 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
534
536
|
*/
|
|
535
537
|
interface Thread {
|
|
536
538
|
/**
|
|
537
|
-
* A list of
|
|
538
|
-
*
|
|
539
|
+
* A list of
|
|
540
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
541
|
+
* the thread with.
|
|
539
542
|
*/
|
|
540
543
|
messages?: Array<Thread.Message>;
|
|
541
544
|
/**
|
|
@@ -617,23 +620,23 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
617
620
|
namespace ToolResources {
|
|
618
621
|
interface CodeInterpreter {
|
|
619
622
|
/**
|
|
620
|
-
* A list of [file](https://
|
|
621
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
622
|
-
* associated with the tool.
|
|
623
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
624
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
625
|
+
* files associated with the tool.
|
|
623
626
|
*/
|
|
624
627
|
file_ids?: Array<string>;
|
|
625
628
|
}
|
|
626
629
|
interface FileSearch {
|
|
627
630
|
/**
|
|
628
631
|
* The
|
|
629
|
-
* [vector store](https://
|
|
632
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
630
633
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
631
634
|
* the thread.
|
|
632
635
|
*/
|
|
633
636
|
vector_store_ids?: Array<string>;
|
|
634
637
|
/**
|
|
635
638
|
* A helper to create a
|
|
636
|
-
* [vector store](https://
|
|
639
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
637
640
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
638
641
|
* store attached to the thread.
|
|
639
642
|
*/
|
|
@@ -647,10 +650,10 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
647
650
|
*/
|
|
648
651
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
649
652
|
/**
|
|
650
|
-
* A list of [file](https://
|
|
651
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
652
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
653
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
653
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
654
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
655
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
656
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
654
657
|
*/
|
|
655
658
|
file_ids?: Array<string>;
|
|
656
659
|
/**
|
|
@@ -713,16 +716,16 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
713
716
|
namespace ToolResources {
|
|
714
717
|
interface CodeInterpreter {
|
|
715
718
|
/**
|
|
716
|
-
* A list of [file](https://
|
|
717
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
718
|
-
* associated with the tool.
|
|
719
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
720
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
721
|
+
* files associated with the tool.
|
|
719
722
|
*/
|
|
720
723
|
file_ids?: Array<string>;
|
|
721
724
|
}
|
|
722
725
|
interface FileSearch {
|
|
723
726
|
/**
|
|
724
727
|
* The ID of the
|
|
725
|
-
* [vector store](https://
|
|
728
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
726
729
|
* attached to this assistant. There can be a maximum of 1 vector store attached to
|
|
727
730
|
* the assistant.
|
|
728
731
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/threads/threads.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,aAAa,0BAAsB;AAC/C,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,OAAO,IAAI,kBAAkB,EAC7B,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,IAAI,EACJ,gBAAgB,EAChB,qBAAqB,EACrB,SAAS,EACT,cAAc,EACf,uBAAmB;AACpB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EACL,8BAA8B,EAC9B,GAAG,EACH,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,iCAAiC,EACjC,0BAA0B,EAC1B,sCAAsC,EACtC,mCAAmC,EACnC,gCAA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C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"}
|
|
@@ -65,14 +65,14 @@ export declare class Threads extends APIResource {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Specifies the format that the model must output. Compatible with
|
|
68
|
-
* [GPT-4o](https://
|
|
69
|
-
* [GPT-4 Turbo](https://
|
|
70
|
-
*
|
|
68
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
69
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
70
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
71
71
|
*
|
|
72
72
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
73
73
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
74
74
|
* in the
|
|
75
|
-
* [Structured Outputs guide](https://
|
|
75
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
76
76
|
*
|
|
77
77
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
78
78
|
* message the model generates is valid JSON.
|
|
@@ -115,7 +115,7 @@ export interface AssistantToolChoiceFunction {
|
|
|
115
115
|
export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | AssistantToolChoice;
|
|
116
116
|
/**
|
|
117
117
|
* Represents a thread that contains
|
|
118
|
-
* [messages](https://
|
|
118
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration).
|
|
119
119
|
*/
|
|
120
120
|
export interface Thread {
|
|
121
121
|
/**
|
|
@@ -161,16 +161,16 @@ export declare namespace Thread {
|
|
|
161
161
|
namespace ToolResources {
|
|
162
162
|
interface CodeInterpreter {
|
|
163
163
|
/**
|
|
164
|
-
* A list of [file](https://
|
|
165
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
166
|
-
* associated with the tool.
|
|
164
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
165
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
166
|
+
* files associated with the tool.
|
|
167
167
|
*/
|
|
168
168
|
file_ids?: Array<string>;
|
|
169
169
|
}
|
|
170
170
|
interface FileSearch {
|
|
171
171
|
/**
|
|
172
172
|
* The
|
|
173
|
-
* [vector store](https://
|
|
173
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
174
174
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
175
175
|
* the thread.
|
|
176
176
|
*/
|
|
@@ -185,8 +185,9 @@ export interface ThreadDeleted {
|
|
|
185
185
|
}
|
|
186
186
|
export interface ThreadCreateParams {
|
|
187
187
|
/**
|
|
188
|
-
* A list of
|
|
189
|
-
*
|
|
188
|
+
* A list of
|
|
189
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
190
|
+
* the thread with.
|
|
190
191
|
*/
|
|
191
192
|
messages?: Array<ThreadCreateParams.Message>;
|
|
192
193
|
/**
|
|
@@ -268,23 +269,23 @@ export declare namespace ThreadCreateParams {
|
|
|
268
269
|
namespace ToolResources {
|
|
269
270
|
interface CodeInterpreter {
|
|
270
271
|
/**
|
|
271
|
-
* A list of [file](https://
|
|
272
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
273
|
-
* associated with the tool.
|
|
272
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
273
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
274
|
+
* files associated with the tool.
|
|
274
275
|
*/
|
|
275
276
|
file_ids?: Array<string>;
|
|
276
277
|
}
|
|
277
278
|
interface FileSearch {
|
|
278
279
|
/**
|
|
279
280
|
* The
|
|
280
|
-
* [vector store](https://
|
|
281
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
281
282
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
282
283
|
* the thread.
|
|
283
284
|
*/
|
|
284
285
|
vector_store_ids?: Array<string>;
|
|
285
286
|
/**
|
|
286
287
|
* A helper to create a
|
|
287
|
-
* [vector store](https://
|
|
288
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
288
289
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
289
290
|
* store attached to the thread.
|
|
290
291
|
*/
|
|
@@ -298,10 +299,10 @@ export declare namespace ThreadCreateParams {
|
|
|
298
299
|
*/
|
|
299
300
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
300
301
|
/**
|
|
301
|
-
* A list of [file](https://
|
|
302
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
303
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
304
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
302
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
303
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
304
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
305
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
305
306
|
*/
|
|
306
307
|
file_ids?: Array<string>;
|
|
307
308
|
/**
|
|
@@ -383,16 +384,16 @@ export declare namespace ThreadUpdateParams {
|
|
|
383
384
|
namespace ToolResources {
|
|
384
385
|
interface CodeInterpreter {
|
|
385
386
|
/**
|
|
386
|
-
* A list of [file](https://
|
|
387
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
388
|
-
* associated with the tool.
|
|
387
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
388
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
389
|
+
* files associated with the tool.
|
|
389
390
|
*/
|
|
390
391
|
file_ids?: Array<string>;
|
|
391
392
|
}
|
|
392
393
|
interface FileSearch {
|
|
393
394
|
/**
|
|
394
395
|
* The
|
|
395
|
-
* [vector store](https://
|
|
396
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
396
397
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
397
398
|
* the thread.
|
|
398
399
|
*/
|
|
@@ -404,8 +405,8 @@ export type ThreadCreateAndRunParams = ThreadCreateAndRunParamsNonStreaming | Th
|
|
|
404
405
|
export interface ThreadCreateAndRunParamsBase {
|
|
405
406
|
/**
|
|
406
407
|
* The ID of the
|
|
407
|
-
* [assistant](https://
|
|
408
|
-
* execute this run.
|
|
408
|
+
* [assistant](https://developers.openai.com/api/docs/assistants/migration) to use
|
|
409
|
+
* to execute this run.
|
|
409
410
|
*/
|
|
410
411
|
assistant_id: string;
|
|
411
412
|
/**
|
|
@@ -439,28 +440,29 @@ export interface ThreadCreateAndRunParamsBase {
|
|
|
439
440
|
*/
|
|
440
441
|
metadata?: Shared.Metadata | null;
|
|
441
442
|
/**
|
|
442
|
-
* The ID of the
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
* assistant
|
|
443
|
+
* The ID of the
|
|
444
|
+
* [Model](https://developers.openai.com/api/reference/resources/models) to be used
|
|
445
|
+
* to execute this run. If a value is provided here, it will override the model
|
|
446
|
+
* associated with the assistant. If not, the model associated with the assistant
|
|
447
|
+
* will be used.
|
|
446
448
|
*/
|
|
447
449
|
model?: (string & {}) | Shared.ChatModel | null;
|
|
448
450
|
/**
|
|
449
451
|
* Whether to enable
|
|
450
|
-
* [parallel function calling](https://
|
|
452
|
+
* [parallel function calling](https://developers.openai.com/api/docs/guides/function-calling#parallel-function-calling)
|
|
451
453
|
* during tool use.
|
|
452
454
|
*/
|
|
453
455
|
parallel_tool_calls?: boolean;
|
|
454
456
|
/**
|
|
455
457
|
* Specifies the format that the model must output. Compatible with
|
|
456
|
-
* [GPT-4o](https://
|
|
457
|
-
* [GPT-4 Turbo](https://
|
|
458
|
-
*
|
|
458
|
+
* [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
|
|
459
|
+
* [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
|
|
460
|
+
* all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
|
|
459
461
|
*
|
|
460
462
|
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
|
461
463
|
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
|
462
464
|
* in the
|
|
463
|
-
* [Structured Outputs guide](https://
|
|
465
|
+
* [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
|
|
464
466
|
*
|
|
465
467
|
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
|
|
466
468
|
* message the model generates is valid JSON.
|
|
@@ -534,8 +536,9 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
534
536
|
*/
|
|
535
537
|
interface Thread {
|
|
536
538
|
/**
|
|
537
|
-
* A list of
|
|
538
|
-
*
|
|
539
|
+
* A list of
|
|
540
|
+
* [messages](https://developers.openai.com/api/docs/assistants/migration) to start
|
|
541
|
+
* the thread with.
|
|
539
542
|
*/
|
|
540
543
|
messages?: Array<Thread.Message>;
|
|
541
544
|
/**
|
|
@@ -617,23 +620,23 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
617
620
|
namespace ToolResources {
|
|
618
621
|
interface CodeInterpreter {
|
|
619
622
|
/**
|
|
620
|
-
* A list of [file](https://
|
|
621
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
622
|
-
* associated with the tool.
|
|
623
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
624
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
625
|
+
* files associated with the tool.
|
|
623
626
|
*/
|
|
624
627
|
file_ids?: Array<string>;
|
|
625
628
|
}
|
|
626
629
|
interface FileSearch {
|
|
627
630
|
/**
|
|
628
631
|
* The
|
|
629
|
-
* [vector store](https://
|
|
632
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
630
633
|
* attached to this thread. There can be a maximum of 1 vector store attached to
|
|
631
634
|
* the thread.
|
|
632
635
|
*/
|
|
633
636
|
vector_store_ids?: Array<string>;
|
|
634
637
|
/**
|
|
635
638
|
* A helper to create a
|
|
636
|
-
* [vector store](https://
|
|
639
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
637
640
|
* with file_ids and attach it to this thread. There can be a maximum of 1 vector
|
|
638
641
|
* store attached to the thread.
|
|
639
642
|
*/
|
|
@@ -647,10 +650,10 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
647
650
|
*/
|
|
648
651
|
chunking_strategy?: VectorStore.Auto | VectorStore.Static;
|
|
649
652
|
/**
|
|
650
|
-
* A list of [file](https://
|
|
651
|
-
* add to the vector store. For vector stores created before Nov 2025, there
|
|
652
|
-
* a maximum of 10,000 files in a vector store. For vector stores created
|
|
653
|
-
* in Nov 2025, the limit is 100,000,000 files.
|
|
653
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
654
|
+
* IDs to add to the vector store. For vector stores created before Nov 2025, there
|
|
655
|
+
* can be a maximum of 10,000 files in a vector store. For vector stores created
|
|
656
|
+
* starting in Nov 2025, the limit is 100,000,000 files.
|
|
654
657
|
*/
|
|
655
658
|
file_ids?: Array<string>;
|
|
656
659
|
/**
|
|
@@ -713,16 +716,16 @@ export declare namespace ThreadCreateAndRunParams {
|
|
|
713
716
|
namespace ToolResources {
|
|
714
717
|
interface CodeInterpreter {
|
|
715
718
|
/**
|
|
716
|
-
* A list of [file](https://
|
|
717
|
-
* available to the `code_interpreter` tool. There can be a maximum of 20
|
|
718
|
-
* associated with the tool.
|
|
719
|
+
* A list of [file](https://developers.openai.com/api/reference/resources/files)
|
|
720
|
+
* IDs made available to the `code_interpreter` tool. There can be a maximum of 20
|
|
721
|
+
* files associated with the tool.
|
|
719
722
|
*/
|
|
720
723
|
file_ids?: Array<string>;
|
|
721
724
|
}
|
|
722
725
|
interface FileSearch {
|
|
723
726
|
/**
|
|
724
727
|
* The ID of the
|
|
725
|
-
* [vector store](https://
|
|
728
|
+
* [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
|
|
726
729
|
* attached to this assistant. There can be a maximum of 1 vector store attached to
|
|
727
730
|
* the assistant.
|
|
728
731
|
*/
|