@sap-ai-sdk/foundation-models 1.6.1-20250115013059.0 → 1.6.1-20250116013044.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/README.md +18 -0
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts +3 -3
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts +4 -4
- package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js +2 -5
- package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts +4 -4
- package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts +5 -4
- package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-stream.js +9 -5
- package/dist/azure-openai/azure-openai-chat-completion-stream.js.map +1 -1
- package/dist/azure-openai/client/inference/schema/audio-response-format.js +1 -1
- package/dist/azure-openai/client/inference/schema/audio-response.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/audio-response.js +1 -1
- package/dist/azure-openai/client/inference/schema/audio-segment.js +1 -1
- package/dist/azure-openai/client/inference/schema/audio-verbose-response.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts +3 -3
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts +3 -3
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.js +1 -1
- package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts +3 -3
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/azure-search-query-type.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts +4 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-functions.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-functions.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts +25 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts +2 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts +40 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts +19 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts +14 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts +14 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/{chat-completion-request-message-content-part-type.js → chat-completion-request-message-content-part-refusal.js} +2 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts +4 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts +2 -3
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts +2 -3
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts +6 -16
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts +19 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts +19 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts +20 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts +6 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts +12 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts +34 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.js +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts +6 -14
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts +5 -1
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.js +1 -1
- package/dist/azure-openai/client/inference/schema/citation.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/citation.js +1 -1
- package/dist/azure-openai/client/inference/schema/completion-usage.d.ts +9 -0
- package/dist/azure-openai/client/inference/schema/completion-usage.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/completion-usage.js +1 -1
- package/dist/azure-openai/client/inference/schema/content-filter-result-base.js +1 -1
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts +111 -27
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts +58 -8
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts +62 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts +134 -0
- package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-completion-request.js +7 -0
- package/dist/azure-openai/client/inference/schema/create-completion-request.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts +56 -0
- package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-completion-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-completion-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/error-base.js +1 -1
- package/dist/azure-openai/client/inference/schema/function-object.d.ts +20 -0
- package/dist/azure-openai/client/inference/schema/function-object.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/function-object.js +2 -0
- package/dist/azure-openai/client/inference/schema/function-object.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/function-parameters.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/function-parameters.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/function-parameters.js +7 -0
- package/dist/azure-openai/client/inference/schema/function-parameters.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/generate-images-response.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/image-quality.js +1 -1
- package/dist/azure-openai/client/inference/schema/image-result.d.ts +1 -1
- package/dist/azure-openai/client/inference/schema/image-size.js +1 -1
- package/dist/azure-openai/client/inference/schema/image-style.js +1 -1
- package/dist/azure-openai/client/inference/schema/images-response-format.js +1 -1
- package/dist/azure-openai/client/inference/schema/index.d.ts +26 -13
- package/dist/azure-openai/client/inference/schema/index.d.ts.map +1 -1
- package/dist/azure-openai/client/inference/schema/index.js +27 -14
- package/dist/azure-openai/client/inference/schema/index.js.map +1 -1
- package/dist/azure-openai/client/inference/schema/inner-error-code.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js +1 -1
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.js +1 -1
- package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js +7 -0
- package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts +10 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-object.js +7 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-object.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js +7 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts +26 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema.js +2 -0
- package/dist/azure-openai/client/inference/schema/response-format-json-schema.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-text.d.ts +10 -0
- package/dist/azure-openai/client/inference/schema/response-format-text.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/response-format-text.js +7 -0
- package/dist/azure-openai/client/inference/schema/response-format-text.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/tool-call-type.js +1 -1
- package/dist/azure-openai/model-types.d.ts +1 -1
- package/dist/azure-openai/model-types.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts +0 -16
- package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-function.js +0 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-function.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts +0 -19
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js +0 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts +0 -11
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js +0 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts +0 -12
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts +0 -10
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js +0 -2
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts +0 -5
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js +0 -7
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts +0 -27
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js +0 -2
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js.map +0 -1
- package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts +0 -6
- package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts.map +0 -1
- package/dist/azure-openai/client/inference/schema/image-detail-level.js +0 -7
- package/dist/azure-openai/client/inference/schema/image-detail-level.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-completion-request.d.ts","sourceRoot":"","sources":["../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CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-completion-request.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/create-completion-request.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { AzureOpenAiContentFilterChoiceResults } from './content-filter-choice-results.js';
|
|
2
|
+
import type { AzureOpenAiPromptFilterResults } from './prompt-filter-results.js';
|
|
3
|
+
import type { AzureOpenAiCompletionUsage } from './completion-usage.js';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type AzureOpenAiCreateCompletionResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* A unique identifier for the completion.
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* The list of completion choices the model generated for the input prompt.
|
|
15
|
+
*/
|
|
16
|
+
choices: ({
|
|
17
|
+
/**
|
|
18
|
+
* The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
|
|
19
|
+
* `length` if the maximum number of tokens specified in the request was reached,
|
|
20
|
+
* or `content_filter` if content was omitted due to a flag from our content filters.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
finish_reason: 'stop' | 'length' | 'content_filter';
|
|
24
|
+
index: number;
|
|
25
|
+
logprobs: ({
|
|
26
|
+
text_offset?: number[];
|
|
27
|
+
token_logprobs?: number[];
|
|
28
|
+
tokens?: string[];
|
|
29
|
+
top_logprobs?: Record<string, number>[];
|
|
30
|
+
} & Record<string, any>) | null;
|
|
31
|
+
text: string;
|
|
32
|
+
content_filter_results?: AzureOpenAiContentFilterChoiceResults;
|
|
33
|
+
} & Record<string, any>)[];
|
|
34
|
+
/**
|
|
35
|
+
* The Unix timestamp (in seconds) of when the completion was created.
|
|
36
|
+
*/
|
|
37
|
+
created: number;
|
|
38
|
+
/**
|
|
39
|
+
* The model used for completion.
|
|
40
|
+
*/
|
|
41
|
+
model: string;
|
|
42
|
+
prompt_filter_results?: AzureOpenAiPromptFilterResults;
|
|
43
|
+
/**
|
|
44
|
+
* This fingerprint represents the backend configuration that the model runs with.
|
|
45
|
+
*
|
|
46
|
+
* Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
system_fingerprint?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The object type, which is always "text_completion"
|
|
52
|
+
*/
|
|
53
|
+
object: 'text_completion';
|
|
54
|
+
usage?: AzureOpenAiCompletionUsage;
|
|
55
|
+
} & Record<string, any>;
|
|
56
|
+
//# sourceMappingURL=create-completion-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-completion-response.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/create-completion-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACxE;;;GAGG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,CAAC;QACR;;;;;WAKG;QACH,aAAa,EAAE,MAAM,GAAG,QAAQ,GAAG,gBAAgB,CAAC;QACpD,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EACJ,CAAC;YACC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;YACvB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;YAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;YAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;SACzC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,IAAI,CAAC;QACT,IAAI,EAAE,MAAM,CAAC;QACb,sBAAsB,CAAC,EAAE,qCAAqC,CAAC;KAChE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,CAAC,EAAE,8BAA8B,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,CAAC,EAAE,0BAA0B,CAAC;CACpC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-completion-response.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/create-completion-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AzureOpenAiFunctionParameters } from './function-parameters.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiFunctionObject' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiFunctionObject = {
|
|
6
|
+
/**
|
|
7
|
+
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
parameters?: AzureOpenAiFunctionParameters;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the [function calling guide](docs/guides/function-calling).
|
|
17
|
+
*/
|
|
18
|
+
strict?: boolean | null;
|
|
19
|
+
} & Record<string, any>;
|
|
20
|
+
//# sourceMappingURL=function-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-object.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/function-object.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAC9E;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,6BAA6B,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-object.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/function-object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the guide](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
3
|
+
*
|
|
4
|
+
* Omitting `parameters` defines a function with an empty parameter list.
|
|
5
|
+
*/
|
|
6
|
+
export type AzureOpenAiFunctionParameters = Record<string, any>;
|
|
7
|
+
//# sourceMappingURL=function-parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-parameters.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/function-parameters.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-parameters.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/function-parameters.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -18,20 +18,24 @@ export * from './prompt-filter-results.js';
|
|
|
18
18
|
export * from './dalle-content-filter-results.js';
|
|
19
19
|
export * from './dalle-filter-results.js';
|
|
20
20
|
export * from './chat-completions-request-common.js';
|
|
21
|
+
export * from './create-completion-request.js';
|
|
22
|
+
export * from './create-completion-response.js';
|
|
21
23
|
export * from './create-chat-completion-request.js';
|
|
22
|
-
export * from './chat-completion-
|
|
23
|
-
export * from './chat-completion-function.js';
|
|
24
|
-
export * from './chat-completion-function-parameters.js';
|
|
24
|
+
export * from './chat-completion-functions.js';
|
|
25
|
+
export * from './chat-completion-function-call-option.js';
|
|
25
26
|
export * from './chat-completion-request-message.js';
|
|
26
|
-
export * from './chat-completion-request-message
|
|
27
|
-
export * from './chat-completion-request-message
|
|
28
|
-
export * from './chat-completion-request-message
|
|
29
|
-
export * from './chat-completion-request-message
|
|
30
|
-
export * from './chat-completion-request-message
|
|
27
|
+
export * from './chat-completion-request-system-message.js';
|
|
28
|
+
export * from './chat-completion-request-user-message.js';
|
|
29
|
+
export * from './chat-completion-request-assistant-message.js';
|
|
30
|
+
export * from './chat-completion-request-tool-message.js';
|
|
31
|
+
export * from './chat-completion-request-function-message.js';
|
|
32
|
+
export * from './chat-completion-request-system-message-content-part.js';
|
|
33
|
+
export * from './chat-completion-request-user-message-content-part.js';
|
|
34
|
+
export * from './chat-completion-request-assistant-message-content-part.js';
|
|
35
|
+
export * from './chat-completion-request-tool-message-content-part.js';
|
|
31
36
|
export * from './chat-completion-request-message-content-part-text.js';
|
|
32
37
|
export * from './chat-completion-request-message-content-part-image.js';
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './chat-completion-request-message-assistant.js';
|
|
38
|
+
export * from './chat-completion-request-message-content-part-refusal.js';
|
|
35
39
|
export * from './azure-chat-extension-configuration.js';
|
|
36
40
|
export * from './azure-chat-extension-type.js';
|
|
37
41
|
export * from './azure-search-chat-extension-configuration.js';
|
|
@@ -58,18 +62,27 @@ export * from './tool-call-type.js';
|
|
|
58
62
|
export * from './chat-completion-request-message-tool.js';
|
|
59
63
|
export * from './chat-completion-request-message-function.js';
|
|
60
64
|
export * from './create-chat-completion-response.js';
|
|
65
|
+
export * from './create-chat-completion-stream-response.js';
|
|
66
|
+
export * from './chat-completion-stream-response-delta.js';
|
|
67
|
+
export * from './chat-completion-message-tool-call-chunk.js';
|
|
68
|
+
export * from './chat-completion-stream-options.js';
|
|
61
69
|
export * from './chat-completion-choice-log-probs.js';
|
|
62
70
|
export * from './chat-completion-token-logprob.js';
|
|
63
71
|
export * from './chat-completion-response-message.js';
|
|
64
72
|
export * from './chat-completion-response-message-role.js';
|
|
65
73
|
export * from './chat-completion-tool-choice-option.js';
|
|
66
74
|
export * from './chat-completion-named-tool-choice.js';
|
|
75
|
+
export * from './parallel-tool-calls.js';
|
|
76
|
+
export * from './chat-completion-message-tool-calls.js';
|
|
67
77
|
export * from './chat-completion-function-call.js';
|
|
68
|
-
export * from './chat-completions-response-common.js';
|
|
69
|
-
export * from './chat-completion-response-object.js';
|
|
70
78
|
export * from './completion-usage.js';
|
|
71
79
|
export * from './chat-completion-tool.js';
|
|
72
|
-
export * from './
|
|
80
|
+
export * from './function-parameters.js';
|
|
81
|
+
export * from './function-object.js';
|
|
82
|
+
export * from './response-format-text.js';
|
|
83
|
+
export * from './response-format-json-object.js';
|
|
84
|
+
export * from './response-format-json-schema-schema.js';
|
|
85
|
+
export * from './response-format-json-schema.js';
|
|
73
86
|
export * from './chat-completion-choice-common.js';
|
|
74
87
|
export * from './create-translation-request.js';
|
|
75
88
|
export * from './audio-response.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAA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,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
5
|
*/
|
|
@@ -23,20 +23,24 @@ export * from './prompt-filter-results.js';
|
|
|
23
23
|
export * from './dalle-content-filter-results.js';
|
|
24
24
|
export * from './dalle-filter-results.js';
|
|
25
25
|
export * from './chat-completions-request-common.js';
|
|
26
|
+
export * from './create-completion-request.js';
|
|
27
|
+
export * from './create-completion-response.js';
|
|
26
28
|
export * from './create-chat-completion-request.js';
|
|
27
|
-
export * from './chat-completion-
|
|
28
|
-
export * from './chat-completion-function.js';
|
|
29
|
-
export * from './chat-completion-function-parameters.js';
|
|
29
|
+
export * from './chat-completion-functions.js';
|
|
30
|
+
export * from './chat-completion-function-call-option.js';
|
|
30
31
|
export * from './chat-completion-request-message.js';
|
|
31
|
-
export * from './chat-completion-request-message
|
|
32
|
-
export * from './chat-completion-request-message
|
|
33
|
-
export * from './chat-completion-request-message
|
|
34
|
-
export * from './chat-completion-request-message
|
|
35
|
-
export * from './chat-completion-request-message
|
|
32
|
+
export * from './chat-completion-request-system-message.js';
|
|
33
|
+
export * from './chat-completion-request-user-message.js';
|
|
34
|
+
export * from './chat-completion-request-assistant-message.js';
|
|
35
|
+
export * from './chat-completion-request-tool-message.js';
|
|
36
|
+
export * from './chat-completion-request-function-message.js';
|
|
37
|
+
export * from './chat-completion-request-system-message-content-part.js';
|
|
38
|
+
export * from './chat-completion-request-user-message-content-part.js';
|
|
39
|
+
export * from './chat-completion-request-assistant-message-content-part.js';
|
|
40
|
+
export * from './chat-completion-request-tool-message-content-part.js';
|
|
36
41
|
export * from './chat-completion-request-message-content-part-text.js';
|
|
37
42
|
export * from './chat-completion-request-message-content-part-image.js';
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './chat-completion-request-message-assistant.js';
|
|
43
|
+
export * from './chat-completion-request-message-content-part-refusal.js';
|
|
40
44
|
export * from './azure-chat-extension-configuration.js';
|
|
41
45
|
export * from './azure-chat-extension-type.js';
|
|
42
46
|
export * from './azure-search-chat-extension-configuration.js';
|
|
@@ -63,18 +67,27 @@ export * from './tool-call-type.js';
|
|
|
63
67
|
export * from './chat-completion-request-message-tool.js';
|
|
64
68
|
export * from './chat-completion-request-message-function.js';
|
|
65
69
|
export * from './create-chat-completion-response.js';
|
|
70
|
+
export * from './create-chat-completion-stream-response.js';
|
|
71
|
+
export * from './chat-completion-stream-response-delta.js';
|
|
72
|
+
export * from './chat-completion-message-tool-call-chunk.js';
|
|
73
|
+
export * from './chat-completion-stream-options.js';
|
|
66
74
|
export * from './chat-completion-choice-log-probs.js';
|
|
67
75
|
export * from './chat-completion-token-logprob.js';
|
|
68
76
|
export * from './chat-completion-response-message.js';
|
|
69
77
|
export * from './chat-completion-response-message-role.js';
|
|
70
78
|
export * from './chat-completion-tool-choice-option.js';
|
|
71
79
|
export * from './chat-completion-named-tool-choice.js';
|
|
80
|
+
export * from './parallel-tool-calls.js';
|
|
81
|
+
export * from './chat-completion-message-tool-calls.js';
|
|
72
82
|
export * from './chat-completion-function-call.js';
|
|
73
|
-
export * from './chat-completions-response-common.js';
|
|
74
|
-
export * from './chat-completion-response-object.js';
|
|
75
83
|
export * from './completion-usage.js';
|
|
76
84
|
export * from './chat-completion-tool.js';
|
|
77
|
-
export * from './
|
|
85
|
+
export * from './function-parameters.js';
|
|
86
|
+
export * from './function-object.js';
|
|
87
|
+
export * from './response-format-text.js';
|
|
88
|
+
export * from './response-format-json-object.js';
|
|
89
|
+
export * from './response-format-json-schema-schema.js';
|
|
90
|
+
export * from './response-format-json-schema.js';
|
|
78
91
|
export * from './chat-completion-choice-common.js';
|
|
79
92
|
export * from './create-translation-request.js';
|
|
80
93
|
export * from './audio-response.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D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AC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parallel-tool-calls.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/parallel-tool-calls.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parallel-tool-calls.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/parallel-tool-calls.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'AzureOpenAiResponseFormatJsonObject' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type AzureOpenAiResponseFormatJsonObject = {
|
|
5
|
+
/**
|
|
6
|
+
* The type of response format being defined: `json_object`
|
|
7
|
+
*/
|
|
8
|
+
type: 'json_object';
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
//# sourceMappingURL=response-format-json-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-object.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-object.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-object.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-object.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema-schema.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-schema-schema.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema-schema.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-schema-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AzureOpenAiResponseFormatJsonSchemaSchema } from './response-format-json-schema-schema.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiResponseFormatJsonSchema' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiResponseFormatJsonSchema = {
|
|
6
|
+
/**
|
|
7
|
+
* The type of response format being defined: `json_schema`
|
|
8
|
+
*/
|
|
9
|
+
type: 'json_schema';
|
|
10
|
+
json_schema: {
|
|
11
|
+
/**
|
|
12
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
schema?: AzureOpenAiResponseFormatJsonSchemaSchema;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`.
|
|
22
|
+
*/
|
|
23
|
+
strict?: boolean | null;
|
|
24
|
+
} & Record<string, any>;
|
|
25
|
+
} & Record<string, any>;
|
|
26
|
+
//# sourceMappingURL=response-format-json-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-schema.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,yCAAyC,CAAC;AACzG;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE;QACX;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,yCAAyC,CAAC;QACnD;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-json-schema.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'AzureOpenAiResponseFormatText' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type AzureOpenAiResponseFormatText = {
|
|
5
|
+
/**
|
|
6
|
+
* The type of response format being defined: `text`
|
|
7
|
+
*/
|
|
8
|
+
type: 'text';
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
//# sourceMappingURL=response-format-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-text.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/response-format-text.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|