@sap-ai-sdk/prompt-registry 2.3.1-20251223013357.0 → 2.4.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/dist/client/prompt-registry/index.d.ts +1 -0
- package/dist/client/prompt-registry/index.d.ts.map +1 -1
- package/dist/client/prompt-registry/index.js +1 -0
- package/dist/client/prompt-registry/index.js.map +1 -1
- package/dist/client/prompt-registry/orchestration-configs-api.d.ts +89 -0
- package/dist/client/prompt-registry/orchestration-configs-api.d.ts.map +1 -0
- package/dist/client/prompt-registry/orchestration-configs-api.js +90 -0
- package/dist/client/prompt-registry/orchestration-configs-api.js.map +1 -0
- package/dist/client/prompt-registry/prompt-templates-api.d.ts +42 -6
- package/dist/client/prompt-registry/prompt-templates-api.d.ts.map +1 -1
- package/dist/client/prompt-registry/prompt-templates-api.js +36 -18
- package/dist/client/prompt-registry/prompt-templates-api.js.map +1 -1
- package/dist/client/prompt-registry/schema/assistant-chat-message.d.ts +12 -0
- package/dist/client/prompt-registry/schema/assistant-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/assistant-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/assistant-chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.d.ts +13 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.js +2 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input.d.ts +15 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input.js +2 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-input.js.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.d.ts +13 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.js +2 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output.d.ts +15 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output.js +2 -0
- package/dist/client/prompt-registry/schema/azure-content-safety-output.js.map +1 -0
- package/dist/client/prompt-registry/schema/azure-threshold.d.ts +5 -0
- package/dist/client/prompt-registry/schema/azure-threshold.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/azure-threshold.js +7 -0
- package/dist/client/prompt-registry/schema/azure-threshold.js.map +1 -0
- package/dist/client/prompt-registry/schema/chat-message-content.d.ts +6 -0
- package/dist/client/prompt-registry/schema/chat-message-content.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/chat-message-content.js +2 -0
- package/dist/client/prompt-registry/schema/chat-message-content.js.map +1 -0
- package/dist/client/prompt-registry/schema/chat-message.d.ts +10 -0
- package/dist/client/prompt-registry/schema/chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/data-repository-type.d.ts +5 -0
- package/dist/client/prompt-registry/schema/data-repository-type.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/data-repository-type.js +7 -0
- package/dist/client/prompt-registry/schema/data-repository-type.js.map +1 -0
- package/dist/client/prompt-registry/schema/developer-chat-message.d.ts +9 -0
- package/dist/client/prompt-registry/schema/developer-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/developer-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/developer-chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/document-grounding-filter.d.ts +33 -0
- package/dist/client/prompt-registry/schema/document-grounding-filter.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/document-grounding-filter.js +2 -0
- package/dist/client/prompt-registry/schema/document-grounding-filter.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-config.d.ts +34 -0
- package/dist/client/prompt-registry/schema/dpi-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-config.js +2 -0
- package/dist/client/prompt-registry/schema/dpi-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-custom-entity.d.ts +15 -0
- package/dist/client/prompt-registry/schema/dpi-custom-entity.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-custom-entity.js +2 -0
- package/dist/client/prompt-registry/schema/dpi-custom-entity.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-entities.d.ts +5 -0
- package/dist/client/prompt-registry/schema/dpi-entities.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-entities.js +7 -0
- package/dist/client/prompt-registry/schema/dpi-entities.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-entity-config.d.ts +7 -0
- package/dist/client/prompt-registry/schema/dpi-entity-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-entity-config.js +2 -0
- package/dist/client/prompt-registry/schema/dpi-entity-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-method-constant.d.ts +12 -0
- package/dist/client/prompt-registry/schema/dpi-method-constant.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-method-constant.js +7 -0
- package/dist/client/prompt-registry/schema/dpi-method-constant.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.d.ts +7 -0
- package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.js +7 -0
- package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.js.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-standard-entity.d.ts +14 -0
- package/dist/client/prompt-registry/schema/dpi-standard-entity.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/dpi-standard-entity.js +2 -0
- package/dist/client/prompt-registry/schema/dpi-standard-entity.js.map +1 -0
- package/dist/client/prompt-registry/schema/filtering-module-config.d.ts +16 -0
- package/dist/client/prompt-registry/schema/filtering-module-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/filtering-module-config.js +2 -0
- package/dist/client/prompt-registry/schema/filtering-module-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/filtering-stream-options.d.ts +11 -0
- package/dist/client/prompt-registry/schema/filtering-stream-options.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/filtering-stream-options.js +7 -0
- package/dist/client/prompt-registry/schema/filtering-stream-options.js.map +1 -0
- package/dist/client/prompt-registry/schema/global-stream-options.d.ts +28 -0
- package/dist/client/prompt-registry/schema/global-stream-options.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/global-stream-options.js +7 -0
- package/dist/client/prompt-registry/schema/global-stream-options.js.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-filter-id.d.ts +5 -0
- package/dist/client/prompt-registry/schema/grounding-filter-id.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-filter-id.js +7 -0
- package/dist/client/prompt-registry/schema/grounding-filter-id.js.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.d.ts +14 -0
- package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.js +7 -0
- package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.js.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-module-config.d.ts +36 -0
- package/dist/client/prompt-registry/schema/grounding-module-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/grounding-module-config.js +2 -0
- package/dist/client/prompt-registry/schema/grounding-module-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/image-content-url.d.ts +11 -0
- package/dist/client/prompt-registry/schema/image-content-url.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/image-content-url.js +7 -0
- package/dist/client/prompt-registry/schema/image-content-url.js.map +1 -0
- package/dist/client/prompt-registry/schema/index.d.ts +65 -1
- package/dist/client/prompt-registry/schema/index.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/index.js +65 -1
- package/dist/client/prompt-registry/schema/index.js.map +1 -1
- package/dist/client/prompt-registry/schema/input-filter-config.d.ts +7 -0
- package/dist/client/prompt-registry/schema/input-filter-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/input-filter-config.js +2 -0
- package/dist/client/prompt-registry/schema/input-filter-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/input-filtering-config.d.ts +12 -0
- package/dist/client/prompt-registry/schema/input-filtering-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/input-filtering-config.js +2 -0
- package/dist/client/prompt-registry/schema/input-filtering-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/key-value-list-pair.d.ts +11 -0
- package/dist/client/prompt-registry/schema/key-value-list-pair.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/key-value-list-pair.js +7 -0
- package/dist/client/prompt-registry/schema/key-value-list-pair.js.map +1 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.d.ts +13 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.js +2 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b.d.ts +20 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b.js +7 -0
- package/dist/client/prompt-registry/schema/llama-guard-38-b.js.map +1 -0
- package/dist/client/prompt-registry/schema/llm-model-details.d.ts +44 -0
- package/dist/client/prompt-registry/schema/llm-model-details.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/llm-model-details.js +7 -0
- package/dist/client/prompt-registry/schema/llm-model-details.js.map +1 -0
- package/dist/client/prompt-registry/schema/masking-module-config.d.ts +19 -0
- package/dist/client/prompt-registry/schema/masking-module-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/masking-module-config.js +2 -0
- package/dist/client/prompt-registry/schema/masking-module-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/masking-provider-config.d.ts +6 -0
- package/dist/client/prompt-registry/schema/masking-provider-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/masking-provider-config.js +2 -0
- package/dist/client/prompt-registry/schema/masking-provider-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/message-tool-call.d.ts +27 -0
- package/dist/client/prompt-registry/schema/message-tool-call.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/message-tool-call.js +7 -0
- package/dist/client/prompt-registry/schema/message-tool-call.js.map +1 -0
- package/dist/client/prompt-registry/schema/message-tool-calls.d.ts +6 -0
- package/dist/client/prompt-registry/schema/message-tool-calls.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/message-tool-calls.js +2 -0
- package/dist/client/prompt-registry/schema/message-tool-calls.js.map +1 -0
- package/dist/client/prompt-registry/schema/module-configs.d.ts +16 -0
- package/dist/client/prompt-registry/schema/module-configs.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/module-configs.js +2 -0
- package/dist/client/prompt-registry/schema/module-configs.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-delete-response.d.ts +7 -0
- package/dist/client/prompt-registry/schema/orchestration-config-delete-response.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-delete-response.js +7 -0
- package/dist/client/prompt-registry/schema/orchestration-config-delete-response.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-get-response.d.ts +22 -0
- package/dist/client/prompt-registry/schema/orchestration-config-get-response.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-get-response.js +2 -0
- package/dist/client/prompt-registry/schema/orchestration-config-get-response.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-list-response.d.ts +9 -0
- package/dist/client/prompt-registry/schema/orchestration-config-list-response.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-list-response.js +2 -0
- package/dist/client/prompt-registry/schema/orchestration-config-list-response.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-request.d.ts +23 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-request.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-request.js +2 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-request.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-response.d.ts +14 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-response.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-response.js +7 -0
- package/dist/client/prompt-registry/schema/orchestration-config-post-response.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-resource.d.ts +22 -0
- package/dist/client/prompt-registry/schema/orchestration-config-resource.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config-resource.js +2 -0
- package/dist/client/prompt-registry/schema/orchestration-config-resource.js.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config.d.ts +10 -0
- package/dist/client/prompt-registry/schema/orchestration-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/orchestration-config.js +2 -0
- package/dist/client/prompt-registry/schema/orchestration-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/output-filter-config.d.ts +7 -0
- package/dist/client/prompt-registry/schema/output-filter-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/output-filter-config.js +2 -0
- package/dist/client/prompt-registry/schema/output-filter-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/output-filtering-config.d.ts +14 -0
- package/dist/client/prompt-registry/schema/output-filtering-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/output-filtering-config.js +2 -0
- package/dist/client/prompt-registry/schema/output-filtering-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/prompt-template-get-response.d.ts +1 -0
- package/dist/client/prompt-registry/schema/prompt-template-get-response.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/prompt-template-post-request.d.ts +3 -0
- package/dist/client/prompt-registry/schema/prompt-template-post-request.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/prompt-template-spec.d.ts +2 -2
- package/dist/client/prompt-registry/schema/prompt-template-spec.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/prompt-template-substitution-response.d.ts +2 -2
- package/dist/client/prompt-registry/schema/prompt-template-substitution-response.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/prompt-template.d.ts +7 -0
- package/dist/client/prompt-registry/schema/prompt-template.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/prompt-template.js +2 -0
- package/dist/client/prompt-registry/schema/prompt-template.js.map +1 -0
- package/dist/client/prompt-registry/schema/prompt-templating-module-config.d.ts +15 -0
- package/dist/client/prompt-registry/schema/prompt-templating-module-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/prompt-templating-module-config.js +2 -0
- package/dist/client/prompt-registry/schema/prompt-templating-module-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.d.ts +15 -0
- package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.js +2 -0
- package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.js.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.d.ts +24 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.js +7 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.js.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-input.d.ts +36 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-input.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-input.js +2 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-input.js.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.d.ts +6 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.js +2 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.js.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output.d.ts +20 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output.js +2 -0
- package/dist/client/prompt-registry/schema/sap-document-translation-output.js.map +1 -0
- package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.d.ts +16 -0
- package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.js +2 -0
- package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.js.map +1 -0
- package/dist/client/prompt-registry/schema/search-select-option-enum.d.ts +5 -0
- package/dist/client/prompt-registry/schema/search-select-option-enum.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/search-select-option-enum.js +7 -0
- package/dist/client/prompt-registry/schema/search-select-option-enum.js.map +1 -0
- package/dist/client/prompt-registry/schema/system-chat-message.d.ts +9 -0
- package/dist/client/prompt-registry/schema/system-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/system-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/system-chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref-by-id.d.ts +17 -0
- package/dist/client/prompt-registry/schema/template-ref-by-id.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref-by-id.js +7 -0
- package/dist/client/prompt-registry/schema/template-ref-by-id.js.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts +27 -0
- package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.js +7 -0
- package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.js.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref.d.ts +12 -0
- package/dist/client/prompt-registry/schema/template-ref.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/template-ref.js +2 -0
- package/dist/client/prompt-registry/schema/template-ref.js.map +1 -0
- package/dist/client/prompt-registry/schema/template.d.ts +36 -3
- package/dist/client/prompt-registry/schema/template.d.ts.map +1 -1
- package/dist/client/prompt-registry/schema/templating-chat-message.d.ts +7 -0
- package/dist/client/prompt-registry/schema/templating-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/templating-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/templating-chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/tool-chat-message.d.ts +13 -0
- package/dist/client/prompt-registry/schema/tool-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/tool-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/tool-chat-message.js.map +1 -0
- package/dist/client/prompt-registry/schema/translation-module-config.d.ts +16 -0
- package/dist/client/prompt-registry/schema/translation-module-config.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/translation-module-config.js +2 -0
- package/dist/client/prompt-registry/schema/translation-module-config.js.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content-item.d.ts +10 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content-item.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content-item.js +2 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content-item.js.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content.d.ts +6 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content.js +2 -0
- package/dist/client/prompt-registry/schema/user-chat-message-content.js.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message.d.ts +9 -0
- package/dist/client/prompt-registry/schema/user-chat-message.d.ts.map +1 -0
- package/dist/client/prompt-registry/schema/user-chat-message.js +2 -0
- package/dist/client/prompt-registry/schema/user-chat-message.js.map +1 -0
- package/dist/zod/prompt-registry.zod.d.ts +2011 -10
- package/dist/zod/prompt-registry.zod.d.ts.map +1 -1
- package/dist/zod/prompt-registry.zod.js +1764 -728
- package/dist/zod/prompt-registry.zod.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'TemplateRefByScenarioNameVersion' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type TemplateRefByScenarioNameVersion = {
|
|
5
|
+
/**
|
|
6
|
+
* Scenario name
|
|
7
|
+
* @example "some-scenario"
|
|
8
|
+
*/
|
|
9
|
+
scenario: string;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the template
|
|
12
|
+
* @example "some-template-name"
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Version of the template
|
|
17
|
+
* @example "some version, can be `latest`"
|
|
18
|
+
*/
|
|
19
|
+
version: string;
|
|
20
|
+
/**
|
|
21
|
+
* Defines the scope that is searched for the referenced template. 'tenant' indicates the template is shared across all resource groups within the tenant, while 'resource_group' indicates the template is only accessible within the specific resource group.
|
|
22
|
+
*
|
|
23
|
+
* Default: "tenant".
|
|
24
|
+
*/
|
|
25
|
+
scope?: 'resource_group' | 'tenant';
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=template-ref-by-scenario-name-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-ref-by-scenario-name-version.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref-by-scenario-name-version.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,gBAAgB,GAAG,QAAQ,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-ref-by-scenario-name-version.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref-by-scenario-name-version.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TemplateRefByID } from './template-ref-by-id.js';
|
|
2
|
+
import type { TemplateRefByScenarioNameVersion } from './template-ref-by-scenario-name-version.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'TemplateRef' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type TemplateRef = {
|
|
7
|
+
/**
|
|
8
|
+
* Reference to a template in the prompt registry by ID or by scenario, name and version
|
|
9
|
+
*/
|
|
10
|
+
template_ref: TemplateRefByID | TemplateRefByScenarioNameVersion;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=template-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-ref.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AACnG;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,EAAE,eAAe,GAAG,gCAAgC,CAAC;CAClE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-ref.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { TemplatingChatMessage } from './templating-chat-message.js';
|
|
2
|
+
import type { ResponseFormatText } from './response-format-text.js';
|
|
3
|
+
import type { ResponseFormatJsonObject } from './response-format-json-object.js';
|
|
4
|
+
import type { ResponseFormatJsonSchema } from './response-format-json-schema.js';
|
|
5
|
+
import type { ChatCompletionTool } from './chat-completion-tool.js';
|
|
3
6
|
/**
|
|
4
7
|
* Representation of the 'Template' schema.
|
|
8
|
+
* @example {
|
|
9
|
+
* "template": [
|
|
10
|
+
* {
|
|
11
|
+
* "role": "user",
|
|
12
|
+
* "content": "How can the features of AI in SAP BTP specifically {{'{{?groundingOutput}}'}}, be applied to {{'{{?inputContext}}'}}"
|
|
13
|
+
* }
|
|
14
|
+
* ],
|
|
15
|
+
* "defaults": {
|
|
16
|
+
* "inputContext": "The default text that will be used in the template if inputContext is not set"
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
5
19
|
*/
|
|
6
|
-
export type Template =
|
|
20
|
+
export type Template = {
|
|
21
|
+
/**
|
|
22
|
+
* A chat message array to be formatted with values from placeholder_values. Both role and content can be templated. If messages_history is provided, the templated messages will be appended.
|
|
23
|
+
*/
|
|
24
|
+
template: TemplatingChatMessage;
|
|
25
|
+
/**
|
|
26
|
+
* Optional default values for the template. If a parameter has no default it is required.
|
|
27
|
+
*/
|
|
28
|
+
defaults?: Record<string, string>;
|
|
29
|
+
/**
|
|
30
|
+
* Response format that the model output should adhere to. This is the same as the OpenAI definition.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
response_format?: ResponseFormatText | ResponseFormatJsonObject | ResponseFormatJsonSchema;
|
|
34
|
+
/**
|
|
35
|
+
* A list of tools the model may call. Used to provide a list of functions the model may generate JSON inputs for. This is the same as the OpenAI definition.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
tools?: ChatCompletionTool[];
|
|
39
|
+
};
|
|
7
40
|
//# sourceMappingURL=template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,QAAQ,EAAE,qBAAqB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EACZ,kBAAkB,GAClB,wBAAwB,GACxB,wBAAwB,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templating-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/templating-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templating-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/templating-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ChatMessageContent } from './chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ToolChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ToolChatMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* @example "tool"
|
|
8
|
+
*/
|
|
9
|
+
role: 'tool';
|
|
10
|
+
tool_call_id: string;
|
|
11
|
+
content: ChatMessageContent;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=tool-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/tool-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/tool-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SAPDocumentTranslationInput } from './sap-document-translation-input.js';
|
|
2
|
+
import type { SAPDocumentTranslationOutput } from './sap-document-translation-output.js';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for translation module
|
|
5
|
+
*/
|
|
6
|
+
export type TranslationModuleConfig = {
|
|
7
|
+
/**
|
|
8
|
+
* Configuration for input translation
|
|
9
|
+
*/
|
|
10
|
+
input?: SAPDocumentTranslationInput;
|
|
11
|
+
/**
|
|
12
|
+
* Configuration for output translation
|
|
13
|
+
*/
|
|
14
|
+
output?: SAPDocumentTranslationOutput;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=translation-module-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/translation-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACzF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,2BAA2B,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-module-config.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/translation-module-config.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ImageContentUrl } from './image-content-url.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessageContentItem' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessageContentItem = {
|
|
6
|
+
type: 'text' | 'image_url';
|
|
7
|
+
text?: string;
|
|
8
|
+
image_url?: ImageContentUrl;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=user-chat-message-content-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content-item.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content-item.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content-item.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content-item.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UserChatMessageContentItem } from './user-chat-message-content-item.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessageContent' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessageContent = string | UserChatMessageContentItem[];
|
|
6
|
+
//# sourceMappingURL=user-chat-message-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { UserChatMessageContent } from './user-chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessage = {
|
|
6
|
+
content: UserChatMessageContent;
|
|
7
|
+
role: 'user';
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=user-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,sBAAsB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message.ts"],"names":[],"mappings":""}
|