@sap-ai-sdk/foundation-models 0.1.1-20240919013044.0 → 0.1.1-20240919140828.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 +127 -2
- package/dist/azure-openai/azure-openai-chat-client.d.ts +3 -3
- package/dist/azure-openai/azure-openai-chat-client.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-client.js +1 -1
- package/dist/azure-openai/azure-openai-chat-client.js.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts +5 -5
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.js +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.d.ts +2 -2
- package/dist/azure-openai/azure-openai-embedding-client.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.js +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.js.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.d.ts +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.js +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-types.d.ts +59 -0
- package/dist/azure-openai/azure-openai-embedding-types.d.ts.map +1 -0
- package/dist/azure-openai/azure-openai-embedding-types.js +2 -0
- package/dist/azure-openai/azure-openai-embedding-types.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-response-format.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/audio-response-format.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-response-format.js +7 -0
- package/dist/azure-openai/client/inference/schema/audio-response-format.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-response.d.ts +10 -0
- package/dist/azure-openai/client/inference/schema/audio-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-response.js +7 -0
- package/dist/azure-openai/client/inference/schema/audio-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-segment.d.ts +46 -0
- package/dist/azure-openai/client/inference/schema/audio-segment.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-segment.js +7 -0
- package/dist/azure-openai/client/inference/schema/audio-segment.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-verbose-response.d.ts +21 -0
- package/dist/azure-openai/client/inference/schema/audio-verbose-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/audio-verbose-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/audio-verbose-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.d.ts +12 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-parameters.d.ts +46 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-parameters.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-parameters.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-parameters.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.d.ts +30 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.js +7 -0
- package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.d.ts +12 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-parameters.d.ts +54 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-parameters.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-parameters.js +2 -0
- package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-parameters.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.d.ts +30 -0
- package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.js +7 -0
- package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-query-type.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/azure-search-query-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/azure-search-query-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/azure-search-query-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call.d.ts +14 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-call.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts +16 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-function.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call.d.ts +25 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts +16 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts +20 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts +16 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts +21 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts +20 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-request-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts +21 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-message.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.d.ts +35 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts +20 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completion-tool.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts +56 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.js +7 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-request-common.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts +27 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js +2 -0
- package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/citation.d.ts +26 -0
- package/dist/azure-openai/client/inference/schema/citation.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/citation.js +7 -0
- package/dist/azure-openai/client/inference/schema/citation.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/completion-usage.d.ts +18 -0
- package/dist/azure-openai/client/inference/schema/completion-usage.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/completion-usage.js +7 -0
- package/dist/azure-openai/client/inference/schema/completion-usage.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-choice-results.d.ts +12 -0
- package/dist/azure-openai/client/inference/schema/content-filter-choice-results.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-choice-results.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-choice-results.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-result.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-result.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-result.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-result.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-with-citation-result.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-with-citation-result.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-with-citation-result.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-detected-with-citation-result.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-prompt-results.d.ts +9 -0
- package/dist/azure-openai/client/inference/schema/content-filter-prompt-results.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-prompt-results.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-prompt-results.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-result-base.d.ts +7 -0
- package/dist/azure-openai/client/inference/schema/content-filter-result-base.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-result-base.js +7 -0
- package/dist/azure-openai/client/inference/schema/content-filter-result-base.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-results-base.d.ts +15 -0
- package/dist/azure-openai/client/inference/schema/content-filter-results-base.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-results-base.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-results-base.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-severity-result.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/content-filter-severity-result.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/content-filter-severity-result.js +2 -0
- package/dist/azure-openai/client/inference/schema/content-filter-severity-result.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts +74 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-request.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts +18 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-chat-completion-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-transcription-request.d.ts +25 -0
- package/dist/azure-openai/client/inference/schema/create-transcription-request.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-transcription-request.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-transcription-request.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-translation-request.d.ts +21 -0
- package/dist/azure-openai/client/inference/schema/create-translation-request.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/create-translation-request.js +2 -0
- package/dist/azure-openai/client/inference/schema/create-translation-request.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-content-filter-results.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/dalle-content-filter-results.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-content-filter-results.js +2 -0
- package/dist/azure-openai/client/inference/schema/dalle-content-filter-results.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-error-response.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/dalle-error-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-error-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/dalle-error-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-error.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/dalle-error.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-error.js +2 -0
- package/dist/azure-openai/client/inference/schema/dalle-error.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-filter-results.d.ts +10 -0
- package/dist/azure-openai/client/inference/schema/dalle-filter-results.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-filter-results.js +2 -0
- package/dist/azure-openai/client/inference/schema/dalle-filter-results.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-inner-error.d.ts +14 -0
- package/dist/azure-openai/client/inference/schema/dalle-inner-error.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/dalle-inner-error.js +2 -0
- package/dist/azure-openai/client/inference/schema/dalle-inner-error.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/error-base.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/error-base.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/error-base.js +7 -0
- package/dist/azure-openai/client/inference/schema/error-base.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/error-response.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/error-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/error-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/error-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/error.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/error.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/error.js +2 -0
- package/dist/azure-openai/client/inference/schema/error.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/generate-images-response.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/generate-images-response.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/generate-images-response.js +2 -0
- package/dist/azure-openai/client/inference/schema/generate-images-response.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-detail-level.js +7 -0
- package/dist/azure-openai/client/inference/schema/image-detail-level.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-generations-request.d.ts +34 -0
- package/dist/azure-openai/client/inference/schema/image-generations-request.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-generations-request.js +2 -0
- package/dist/azure-openai/client/inference/schema/image-generations-request.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-quality.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/image-quality.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-quality.js +7 -0
- package/dist/azure-openai/client/inference/schema/image-quality.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-result.d.ts +23 -0
- package/dist/azure-openai/client/inference/schema/image-result.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-result.js +2 -0
- package/dist/azure-openai/client/inference/schema/image-result.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-size.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/image-size.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-size.js +7 -0
- package/dist/azure-openai/client/inference/schema/image-size.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-style.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/image-style.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/image-style.js +7 -0
- package/dist/azure-openai/client/inference/schema/image-style.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/images-response-format.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/images-response-format.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/images-response-format.js +7 -0
- package/dist/azure-openai/client/inference/schema/images-response-format.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/index.d.ts +87 -0
- package/dist/azure-openai/client/inference/schema/index.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/index.js +92 -0
- package/dist/azure-openai/client/inference/schema/index.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/inner-error-code.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/inner-error-code.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/inner-error-code.js +7 -0
- package/dist/azure-openai/client/inference/schema/inner-error-code.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/inner-error.d.ts +10 -0
- package/dist/azure-openai/client/inference/schema/inner-error.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/inner-error.js +2 -0
- package/dist/azure-openai/client/inference/schema/inner-error.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-options.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-options.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.d.ts +14 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.d.ts +17 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.d.ts +8 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.d.ts +13 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source.d.ts +11 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source.js +2 -0
- package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-result.d.ts +9 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-result.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-result.js +2 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-result.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-results.d.ts +6 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-results.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-results.js +2 -0
- package/dist/azure-openai/client/inference/schema/prompt-filter-results.js.map +1 -0
- package/dist/azure-openai/client/inference/schema/tool-call-type.d.ts +5 -0
- package/dist/azure-openai/client/inference/schema/tool-call-type.d.ts.map +1 -0
- package/dist/azure-openai/client/inference/schema/tool-call-type.js +7 -0
- package/dist/azure-openai/client/inference/schema/tool-call-type.js.map +1 -0
- package/dist/azure-openai/index.d.ts +1 -1
- package/dist/azure-openai/index.d.ts.map +1 -1
- package/dist/azure-openai/index.js +1 -1
- package/dist/azure-openai/index.js.map +1 -1
- package/dist/azure-openai/model-types.d.ts +4 -0
- package/dist/azure-openai/model-types.d.ts.map +1 -1
- package/dist/azure-openai/model-types.js +4 -1
- package/dist/azure-openai/model-types.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/azure-openai/azure-openai-types-schema.d.ts +0 -3087
- package/dist/azure-openai/azure-openai-types-schema.d.ts.map +0 -1
- package/dist/azure-openai/azure-openai-types-schema.js +0 -267
- package/dist/azure-openai/azure-openai-types-schema.js.map +0 -1
- package/dist/azure-openai/azure-openai-types.d.ts +0 -519
- package/dist/azure-openai/azure-openai-types.d.ts.map +0 -1
- package/dist/azure-openai/azure-openai-types.js +0 -2
- package/dist/azure-openai/azure-openai-types.js.map +0 -1
|
@@ -1,519 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Azure OpenAI system message.
|
|
3
|
-
*/
|
|
4
|
-
export interface AzureOpenAiChatSystemMessage {
|
|
5
|
-
/**
|
|
6
|
-
* The role of the messages author,.
|
|
7
|
-
*/
|
|
8
|
-
role: 'system';
|
|
9
|
-
/**
|
|
10
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
11
|
-
*/
|
|
12
|
-
name?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The contents of the system message.
|
|
15
|
-
*/
|
|
16
|
-
content: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Azure OpenAI user message.
|
|
20
|
-
*/
|
|
21
|
-
export interface AzureOpenAiChatUserMessage {
|
|
22
|
-
/**
|
|
23
|
-
* The role of the messages author,.
|
|
24
|
-
*/
|
|
25
|
-
role: 'user';
|
|
26
|
-
/**
|
|
27
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The contents of the user message.
|
|
32
|
-
*/
|
|
33
|
-
content: string | ({
|
|
34
|
-
/**
|
|
35
|
-
* The type of the content part.
|
|
36
|
-
*/
|
|
37
|
-
type: 'text';
|
|
38
|
-
/**
|
|
39
|
-
* The text content.
|
|
40
|
-
*/
|
|
41
|
-
text: string;
|
|
42
|
-
} | {
|
|
43
|
-
/**
|
|
44
|
-
* The type of the content part.
|
|
45
|
-
*/
|
|
46
|
-
type: 'image_url';
|
|
47
|
-
image_url: string | {
|
|
48
|
-
/**
|
|
49
|
-
* Either a URL of the image or the base64 encoded image data.
|
|
50
|
-
*/
|
|
51
|
-
url: string;
|
|
52
|
-
/**
|
|
53
|
-
* Specifies the detail level of the image.
|
|
54
|
-
* @default auto
|
|
55
|
-
*/
|
|
56
|
-
detail?: 'auto' | 'low' | 'high';
|
|
57
|
-
};
|
|
58
|
-
})[];
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Azure OpenAI assistant message.
|
|
62
|
-
*/
|
|
63
|
-
export interface AzureOpenAiChatAssistantMessage {
|
|
64
|
-
/**
|
|
65
|
-
* The role of the messages author,.
|
|
66
|
-
*/
|
|
67
|
-
role: 'assistant';
|
|
68
|
-
/**
|
|
69
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
70
|
-
*/
|
|
71
|
-
name?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Message content.
|
|
74
|
-
*/
|
|
75
|
-
content?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Function which is called.
|
|
78
|
-
* @deprecated In favor of `tool_calls`.
|
|
79
|
-
*/
|
|
80
|
-
function_call?: AzureOpenAiChatFunctionCall;
|
|
81
|
-
/**
|
|
82
|
-
* The tool calls generated by the model, such as function calls.
|
|
83
|
-
*/
|
|
84
|
-
tool_calls?: AzureOpenAiChatToolCall[];
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Azure OpenAI tool message.
|
|
88
|
-
*/
|
|
89
|
-
export interface AzureOpenAiChatToolMessage {
|
|
90
|
-
/**
|
|
91
|
-
* The role of the messages author,.
|
|
92
|
-
*/
|
|
93
|
-
role: 'tool';
|
|
94
|
-
/**
|
|
95
|
-
* The contents of the tool message.
|
|
96
|
-
*/
|
|
97
|
-
content: string;
|
|
98
|
-
/**
|
|
99
|
-
* Tool call that this message is responding to.
|
|
100
|
-
*/
|
|
101
|
-
tool_call_id: string;
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Azure OpenAI function message.
|
|
105
|
-
*/
|
|
106
|
-
export interface AzureOpenAiChatFunctionMessage {
|
|
107
|
-
/**
|
|
108
|
-
* The role of the messages author,.
|
|
109
|
-
*/
|
|
110
|
-
role: 'function';
|
|
111
|
-
/**
|
|
112
|
-
* The contents of the function message.
|
|
113
|
-
*/
|
|
114
|
-
content: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* The name of the function to call.
|
|
117
|
-
*/
|
|
118
|
-
name: string;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Azure OpenAI chat message types.
|
|
122
|
-
*/
|
|
123
|
-
export type AzureOpenAiChatMessage = AzureOpenAiChatSystemMessage | AzureOpenAiChatUserMessage | AzureOpenAiChatAssistantMessage | AzureOpenAiChatToolMessage | AzureOpenAiChatFunctionMessage;
|
|
124
|
-
/**
|
|
125
|
-
* Azure OpenAI function signature.
|
|
126
|
-
*/
|
|
127
|
-
export interface AzureOpenAiChatCompletionFunction {
|
|
128
|
-
/**
|
|
129
|
-
* 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.
|
|
130
|
-
*/
|
|
131
|
-
name: string;
|
|
132
|
-
/**
|
|
133
|
-
* Description of the function.
|
|
134
|
-
*/
|
|
135
|
-
description?: string;
|
|
136
|
-
/**
|
|
137
|
-
* JSON Schema for the function input parameters.
|
|
138
|
-
*
|
|
139
|
-
* **Note**: As mentioned in {@link https://community.openai.com/t/whitch-json-schema-version-should-function-calling-use/283535/4}, it follows JSON Schema 7 (2020-12).
|
|
140
|
-
* Not all JSON Schema parameters in the specification are supported by Azure OpenAI.
|
|
141
|
-
*/
|
|
142
|
-
parameters: Record<string, unknown>;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Azure OpenAI tool signature.
|
|
146
|
-
*/
|
|
147
|
-
export interface AzureOpenAiChatCompletionTool {
|
|
148
|
-
/**
|
|
149
|
-
* The type of the tool.
|
|
150
|
-
*/
|
|
151
|
-
type: 'function';
|
|
152
|
-
/**
|
|
153
|
-
* Function signature.
|
|
154
|
-
*/
|
|
155
|
-
function: AzureOpenAiChatCompletionFunction;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Azure OpenAI function call by AI.
|
|
159
|
-
*/
|
|
160
|
-
export interface AzureOpenAiChatFunctionCall {
|
|
161
|
-
/**
|
|
162
|
-
* Name of the function call.
|
|
163
|
-
*/
|
|
164
|
-
name: string;
|
|
165
|
-
/**
|
|
166
|
-
* 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.
|
|
167
|
-
*/
|
|
168
|
-
arguments: string;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Azure OpenAI tool call by AI.
|
|
172
|
-
*/
|
|
173
|
-
export interface AzureOpenAiChatToolCall {
|
|
174
|
-
/**
|
|
175
|
-
* The ID of the tool call.
|
|
176
|
-
*/
|
|
177
|
-
id: string;
|
|
178
|
-
/**
|
|
179
|
-
* The type of the tool.
|
|
180
|
-
*/
|
|
181
|
-
type: 'function';
|
|
182
|
-
/**
|
|
183
|
-
* The function that the model called.
|
|
184
|
-
*/
|
|
185
|
-
function: AzureOpenAiChatFunctionCall;
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Azure OpenAI completion input parameters.
|
|
189
|
-
*/
|
|
190
|
-
export interface AzureOpenAiCompletionParameters {
|
|
191
|
-
/**
|
|
192
|
-
* The maximum number of [tokens](/tokenizer) that can be generated in the completion. The token count of your prompt plus max_tokens can't exceed the model's context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096).
|
|
193
|
-
*/
|
|
194
|
-
max_tokens?: number;
|
|
195
|
-
/**
|
|
196
|
-
* What sampling temperature to use, between 0 and 2. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (`argmax sampling`) for ones with a well-defined answer. We generally recommend altering this or top_p but not both.
|
|
197
|
-
*/
|
|
198
|
-
temperature?: number;
|
|
199
|
-
/**
|
|
200
|
-
* An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both.
|
|
201
|
-
*/
|
|
202
|
-
top_p?: number;
|
|
203
|
-
/**
|
|
204
|
-
* Modify the likelihood of specified tokens appearing in the completion. Accepts a json object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this tokenizer tool (which works for both GPT-2 and GPT-3) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token. As an example, you can pass {"50256": -100} to prevent the <|endoftext|> token from being generated.
|
|
205
|
-
*/
|
|
206
|
-
logit_bias?: Record<string, unknown>;
|
|
207
|
-
/**
|
|
208
|
-
* A unique identifier representing your end-user, which can help monitoring and detecting abuse.
|
|
209
|
-
*/
|
|
210
|
-
user?: string;
|
|
211
|
-
/**
|
|
212
|
-
* How many completions to generate for each prompt. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.
|
|
213
|
-
*/
|
|
214
|
-
n?: number;
|
|
215
|
-
/**
|
|
216
|
-
* Up to four sequences where the API will stop generating further tokens. The returned text won't contain the stop sequence.
|
|
217
|
-
*/
|
|
218
|
-
stop?: string | string[];
|
|
219
|
-
/**
|
|
220
|
-
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
221
|
-
*/
|
|
222
|
-
presence_penalty?: number;
|
|
223
|
-
/**
|
|
224
|
-
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
225
|
-
*/
|
|
226
|
-
frequency_penalty?: number;
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Azure OpenAI chat completion input parameters.
|
|
230
|
-
*/
|
|
231
|
-
export interface AzureOpenAiChatCompletionParameters extends AzureOpenAiCompletionParameters {
|
|
232
|
-
/**
|
|
233
|
-
* An array of system, user & assistant messages for chat completion.
|
|
234
|
-
*/
|
|
235
|
-
messages: AzureOpenAiChatMessage[];
|
|
236
|
-
/**
|
|
237
|
-
* An object specifying the format that the model must output. Setting to { "type": "json_object" } enables JSON mode, which guarantees the message the model generates is valid JSON.
|
|
238
|
-
*
|
|
239
|
-
* **Important**: when using JSON mode, you *must* also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length.
|
|
240
|
-
*/
|
|
241
|
-
response_format?: {
|
|
242
|
-
/**
|
|
243
|
-
* Type of response format.
|
|
244
|
-
* @default text
|
|
245
|
-
*/
|
|
246
|
-
type: 'text' | 'json_object';
|
|
247
|
-
};
|
|
248
|
-
/**
|
|
249
|
-
* If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result. Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.
|
|
250
|
-
*/
|
|
251
|
-
seed?: number;
|
|
252
|
-
/**
|
|
253
|
-
* Array of function signatures to be called.
|
|
254
|
-
* @deprecated Use `tools` instead.
|
|
255
|
-
*/
|
|
256
|
-
functions?: AzureOpenAiChatCompletionFunction[];
|
|
257
|
-
/**
|
|
258
|
-
* A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
|
|
259
|
-
*/
|
|
260
|
-
tools?: AzureOpenAiChatCompletionTool[];
|
|
261
|
-
/**
|
|
262
|
-
* Controls which (if any) function is called by the model.
|
|
263
|
-
*
|
|
264
|
-
* - `none` means the model will not call a function and instead generates a message.
|
|
265
|
-
* - `auto` means the model can pick between generating a message or calling a function.
|
|
266
|
-
* - Specifying a particular function via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that function.
|
|
267
|
-
*/
|
|
268
|
-
tool_choice?: 'none' | 'auto' | {
|
|
269
|
-
/**
|
|
270
|
-
* The type of the tool.
|
|
271
|
-
*/
|
|
272
|
-
type: 'function';
|
|
273
|
-
/**
|
|
274
|
-
* Use to force the model to call a specific function.
|
|
275
|
-
*/
|
|
276
|
-
function: {
|
|
277
|
-
/**
|
|
278
|
-
* The name of the function to call.
|
|
279
|
-
*/
|
|
280
|
-
name: string;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* Azure OpenAI embedding input parameters.
|
|
286
|
-
*/
|
|
287
|
-
export interface AzureOpenAiEmbeddingParameters {
|
|
288
|
-
/**
|
|
289
|
-
* Input text to get embeddings for, encoded as a string. The number of input tokens varies depending on what model you are using. Unless you're embedding code, we suggest replacing newlines (\n) in your input with a single space, as we have observed inferior results when newlines are present.
|
|
290
|
-
*/
|
|
291
|
-
input: string[] | string;
|
|
292
|
-
/**
|
|
293
|
-
* A unique identifier representing for your end-user. This will help Azure OpenAI monitor and detect abuse. Do not pass PII identifiers instead use pseudoanonymized values such as GUIDs.
|
|
294
|
-
*/
|
|
295
|
-
user?: string;
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Usage statistics for the completion request.
|
|
299
|
-
*/
|
|
300
|
-
export interface AzureOpenAiUsage {
|
|
301
|
-
/**
|
|
302
|
-
* Tokens consumed for output text completion.
|
|
303
|
-
*/
|
|
304
|
-
completion_tokens: number;
|
|
305
|
-
/**
|
|
306
|
-
* Tokens consumed for input prompt tokens.
|
|
307
|
-
*/
|
|
308
|
-
prompt_tokens: number;
|
|
309
|
-
/**
|
|
310
|
-
* Total tokens consumed for input + output.
|
|
311
|
-
*/
|
|
312
|
-
total_tokens: number;
|
|
313
|
-
}
|
|
314
|
-
/**
|
|
315
|
-
* Azure OpenAI completion output .
|
|
316
|
-
*/
|
|
317
|
-
export interface AzureOpenAiCompletionOutput {
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
created: number;
|
|
322
|
-
/**
|
|
323
|
-
* Unique ID for completion.
|
|
324
|
-
*/
|
|
325
|
-
id: string;
|
|
326
|
-
/**
|
|
327
|
-
* Name of the model used for completion.
|
|
328
|
-
*/
|
|
329
|
-
model: string;
|
|
330
|
-
/**
|
|
331
|
-
* Completion object.
|
|
332
|
-
*/
|
|
333
|
-
object: 'chat.completion' | 'text_completion';
|
|
334
|
-
/**
|
|
335
|
-
* Token usage.
|
|
336
|
-
*/
|
|
337
|
-
usage: AzureOpenAiUsage;
|
|
338
|
-
/**
|
|
339
|
-
* Content filtering results for zero or more prompts in the request.
|
|
340
|
-
*/
|
|
341
|
-
prompt_filter_results?: AzureOpenAiPromptFilterResult[];
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Azure OpenAI chat completion output.
|
|
345
|
-
*/
|
|
346
|
-
export interface AzureOpenAiChatCompletionOutput extends AzureOpenAiCompletionOutput {
|
|
347
|
-
/**
|
|
348
|
-
* Array of result candidates.
|
|
349
|
-
*/
|
|
350
|
-
choices: AzureOpenAiChatCompletionChoice[];
|
|
351
|
-
/**
|
|
352
|
-
* This fingerprint represents the backend configuration that the model runs with.
|
|
353
|
-
* Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.
|
|
354
|
-
*/
|
|
355
|
-
system_fingerprint: string | null;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Content filtering results for a single prompt in the request.
|
|
359
|
-
*/
|
|
360
|
-
export interface AzureOpenAiPromptFilterResult {
|
|
361
|
-
/**
|
|
362
|
-
* Index of the prompt in the request.
|
|
363
|
-
*/
|
|
364
|
-
prompt_index?: number;
|
|
365
|
-
/**
|
|
366
|
-
* Information about the content filtering category, if it has been detected, as well as the severity level and if it has been filtered or not.
|
|
367
|
-
*/
|
|
368
|
-
content_filter_results?: AzureOpenAiContentFilterPromptResults;
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* Azure OpenAI completion choice.
|
|
372
|
-
*/
|
|
373
|
-
export interface AzureOpenAiCompletionChoice {
|
|
374
|
-
/**
|
|
375
|
-
* Reason for finish.
|
|
376
|
-
*/
|
|
377
|
-
finish_reason?: string;
|
|
378
|
-
/**
|
|
379
|
-
* Index of choice.
|
|
380
|
-
*/
|
|
381
|
-
index: number;
|
|
382
|
-
/**
|
|
383
|
-
* Information about the content filtering category, if it has been detected, as well as the severity level and if it has been filtered or not.
|
|
384
|
-
*/
|
|
385
|
-
content_filter_results?: AzureOpenAiContentFilterPromptResults;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Azure OpenAI chat completion choice.
|
|
389
|
-
*/
|
|
390
|
-
export interface AzureOpenAiChatCompletionChoice extends AzureOpenAiCompletionChoice {
|
|
391
|
-
/**
|
|
392
|
-
* Completion chat message.
|
|
393
|
-
*/
|
|
394
|
-
message: AzureOpenAiChatAssistantMessage;
|
|
395
|
-
}
|
|
396
|
-
/**
|
|
397
|
-
* Information about the content filtering results.
|
|
398
|
-
*/
|
|
399
|
-
export interface AzureOpenAiContentFilterResultsBase {
|
|
400
|
-
/**
|
|
401
|
-
* Sexual content filter result.
|
|
402
|
-
*/
|
|
403
|
-
sexual?: AzureOpenAiContentFilterSeverityResult;
|
|
404
|
-
/**
|
|
405
|
-
* Violent content filter result.
|
|
406
|
-
*/
|
|
407
|
-
violence?: AzureOpenAiContentFilterSeverityResult;
|
|
408
|
-
/**
|
|
409
|
-
* Hate speech content filter result.
|
|
410
|
-
*/
|
|
411
|
-
hate?: AzureOpenAiContentFilterSeverityResult;
|
|
412
|
-
/**
|
|
413
|
-
* Intolerant content filter result.
|
|
414
|
-
*/
|
|
415
|
-
self_harm?: AzureOpenAiContentFilterSeverityResult;
|
|
416
|
-
/**
|
|
417
|
-
* Profanity content filter result.
|
|
418
|
-
*/
|
|
419
|
-
profanity?: AzureOpenAiContentFilterDetectedResult;
|
|
420
|
-
/**
|
|
421
|
-
* Error.
|
|
422
|
-
*/
|
|
423
|
-
error?: AzureOpenAiErrorBase;
|
|
424
|
-
}
|
|
425
|
-
/**
|
|
426
|
-
* Content filtering results for a prompt in the request.
|
|
427
|
-
*/
|
|
428
|
-
export interface AzureOpenAiContentFilterPromptResults extends AzureOpenAiContentFilterResultsBase {
|
|
429
|
-
/**
|
|
430
|
-
*
|
|
431
|
-
*/
|
|
432
|
-
jailbreak?: AzureOpenAiContentFilterDetectedResult;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* Azure OpenAI content filter result.
|
|
436
|
-
*/
|
|
437
|
-
export interface AzureOpenAiContentFilterResultBase {
|
|
438
|
-
/**
|
|
439
|
-
* Whether the content was filtered.
|
|
440
|
-
*/
|
|
441
|
-
filtered: boolean;
|
|
442
|
-
}
|
|
443
|
-
/**
|
|
444
|
-
* Azure OpenAI content filter detected result.
|
|
445
|
-
*/
|
|
446
|
-
export interface AzureOpenAiContentFilterDetectedResult extends AzureOpenAiContentFilterResultBase {
|
|
447
|
-
/**
|
|
448
|
-
* Whether the content was detected.
|
|
449
|
-
*/
|
|
450
|
-
detected: boolean;
|
|
451
|
-
}
|
|
452
|
-
/**
|
|
453
|
-
* Azure OpenAI error.
|
|
454
|
-
*/
|
|
455
|
-
export interface AzureOpenAiErrorBase {
|
|
456
|
-
/**
|
|
457
|
-
* Error code.
|
|
458
|
-
*/
|
|
459
|
-
code?: string;
|
|
460
|
-
/**
|
|
461
|
-
* Error message.
|
|
462
|
-
*/
|
|
463
|
-
message?: string;
|
|
464
|
-
}
|
|
465
|
-
/**
|
|
466
|
-
* Information about the content filtering results.
|
|
467
|
-
*/
|
|
468
|
-
export interface AzureOpenAiContentFilterSeverityResult extends AzureOpenAiContentFilterResultBase {
|
|
469
|
-
/**
|
|
470
|
-
* Severity of the content.
|
|
471
|
-
*/
|
|
472
|
-
severity: 'safe' | 'low' | 'medium' | 'high';
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
* Azure OpenAI embedding output.
|
|
476
|
-
*/
|
|
477
|
-
export interface AzureOpenAiEmbeddingOutput {
|
|
478
|
-
/**
|
|
479
|
-
* List object.
|
|
480
|
-
*/
|
|
481
|
-
object: 'list';
|
|
482
|
-
/**
|
|
483
|
-
* Model used for embedding.
|
|
484
|
-
*/
|
|
485
|
-
model: string;
|
|
486
|
-
/**
|
|
487
|
-
* Array of result candidates.
|
|
488
|
-
*/
|
|
489
|
-
data: [
|
|
490
|
-
{
|
|
491
|
-
/**
|
|
492
|
-
* Embedding object.
|
|
493
|
-
*/
|
|
494
|
-
object: 'embedding';
|
|
495
|
-
/**
|
|
496
|
-
* Array of size `1536` (Azure OpenAI's embedding size) containing embedding vector.
|
|
497
|
-
*/
|
|
498
|
-
embedding: number[];
|
|
499
|
-
/**
|
|
500
|
-
* Index of choice.
|
|
501
|
-
*/
|
|
502
|
-
index: number;
|
|
503
|
-
}
|
|
504
|
-
];
|
|
505
|
-
/**
|
|
506
|
-
* Token Usage.
|
|
507
|
-
*/
|
|
508
|
-
usage: {
|
|
509
|
-
/**
|
|
510
|
-
* Tokens consumed for input prompt tokens.
|
|
511
|
-
*/
|
|
512
|
-
prompt_tokens: number;
|
|
513
|
-
/**
|
|
514
|
-
* Total tokens consumed.
|
|
515
|
-
*/
|
|
516
|
-
total_tokens: number;
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
//# sourceMappingURL=azure-openai-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-types.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EACH,MAAM,GACN,CACI;QACE;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,GACD;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AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE;QACJ;YACE;;eAEG;YACH,MAAM,EAAE,WAAW,CAAC;YACpB;;eAEG;YACH,SAAS,EAAE,MAAM,EAAE,CAAC;YACpB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;SACf;KACF,CAAC;IACF;;OAEG;IACH,KAAK,EAAE;QACL;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QACtB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-types.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-types.ts"],"names":[],"mappings":""}
|