@sap-ai-sdk/foundation-models 1.6.1-20250115013059.0 → 1.6.1-20250117013046.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
package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestAssistantMessageContentPart } from './chat-completion-request-assistant-message-content-part.js';
|
|
2
|
+
import type { AzureOpenAiChatCompletionMessageToolCalls } from './chat-completion-message-tool-calls.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestAssistantMessage' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type AzureOpenAiChatCompletionRequestAssistantMessage = {
|
|
7
|
+
/**
|
|
8
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
content?: string | AzureOpenAiChatCompletionRequestAssistantMessageContentPart[] | null;
|
|
12
|
+
/**
|
|
13
|
+
* The refusal message by the assistant.
|
|
14
|
+
*/
|
|
15
|
+
refusal?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The role of the messages author, in this case `assistant`.
|
|
18
|
+
*/
|
|
19
|
+
role: 'assistant';
|
|
20
|
+
/**
|
|
21
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
tool_calls?: AzureOpenAiChatCompletionMessageToolCalls;
|
|
25
|
+
/**
|
|
26
|
+
* Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
|
|
27
|
+
* @deprecated
|
|
28
|
+
*/
|
|
29
|
+
function_call?: ({
|
|
30
|
+
/**
|
|
31
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
32
|
+
*/
|
|
33
|
+
arguments: string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the function to call.
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
} & Record<string, any>) | null;
|
|
39
|
+
} & Record<string, any>;
|
|
40
|
+
//# sourceMappingURL=chat-completion-request-assistant-message.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-assistant-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-assistant-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2DAA2D,EAAE,MAAM,6DAA6D,CAAC;AAC/I,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,yCAAyC,CAAC;AACzG;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D;;;OAGG;IACH,OAAO,CAAC,EACJ,MAAM,GACN,2DAA2D,EAAE,GAC7D,IAAI,CAAC;IACT;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,yCAAyC,CAAC;IACvD;;;OAGG;IACH,aAAa,CAAC,EACV,CAAC;QACC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,IAAI,CAAC;CACV,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-assistant-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-assistant-message.ts"],"names":[],"mappings":""}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestFunctionMessage' schema.
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestFunctionMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* The role of the messages author, in this case `function`.
|
|
8
|
+
*/
|
|
9
|
+
role: 'function';
|
|
10
|
+
/**
|
|
11
|
+
* The contents of the function message.
|
|
12
|
+
*/
|
|
13
|
+
content: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the function to call.
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
} & Record<string, any>;
|
|
19
|
+
//# sourceMappingURL=chat-completion-request-function-message.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-function-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-function-message.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-function-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-function-message.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import type { AzureOpenAiImageDetailLevel } from './image-detail-level.js';
|
|
2
1
|
/**
|
|
3
2
|
* Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartImage' schema.
|
|
4
3
|
*/
|
|
5
4
|
export type AzureOpenAiChatCompletionRequestMessageContentPartImage = {
|
|
6
|
-
type: string;
|
|
7
|
-
} & {
|
|
8
5
|
/**
|
|
9
|
-
*
|
|
10
|
-
* Format: "uri".
|
|
6
|
+
* The type of the content part.
|
|
11
7
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
type: 'image_url';
|
|
9
|
+
image_url: {
|
|
10
|
+
/**
|
|
11
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
12
|
+
* Format: "uri".
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the detail level of the image. Learn more in the [Vision guide](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/gpt-with-vision?tabs=rest%2Csystem-assigned%2Cresource#detail-parameter-settings-in-image-processing-low-high-auto).
|
|
17
|
+
* Default: "auto".
|
|
18
|
+
*/
|
|
19
|
+
detail?: 'auto' | 'low' | 'high';
|
|
20
|
+
} & Record<string, any>;
|
|
14
21
|
} & Record<string, any>;
|
|
15
22
|
//# sourceMappingURL=chat-completion-request-message-content-part-image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE;QACT;;;WAGG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;KAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-content-part-image.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-content-part-image.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartRefusal' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type AzureOpenAiChatCompletionRequestMessageContentPartRefusal = {
|
|
5
|
+
/**
|
|
6
|
+
* The type of the content part.
|
|
7
|
+
*/
|
|
8
|
+
type: 'refusal';
|
|
9
|
+
/**
|
|
10
|
+
* The refusal message generated by the model.
|
|
11
|
+
*/
|
|
12
|
+
refusal: string;
|
|
13
|
+
} & Record<string, any>;
|
|
14
|
+
//# sourceMappingURL=chat-completion-request-message-content-part-refusal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-content-part-refusal.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
*/
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=chat-completion-request-message-content-part-
|
|
7
|
+
//# sourceMappingURL=chat-completion-request-message-content-part-refusal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-content-part-refusal.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
* Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartText' schema.
|
|
3
3
|
*/
|
|
4
4
|
export type AzureOpenAiChatCompletionRequestMessageContentPartText = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The type of the content part.
|
|
7
|
+
*/
|
|
8
|
+
type: 'text';
|
|
7
9
|
/**
|
|
8
10
|
* The text content.
|
|
9
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestMessage } from './chat-completion-request-message.js';
|
|
1
2
|
/**
|
|
2
3
|
* Representation of the 'AzureOpenAiChatCompletionRequestMessageFunction' schema.
|
|
3
4
|
*/
|
|
4
|
-
export type AzureOpenAiChatCompletionRequestMessageFunction = {
|
|
5
|
-
role: string;
|
|
6
|
-
} & {
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestMessageFunction = AzureOpenAiChatCompletionRequestMessage & {
|
|
7
6
|
/**
|
|
8
7
|
* The role of the messages author, in this case `function`.
|
|
9
8
|
*/
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG;;GAEG;AACH,MAAM,MAAM,+CAA+C,GACzD,uCAAuC,GAAG;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestMessage } from './chat-completion-request-message.js';
|
|
1
2
|
/**
|
|
2
3
|
* Representation of the 'AzureOpenAiChatCompletionRequestMessageTool' schema.
|
|
3
4
|
*/
|
|
4
|
-
export type AzureOpenAiChatCompletionRequestMessageTool = {
|
|
5
|
-
role: string;
|
|
6
|
-
} & {
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestMessageTool = AzureOpenAiChatCompletionRequestMessage & {
|
|
7
6
|
/**
|
|
8
7
|
* Tool call that this message is responding to.
|
|
9
8
|
*/
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG;;GAEG;AACH,MAAM,MAAM,2CAA2C,GACrD,uCAAuC,GAAG;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestSystemMessage } from './chat-completion-request-system-message.js';
|
|
2
|
+
import type { AzureOpenAiChatCompletionRequestUserMessage } from './chat-completion-request-user-message.js';
|
|
3
|
+
import type { AzureOpenAiChatCompletionRequestAssistantMessage } from './chat-completion-request-assistant-message.js';
|
|
4
|
+
import type { AzureOpenAiChatCompletionRequestToolMessage } from './chat-completion-request-tool-message.js';
|
|
5
|
+
import type { AzureOpenAiChatCompletionRequestFunctionMessage } from './chat-completion-request-function-message.js';
|
|
6
6
|
/**
|
|
7
7
|
* Representation of the 'AzureOpenAiChatCompletionRequestMessage' schema.
|
|
8
8
|
*/
|
|
9
|
-
export type AzureOpenAiChatCompletionRequestMessage =
|
|
10
|
-
role: 'system';
|
|
11
|
-
} & AzureOpenAiChatCompletionRequestMessageSystem) | ({
|
|
12
|
-
role: 'user';
|
|
13
|
-
} & AzureOpenAiChatCompletionRequestMessageUser) | ({
|
|
14
|
-
role: 'assistant';
|
|
15
|
-
} & AzureOpenAiChatCompletionRequestMessageAssistant) | ({
|
|
16
|
-
role: 'tool';
|
|
17
|
-
} & AzureOpenAiChatCompletionRequestMessageTool) | ({
|
|
18
|
-
role: 'function';
|
|
19
|
-
} & AzureOpenAiChatCompletionRequestMessageFunction);
|
|
9
|
+
export type AzureOpenAiChatCompletionRequestMessage = AzureOpenAiChatCompletionRequestSystemMessage | AzureOpenAiChatCompletionRequestUserMessage | AzureOpenAiChatCompletionRequestAssistantMessage | AzureOpenAiChatCompletionRequestToolMessage | AzureOpenAiChatCompletionRequestFunctionMessage;
|
|
20
10
|
//# sourceMappingURL=chat-completion-request-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-request-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AACvH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,+CAA+C,CAAC;AACrH;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAC/C,
|
|
1
|
+
{"version":3,"file":"chat-completion-request-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AACvH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,+CAA+C,CAAC;AACrH;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAC/C,6CAA6C,GAC7C,2CAA2C,GAC3C,gDAAgD,GAChD,2CAA2C,GAC3C,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestSystemMessageContentPart' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestSystemMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText;
|
|
6
|
+
//# sourceMappingURL=chat-completion-request-system-message-content-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-system-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,wDAAwD,GAClE,sDAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-system-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestSystemMessageContentPart } from './chat-completion-request-system-message-content-part.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestSystemMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestSystemMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* The contents of the system message.
|
|
8
|
+
*/
|
|
9
|
+
content: string | AzureOpenAiChatCompletionRequestSystemMessageContentPart[];
|
|
10
|
+
/**
|
|
11
|
+
* The role of the messages author, in this case `system`.
|
|
12
|
+
*/
|
|
13
|
+
role: 'system';
|
|
14
|
+
/**
|
|
15
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
} & Record<string, any>;
|
|
19
|
+
//# sourceMappingURL=chat-completion-request-system-message.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-system-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wDAAwD,EAAE,MAAM,0DAA0D,CAAC;AACzI;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,wDAAwD,EAAE,CAAC;IAC7E;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-system-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestToolMessageContentPart' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestToolMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText;
|
|
6
|
+
//# sourceMappingURL=chat-completion-request-tool-message-content-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-tool-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAChE,sDAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-tool-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestToolMessageContentPart } from './chat-completion-request-tool-message-content-part.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestToolMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestToolMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* The role of the messages author, in this case `tool`.
|
|
8
|
+
*/
|
|
9
|
+
role: 'tool';
|
|
10
|
+
/**
|
|
11
|
+
* The contents of the tool message.
|
|
12
|
+
*/
|
|
13
|
+
content: string | AzureOpenAiChatCompletionRequestToolMessageContentPart[];
|
|
14
|
+
/**
|
|
15
|
+
* Tool call that this message is responding to.
|
|
16
|
+
*/
|
|
17
|
+
tool_call_id: string;
|
|
18
|
+
} & Record<string, any>;
|
|
19
|
+
//# sourceMappingURL=chat-completion-request-tool-message.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-tool-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,sDAAsD,EAAE,CAAC;IAC3E;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-tool-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
|
|
2
|
+
import type { AzureOpenAiChatCompletionRequestMessageContentPartImage } from './chat-completion-request-message-content-part-image.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestUserMessageContentPart' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type AzureOpenAiChatCompletionRequestUserMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText | AzureOpenAiChatCompletionRequestMessageContentPartImage;
|
|
7
|
+
//# sourceMappingURL=chat-completion-request-user-message-content-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-user-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI,OAAO,KAAK,EAAE,uDAAuD,EAAE,MAAM,yDAAyD,CAAC;AACvI;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAC9D,sDAAsD,GACtD,uDAAuD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-user-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionRequestUserMessageContentPart } from './chat-completion-request-user-message-content-part.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'AzureOpenAiChatCompletionRequestUserMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionRequestUserMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* The contents of the user message.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
content: string | AzureOpenAiChatCompletionRequestUserMessageContentPart[];
|
|
11
|
+
/**
|
|
12
|
+
* The role of the messages author, in this case `user`.
|
|
13
|
+
*/
|
|
14
|
+
role: 'user';
|
|
15
|
+
/**
|
|
16
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
} & Record<string, any>;
|
|
20
|
+
//# sourceMappingURL=chat-completion-request-user-message.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-user-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;OAGG;IACH,OAAO,EAAE,MAAM,GAAG,sDAAsD,EAAE,CAAC;IAC3E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-request-user-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message.ts"],"names":[],"mappings":""}
|
|
@@ -6,11 +6,15 @@ import type { AzureOpenAiAzureChatExtensionsMessageContext } from './azure-chat-
|
|
|
6
6
|
* A chat completion message generated by the model.
|
|
7
7
|
*/
|
|
8
8
|
export type AzureOpenAiChatCompletionResponseMessage = {
|
|
9
|
-
role
|
|
9
|
+
role: AzureOpenAiChatCompletionResponseMessageRole;
|
|
10
|
+
/**
|
|
11
|
+
* The refusal message generated by the model.
|
|
12
|
+
*/
|
|
13
|
+
refusal: string | null;
|
|
10
14
|
/**
|
|
11
15
|
* The contents of the message.
|
|
12
16
|
*/
|
|
13
|
-
content
|
|
17
|
+
content: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* The tool calls generated by the model, such as function calls.
|
|
16
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-completion-response-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,
|
|
1
|
+
{"version":3,"file":"chat-completion-response-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,4CAA4C,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,wCAAwC,EAAE,CAAC;IACxD,aAAa,CAAC,EAAE,qCAAqC,CAAC;IACtD,OAAO,CAAC,EAAE,4CAA4C,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for streaming response. Only set this when you set `stream: true`.
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionStreamOptions = ({
|
|
6
|
+
/**
|
|
7
|
+
* If set, an additional chunk will be streamed before the `data: [DONE]` message. The `usage` field on this chunk shows the token usage statistics for the entire request, and the `choices` field will always be an empty array. All other chunks will also include a `usage` field, but with a null value.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
include_usage?: boolean;
|
|
11
|
+
} & Record<string, any>) | null;
|
|
12
|
+
//# sourceMappingURL=chat-completion-stream-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-stream-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-options.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,sCAAsC,GAC9C,CAAC;IACC;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-stream-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AzureOpenAiChatCompletionMessageToolCallChunk } from './chat-completion-message-tool-call-chunk.js';
|
|
2
|
+
/**
|
|
3
|
+
* A chat completion delta generated by streamed model responses.
|
|
4
|
+
*/
|
|
5
|
+
export type AzureOpenAiChatCompletionStreamResponseDelta = {
|
|
6
|
+
/**
|
|
7
|
+
* The contents of the chunk message.
|
|
8
|
+
*/
|
|
9
|
+
content?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
|
|
12
|
+
* @deprecated
|
|
13
|
+
*/
|
|
14
|
+
function_call?: {
|
|
15
|
+
/**
|
|
16
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
17
|
+
*/
|
|
18
|
+
arguments?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The name of the function to call.
|
|
21
|
+
*/
|
|
22
|
+
name?: string;
|
|
23
|
+
} & Record<string, any>;
|
|
24
|
+
tool_calls?: AzureOpenAiChatCompletionMessageToolCallChunk[];
|
|
25
|
+
/**
|
|
26
|
+
* The role of the author of this message.
|
|
27
|
+
*/
|
|
28
|
+
role?: 'system' | 'user' | 'assistant' | 'tool';
|
|
29
|
+
/**
|
|
30
|
+
* The refusal message generated by the model.
|
|
31
|
+
*/
|
|
32
|
+
refusal?: string | null;
|
|
33
|
+
} & Record<string, any>;
|
|
34
|
+
//# sourceMappingURL=chat-completion-stream-response-delta.d.ts.map
|
package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-stream-response-delta.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-response-delta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,8CAA8C,CAAC;AAClH;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;OAGG;IACH,aAAa,CAAC,EAAE;QACd;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,6CAA6C,EAAE,CAAC;IAC7D;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-stream-response-delta.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-response-delta.ts"],"names":[],"mappings":""}
|