@sap-ai-sdk/orchestration 1.15.1-20250630013254.0 → 1.15.1-20250701013320.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/api/schema/azure-content-safety-input-filter-config.d.ts +13 -0
- package/dist/client/api/schema/azure-content-safety-input-filter-config.d.ts.map +1 -0
- package/dist/client/api/schema/azure-content-safety-input-filter-config.js +2 -0
- package/dist/client/api/schema/azure-content-safety-input-filter-config.js.map +1 -0
- package/dist/client/api/schema/azure-content-safety-input.d.ts +15 -0
- package/dist/client/api/schema/azure-content-safety-input.d.ts.map +1 -0
- package/dist/client/api/schema/azure-content-safety-input.js +2 -0
- package/dist/client/api/schema/azure-content-safety-input.js.map +1 -0
- package/dist/client/api/schema/azure-content-safety-output-filter-config.d.ts +13 -0
- package/dist/client/api/schema/azure-content-safety-output-filter-config.d.ts.map +1 -0
- package/dist/client/api/schema/azure-content-safety-output-filter-config.js +2 -0
- package/dist/client/api/schema/azure-content-safety-output-filter-config.js.map +1 -0
- package/dist/client/api/schema/{azure-content-safety.d.ts → azure-content-safety-output.d.ts} +2 -2
- package/dist/client/api/schema/azure-content-safety-output.d.ts.map +1 -0
- package/dist/client/api/schema/azure-content-safety-output.js +2 -0
- package/dist/client/api/schema/azure-content-safety-output.js.map +1 -0
- package/dist/client/api/schema/chat-completion-token-logprob.d.ts +37 -0
- package/dist/client/api/schema/chat-completion-token-logprob.d.ts.map +1 -0
- package/dist/client/api/schema/chat-completion-token-logprob.js +7 -0
- package/dist/client/api/schema/chat-completion-token-logprob.js.map +1 -0
- package/dist/client/api/schema/choice-logprobs.d.ts +15 -0
- package/dist/client/api/schema/choice-logprobs.d.ts.map +1 -0
- package/dist/client/api/schema/choice-logprobs.js +2 -0
- package/dist/client/api/schema/choice-logprobs.js.map +1 -0
- package/dist/client/api/schema/completion-post-response-streaming.d.ts +2 -2
- package/dist/client/api/schema/completion-post-response-streaming.d.ts.map +1 -1
- package/dist/client/api/schema/dpi-custom-entity.d.ts +15 -0
- package/dist/client/api/schema/dpi-custom-entity.d.ts.map +1 -0
- package/dist/client/api/schema/dpi-custom-entity.js +2 -0
- package/dist/client/api/schema/dpi-custom-entity.js.map +1 -0
- package/dist/client/api/schema/dpi-entities.d.ts +1 -1
- package/dist/client/api/schema/dpi-entities.d.ts.map +1 -1
- package/dist/client/api/schema/dpi-entity-config.d.ts +3 -7
- package/dist/client/api/schema/dpi-entity-config.d.ts.map +1 -1
- package/dist/client/api/schema/dpi-method-constant.d.ts +12 -0
- package/dist/client/api/schema/dpi-method-constant.d.ts.map +1 -0
- package/dist/client/api/schema/dpi-method-constant.js +7 -0
- package/dist/client/api/schema/dpi-method-constant.js.map +1 -0
- package/dist/client/api/schema/dpi-method-fabricated-data.d.ts +7 -0
- package/dist/client/api/schema/dpi-method-fabricated-data.d.ts.map +1 -0
- package/dist/client/api/schema/dpi-method-fabricated-data.js +7 -0
- package/dist/client/api/schema/dpi-method-fabricated-data.js.map +1 -0
- package/dist/client/api/schema/dpi-standard-entity.d.ts +14 -0
- package/dist/client/api/schema/dpi-standard-entity.d.ts.map +1 -0
- package/dist/client/api/schema/dpi-standard-entity.js +2 -0
- package/dist/client/api/schema/dpi-standard-entity.js.map +1 -0
- package/dist/client/api/schema/embedding-result.d.ts +17 -0
- package/dist/client/api/schema/embedding-result.d.ts.map +1 -0
- package/dist/client/api/schema/embedding-result.js +2 -0
- package/dist/client/api/schema/embedding-result.js.map +1 -0
- package/dist/client/api/schema/embedding.d.ts +5 -0
- package/dist/client/api/schema/embedding.d.ts.map +1 -0
- package/dist/client/api/schema/embedding.js +7 -0
- package/dist/client/api/schema/embedding.js.map +1 -0
- package/dist/client/api/schema/embeddings-input-text.d.ts +9 -0
- package/dist/client/api/schema/embeddings-input-text.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-input-text.js +7 -0
- package/dist/client/api/schema/embeddings-input-text.js.map +1 -0
- package/dist/client/api/schema/embeddings-input.d.ts +9 -0
- package/dist/client/api/schema/embeddings-input.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-input.js +2 -0
- package/dist/client/api/schema/embeddings-input.js.map +1 -0
- package/dist/client/api/schema/embeddings-model-config.d.ts +8 -0
- package/dist/client/api/schema/embeddings-model-config.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-model-config.js +2 -0
- package/dist/client/api/schema/embeddings-model-config.js.map +1 -0
- package/dist/client/api/schema/embeddings-model-details.d.ts +13 -0
- package/dist/client/api/schema/embeddings-model-details.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-model-details.js +2 -0
- package/dist/client/api/schema/embeddings-model-details.js.map +1 -0
- package/dist/client/api/schema/embeddings-model-params.d.ts +17 -0
- package/dist/client/api/schema/embeddings-model-params.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-model-params.js +7 -0
- package/dist/client/api/schema/embeddings-model-params.js.map +1 -0
- package/dist/client/api/schema/embeddings-module-configs.d.ts +10 -0
- package/dist/client/api/schema/embeddings-module-configs.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-module-configs.js +2 -0
- package/dist/client/api/schema/embeddings-module-configs.js.map +1 -0
- package/dist/client/api/schema/embeddings-orchestration-config.d.ts +8 -0
- package/dist/client/api/schema/embeddings-orchestration-config.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-orchestration-config.js +2 -0
- package/dist/client/api/schema/embeddings-orchestration-config.js.map +1 -0
- package/dist/client/api/schema/embeddings-post-request.d.ts +10 -0
- package/dist/client/api/schema/embeddings-post-request.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-post-request.js +2 -0
- package/dist/client/api/schema/embeddings-post-request.js.map +1 -0
- package/dist/client/api/schema/embeddings-post-response.d.ts +11 -0
- package/dist/client/api/schema/embeddings-post-response.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-post-response.js +2 -0
- package/dist/client/api/schema/embeddings-post-response.js.map +1 -0
- package/dist/client/api/schema/embeddings-response.d.ts +21 -0
- package/dist/client/api/schema/embeddings-response.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-response.js +2 -0
- package/dist/client/api/schema/embeddings-response.js.map +1 -0
- package/dist/client/api/schema/embeddings-usage.d.ts +14 -0
- package/dist/client/api/schema/embeddings-usage.d.ts.map +1 -0
- package/dist/client/api/schema/embeddings-usage.js +7 -0
- package/dist/client/api/schema/embeddings-usage.js.map +1 -0
- package/dist/client/api/schema/error-response-streaming.d.ts +25 -0
- package/dist/client/api/schema/error-response-streaming.d.ts.map +1 -0
- package/dist/client/api/schema/error-response-streaming.js +2 -0
- package/dist/client/api/schema/error-response-streaming.js.map +1 -0
- package/dist/client/api/schema/error-response.d.ts +1 -1
- package/dist/client/api/schema/index.d.ts +28 -4
- package/dist/client/api/schema/index.d.ts.map +1 -1
- package/dist/client/api/schema/index.js +28 -4
- package/dist/client/api/schema/index.js.map +1 -1
- package/dist/client/api/schema/input-filter-config.d.ts +7 -0
- package/dist/client/api/schema/input-filter-config.d.ts.map +1 -0
- package/dist/client/api/schema/input-filter-config.js +2 -0
- package/dist/client/api/schema/input-filter-config.js.map +1 -0
- package/dist/client/api/schema/input-filtering-config.d.ts +3 -3
- package/dist/client/api/schema/input-filtering-config.d.ts.map +1 -1
- package/dist/client/api/schema/llm-choice-streaming.d.ts +2 -4
- package/dist/client/api/schema/llm-choice-streaming.d.ts.map +1 -1
- package/dist/client/api/schema/llm-choice.d.ts +2 -4
- package/dist/client/api/schema/llm-choice.d.ts.map +1 -1
- package/dist/client/api/schema/llm-module-config.d.ts +2 -1
- package/dist/client/api/schema/llm-module-config.d.ts.map +1 -1
- package/dist/client/api/schema/llm-module-result.d.ts +34 -3
- package/dist/client/api/schema/llm-module-result.d.ts.map +1 -1
- package/dist/client/api/schema/module-results-base.d.ts +15 -0
- package/dist/client/api/schema/module-results-base.d.ts.map +1 -0
- package/dist/client/api/schema/module-results-base.js +2 -0
- package/dist/client/api/schema/module-results-base.js.map +1 -0
- package/dist/client/api/schema/module-results-streaming.d.ts +11 -0
- package/dist/client/api/schema/module-results-streaming.d.ts.map +1 -0
- package/dist/client/api/schema/module-results-streaming.js +2 -0
- package/dist/client/api/schema/module-results-streaming.js.map +1 -0
- package/dist/client/api/schema/module-results.d.ts +5 -14
- package/dist/client/api/schema/module-results.d.ts.map +1 -1
- package/dist/client/api/schema/output-filter-config.d.ts +7 -0
- package/dist/client/api/schema/output-filter-config.d.ts.map +1 -0
- package/dist/client/api/schema/output-filter-config.js +2 -0
- package/dist/client/api/schema/output-filter-config.js.map +1 -0
- package/dist/client/api/schema/output-filtering-config.d.ts +3 -3
- package/dist/client/api/schema/output-filtering-config.d.ts.map +1 -1
- package/dist/client/api/schema/response-chat-message.d.ts +1 -1
- package/dist/client/api/schema/response-chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/template.d.ts +0 -1
- package/dist/client/api/schema/template.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/orchestration-types.d.ts +9 -1
- package/dist/orchestration-types.d.ts.map +1 -1
- package/dist/orchestration-types.js.map +1 -1
- package/dist/util/filtering.d.ts +2 -2
- package/dist/util/filtering.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/client/api/schema/azure-content-safety-filter-config.d.ts +0 -13
- package/dist/client/api/schema/azure-content-safety-filter-config.d.ts.map +0 -1
- package/dist/client/api/schema/azure-content-safety-filter-config.js +0 -2
- package/dist/client/api/schema/azure-content-safety-filter-config.js.map +0 -1
- package/dist/client/api/schema/azure-content-safety.d.ts.map +0 -1
- package/dist/client/api/schema/azure-content-safety.js +0 -2
- package/dist/client/api/schema/azure-content-safety.js.map +0 -1
- package/dist/client/api/schema/filter-config.d.ts +0 -7
- package/dist/client/api/schema/filter-config.d.ts.map +0 -1
- package/dist/client/api/schema/filter-config.js +0 -2
- package/dist/client/api/schema/filter-config.js.map +0 -1
- package/dist/client/api/schema/llm-module-result-synchronous.d.ts +0 -38
- package/dist/client/api/schema/llm-module-result-synchronous.d.ts.map +0 -1
- package/dist/client/api/schema/llm-module-result-synchronous.js +0 -2
- package/dist/client/api/schema/llm-module-result-synchronous.js.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EmbeddingsOrchestrationConfig } from './embeddings-orchestration-config.js';
|
|
2
|
+
import type { EmbeddingsInput } from './embeddings-input.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'EmbeddingsPostRequest' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type EmbeddingsPostRequest = {
|
|
7
|
+
config: EmbeddingsOrchestrationConfig;
|
|
8
|
+
input: EmbeddingsInput;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=embeddings-post-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-post-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,6BAA6B,CAAC;IACtC,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-post-request.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModuleResultsBase } from './module-results-base.js';
|
|
2
|
+
import type { EmbeddingsResponse } from './embeddings-response.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'EmbeddingsPostResponse' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type EmbeddingsPostResponse = {
|
|
7
|
+
request_id: string;
|
|
8
|
+
intermediate_results?: ModuleResultsBase;
|
|
9
|
+
final_result?: EmbeddingsResponse;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=embeddings-post-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-post-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,iBAAiB,CAAC;IACzC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-post-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { EmbeddingResult } from './embedding-result.js';
|
|
2
|
+
import type { EmbeddingsUsage } from './embeddings-usage.js';
|
|
3
|
+
/**
|
|
4
|
+
* The response from request to embedding model following OpenAI specification.
|
|
5
|
+
*/
|
|
6
|
+
export type EmbeddingsResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* The object type, which is always "list".
|
|
9
|
+
*/
|
|
10
|
+
object: 'list';
|
|
11
|
+
/**
|
|
12
|
+
* The list of embeddings generated by the model.
|
|
13
|
+
*/
|
|
14
|
+
data: EmbeddingResult[];
|
|
15
|
+
/**
|
|
16
|
+
* The name of the model used to generate the embedding.
|
|
17
|
+
*/
|
|
18
|
+
model: string;
|
|
19
|
+
usage: EmbeddingsUsage;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=embeddings-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The usage information for the request.
|
|
3
|
+
*/
|
|
4
|
+
export type EmbeddingsUsage = {
|
|
5
|
+
/**
|
|
6
|
+
* The number of tokens used by the prompt.
|
|
7
|
+
*/
|
|
8
|
+
prompt_tokens: number;
|
|
9
|
+
/**
|
|
10
|
+
* The total number of tokens used by the request.
|
|
11
|
+
*/
|
|
12
|
+
total_tokens: number;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=embeddings-usage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-usage.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-usage.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embeddings-usage.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-usage.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ModuleResultsStreaming } from './module-results-streaming.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ErrorResponseStreaming' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ErrorResponseStreaming = {
|
|
6
|
+
/**
|
|
7
|
+
* @example "d4a67ea1-2bf9-4df7-8105-d48203ccff76"
|
|
8
|
+
*/
|
|
9
|
+
request_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* @example 500
|
|
12
|
+
*/
|
|
13
|
+
code: number;
|
|
14
|
+
/**
|
|
15
|
+
* @example "Model name must be one of ['gpt-4o-mini', ...]"
|
|
16
|
+
*/
|
|
17
|
+
message: string;
|
|
18
|
+
/**
|
|
19
|
+
* Where the error occurred
|
|
20
|
+
* @example "LLM Module"
|
|
21
|
+
*/
|
|
22
|
+
location: string;
|
|
23
|
+
module_results?: ModuleResultsStreaming;
|
|
24
|
+
} & Record<string, any>;
|
|
25
|
+
//# sourceMappingURL=error-response-streaming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-response-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/error-response-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-response-streaming.js","sourceRoot":"","sources":["../../../../src/client/api/schema/error-response-streaming.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export * from './completion-post-request.js';
|
|
2
|
+
export * from './embeddings-post-request.js';
|
|
3
|
+
export * from './embeddings-orchestration-config.js';
|
|
4
|
+
export * from './embeddings-input.js';
|
|
5
|
+
export * from './embeddings-input-text.js';
|
|
6
|
+
export * from './embeddings-module-configs.js';
|
|
7
|
+
export * from './embeddings-model-config.js';
|
|
8
|
+
export * from './embeddings-model-details.js';
|
|
9
|
+
export * from './embeddings-model-params.js';
|
|
10
|
+
export * from './embeddings-post-response.js';
|
|
11
|
+
export * from './embeddings-response.js';
|
|
12
|
+
export * from './embeddings-usage.js';
|
|
13
|
+
export * from './embedding-result.js';
|
|
14
|
+
export * from './embedding.js';
|
|
2
15
|
export * from './chat-messages.js';
|
|
3
16
|
export * from './templating-chat-message.js';
|
|
4
17
|
export * from './chat-message.js';
|
|
@@ -21,12 +34,13 @@ export * from './completion-post-response.js';
|
|
|
21
34
|
export * from './completion-post-response-streaming.js';
|
|
22
35
|
export * from './orchestration-config.js';
|
|
23
36
|
export * from './module-configs.js';
|
|
37
|
+
export * from './module-results-base.js';
|
|
24
38
|
export * from './module-results.js';
|
|
39
|
+
export * from './module-results-streaming.js';
|
|
25
40
|
export * from './global-stream-options.js';
|
|
26
41
|
export * from './llm-module-config.js';
|
|
27
42
|
export * from './generic-module-result.js';
|
|
28
43
|
export * from './llm-module-result.js';
|
|
29
|
-
export * from './llm-module-result-synchronous.js';
|
|
30
44
|
export * from './llm-module-result-streaming.js';
|
|
31
45
|
export * from './llm-choice.js';
|
|
32
46
|
export * from './llm-choice-streaming.js';
|
|
@@ -47,9 +61,12 @@ export * from './filtering-module-config.js';
|
|
|
47
61
|
export * from './input-filtering-config.js';
|
|
48
62
|
export * from './output-filtering-config.js';
|
|
49
63
|
export * from './filtering-stream-options.js';
|
|
50
|
-
export * from './filter-config.js';
|
|
51
|
-
export * from './
|
|
52
|
-
export * from './azure-content-safety.js';
|
|
64
|
+
export * from './input-filter-config.js';
|
|
65
|
+
export * from './output-filter-config.js';
|
|
66
|
+
export * from './azure-content-safety-input-filter-config.js';
|
|
67
|
+
export * from './azure-content-safety-output-filter-config.js';
|
|
68
|
+
export * from './azure-content-safety-input.js';
|
|
69
|
+
export * from './azure-content-safety-output.js';
|
|
53
70
|
export * from './azure-threshold.js';
|
|
54
71
|
export * from './llama-guard-38-b-filter-config.js';
|
|
55
72
|
export * from './llama-guard-38-b.js';
|
|
@@ -57,6 +74,10 @@ export * from './masking-module-config.js';
|
|
|
57
74
|
export * from './masking-provider-config.js';
|
|
58
75
|
export * from './dpi-config.js';
|
|
59
76
|
export * from './dpi-entity-config.js';
|
|
77
|
+
export * from './dpi-custom-entity.js';
|
|
78
|
+
export * from './dpi-standard-entity.js';
|
|
79
|
+
export * from './dpi-method-constant.js';
|
|
80
|
+
export * from './dpi-method-fabricated-data.js';
|
|
60
81
|
export * from './dpi-entities.js';
|
|
61
82
|
export * from './grounding-module-config.js';
|
|
62
83
|
export * from './document-grounding-filter.js';
|
|
@@ -70,4 +91,7 @@ export * from './input-translation-module-config.js';
|
|
|
70
91
|
export * from './output-translation-module-config.js';
|
|
71
92
|
export * from './sap-document-translation.js';
|
|
72
93
|
export * from './error-response.js';
|
|
94
|
+
export * from './error-response-streaming.js';
|
|
95
|
+
export * from './chat-completion-token-logprob.js';
|
|
96
|
+
export * from './choice-logprobs.js';
|
|
73
97
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAA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C/D,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC"}
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
5
|
*/
|
|
6
6
|
export * from './completion-post-request.js';
|
|
7
|
+
export * from './embeddings-post-request.js';
|
|
8
|
+
export * from './embeddings-orchestration-config.js';
|
|
9
|
+
export * from './embeddings-input.js';
|
|
10
|
+
export * from './embeddings-input-text.js';
|
|
11
|
+
export * from './embeddings-module-configs.js';
|
|
12
|
+
export * from './embeddings-model-config.js';
|
|
13
|
+
export * from './embeddings-model-details.js';
|
|
14
|
+
export * from './embeddings-model-params.js';
|
|
15
|
+
export * from './embeddings-post-response.js';
|
|
16
|
+
export * from './embeddings-response.js';
|
|
17
|
+
export * from './embeddings-usage.js';
|
|
18
|
+
export * from './embedding-result.js';
|
|
19
|
+
export * from './embedding.js';
|
|
7
20
|
export * from './chat-messages.js';
|
|
8
21
|
export * from './templating-chat-message.js';
|
|
9
22
|
export * from './chat-message.js';
|
|
@@ -26,12 +39,13 @@ export * from './completion-post-response.js';
|
|
|
26
39
|
export * from './completion-post-response-streaming.js';
|
|
27
40
|
export * from './orchestration-config.js';
|
|
28
41
|
export * from './module-configs.js';
|
|
42
|
+
export * from './module-results-base.js';
|
|
29
43
|
export * from './module-results.js';
|
|
44
|
+
export * from './module-results-streaming.js';
|
|
30
45
|
export * from './global-stream-options.js';
|
|
31
46
|
export * from './llm-module-config.js';
|
|
32
47
|
export * from './generic-module-result.js';
|
|
33
48
|
export * from './llm-module-result.js';
|
|
34
|
-
export * from './llm-module-result-synchronous.js';
|
|
35
49
|
export * from './llm-module-result-streaming.js';
|
|
36
50
|
export * from './llm-choice.js';
|
|
37
51
|
export * from './llm-choice-streaming.js';
|
|
@@ -52,9 +66,12 @@ export * from './filtering-module-config.js';
|
|
|
52
66
|
export * from './input-filtering-config.js';
|
|
53
67
|
export * from './output-filtering-config.js';
|
|
54
68
|
export * from './filtering-stream-options.js';
|
|
55
|
-
export * from './filter-config.js';
|
|
56
|
-
export * from './
|
|
57
|
-
export * from './azure-content-safety.js';
|
|
69
|
+
export * from './input-filter-config.js';
|
|
70
|
+
export * from './output-filter-config.js';
|
|
71
|
+
export * from './azure-content-safety-input-filter-config.js';
|
|
72
|
+
export * from './azure-content-safety-output-filter-config.js';
|
|
73
|
+
export * from './azure-content-safety-input.js';
|
|
74
|
+
export * from './azure-content-safety-output.js';
|
|
58
75
|
export * from './azure-threshold.js';
|
|
59
76
|
export * from './llama-guard-38-b-filter-config.js';
|
|
60
77
|
export * from './llama-guard-38-b.js';
|
|
@@ -62,6 +79,10 @@ export * from './masking-module-config.js';
|
|
|
62
79
|
export * from './masking-provider-config.js';
|
|
63
80
|
export * from './dpi-config.js';
|
|
64
81
|
export * from './dpi-entity-config.js';
|
|
82
|
+
export * from './dpi-custom-entity.js';
|
|
83
|
+
export * from './dpi-standard-entity.js';
|
|
84
|
+
export * from './dpi-method-constant.js';
|
|
85
|
+
export * from './dpi-method-fabricated-data.js';
|
|
65
86
|
export * from './dpi-entities.js';
|
|
66
87
|
export * from './grounding-module-config.js';
|
|
67
88
|
export * from './document-grounding-filter.js';
|
|
@@ -75,4 +96,7 @@ export * from './input-translation-module-config.js';
|
|
|
75
96
|
export * from './output-translation-module-config.js';
|
|
76
97
|
export * from './sap-document-translation.js';
|
|
77
98
|
export * from './error-response.js';
|
|
99
|
+
export * from './error-response-streaming.js';
|
|
100
|
+
export * from './chat-completion-token-logprob.js';
|
|
101
|
+
export * from './choice-logprobs.js';
|
|
78
102
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAA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AAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AzureContentSafetyInputFilterConfig } from './azure-content-safety-input-filter-config.js';
|
|
2
|
+
import type { LlamaGuard38BFilterConfig } from './llama-guard-38-b-filter-config.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'InputFilterConfig' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type InputFilterConfig = AzureContentSafetyInputFilterConfig | LlamaGuard38BFilterConfig;
|
|
7
|
+
//# sourceMappingURL=input-filter-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,mCAAmC,GACnC,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-filter-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filter-config.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InputFilterConfig } from './input-filter-config.js';
|
|
2
2
|
/**
|
|
3
3
|
* Representation of the 'InputFilteringConfig' schema.
|
|
4
4
|
*/
|
|
5
5
|
export type InputFilteringConfig = {
|
|
6
6
|
/**
|
|
7
|
-
* Configuration for content filtering services that should be used for the given filtering step (input filtering
|
|
7
|
+
* Configuration for content filtering services that should be used for the given filtering step (input filtering).
|
|
8
8
|
* Min Items: 1.
|
|
9
9
|
*/
|
|
10
|
-
filters:
|
|
10
|
+
filters: InputFilterConfig[];
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=input-filtering-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-filtering-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filtering-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"input-filtering-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filtering-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ChatDelta } from './chat-delta.js';
|
|
2
|
+
import type { ChoiceLogprobs } from './choice-logprobs.js';
|
|
2
3
|
/**
|
|
3
4
|
* Representation of the 'LlmChoiceStreaming' schema.
|
|
4
5
|
*/
|
|
@@ -8,10 +9,7 @@ export type LlmChoiceStreaming = {
|
|
|
8
9
|
*/
|
|
9
10
|
index: number;
|
|
10
11
|
delta: ChatDelta;
|
|
11
|
-
|
|
12
|
-
* Log probabilities
|
|
13
|
-
*/
|
|
14
|
-
logprobs?: Record<string, number[]>;
|
|
12
|
+
logprobs?: ChoiceLogprobs;
|
|
15
13
|
/**
|
|
16
14
|
* Reason for stopping the model
|
|
17
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-choice-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB
|
|
1
|
+
{"version":3,"file":"llm-choice-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ResponseChatMessage } from './response-chat-message.js';
|
|
2
|
+
import type { ChoiceLogprobs } from './choice-logprobs.js';
|
|
2
3
|
/**
|
|
3
4
|
* Representation of the 'LlmChoice' schema.
|
|
4
5
|
*/
|
|
@@ -8,10 +9,7 @@ export type LlmChoice = {
|
|
|
8
9
|
*/
|
|
9
10
|
index: number;
|
|
10
11
|
message: ResponseChatMessage;
|
|
11
|
-
|
|
12
|
-
* Log probabilities
|
|
13
|
-
*/
|
|
14
|
-
logprobs?: Record<string, number[]>;
|
|
12
|
+
logprobs?: ChoiceLogprobs;
|
|
15
13
|
/**
|
|
16
14
|
* Reason the model stopped generating tokens. 'stop' if the model hit a natural stop point or a provided stop sequence, 'length' if the maximum token number was reached, 'content_filter' if content was omitted due to a filter enforced by the LLM model provider or the content filtering module
|
|
17
15
|
* @example "stop"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-choice.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,mBAAmB,CAAC;IAC7B
|
|
1
|
+
{"version":3,"file":"llm-choice.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,mBAAmB,CAAC;IAC7B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export type LlmModuleConfig = {
|
|
5
5
|
/**
|
|
6
6
|
* Model name as in LLM Access configuration
|
|
7
|
-
* @example "gpt-
|
|
7
|
+
* @example "gpt-4o-mini"
|
|
8
8
|
*/
|
|
9
9
|
model_name: string;
|
|
10
10
|
/**
|
|
@@ -15,6 +15,7 @@ export type LlmModuleConfig = {
|
|
|
15
15
|
* "frequency_penalty": 0,
|
|
16
16
|
* "presence_penalty": 0,
|
|
17
17
|
* "n": 2,
|
|
18
|
+
* "logprobs": true,
|
|
18
19
|
* "stream_options": {
|
|
19
20
|
* "include_usage": true
|
|
20
21
|
* }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-config.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB
|
|
1
|
+
{"version":3,"file":"llm-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-config.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1,7 +1,38 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { LlmChoice } from './llm-choice.js';
|
|
2
|
+
import type { TokenUsage } from './token-usage.js';
|
|
3
3
|
/**
|
|
4
4
|
* Output of LLM module. Follows the OpenAI spec.
|
|
5
5
|
*/
|
|
6
|
-
export type LlmModuleResult =
|
|
6
|
+
export type LlmModuleResult = {
|
|
7
|
+
/**
|
|
8
|
+
* ID of the response
|
|
9
|
+
* @example "chatcmpl-9rO0aLoPKY7RtqkWi1317bazHEVFr"
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Object type
|
|
14
|
+
* @example "chat.completion"
|
|
15
|
+
*/
|
|
16
|
+
object: string;
|
|
17
|
+
/**
|
|
18
|
+
* Unix timestamp
|
|
19
|
+
* @example 1722510700
|
|
20
|
+
*/
|
|
21
|
+
created: number;
|
|
22
|
+
/**
|
|
23
|
+
* Model name
|
|
24
|
+
* @example "gpt-4o-mini"
|
|
25
|
+
*/
|
|
26
|
+
model: string;
|
|
27
|
+
/**
|
|
28
|
+
* System fingerprint
|
|
29
|
+
* @example "fp_44709d6fcb"
|
|
30
|
+
*/
|
|
31
|
+
system_fingerprint?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Choices
|
|
34
|
+
*/
|
|
35
|
+
choices: LlmChoice[];
|
|
36
|
+
usage: TokenUsage;
|
|
37
|
+
} & Record<string, any>;
|
|
7
38
|
//# sourceMappingURL=llm-module-result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-module-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"llm-module-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { GenericModuleResult } from './generic-module-result.js';
|
|
2
|
+
import type { TemplatingChatMessage } from './templating-chat-message.js';
|
|
3
|
+
/**
|
|
4
|
+
* Results of each module of /embeddings endpoint(e.g. input masking).
|
|
5
|
+
*/
|
|
6
|
+
export type ModuleResultsBase = {
|
|
7
|
+
grounding?: GenericModuleResult;
|
|
8
|
+
templating?: TemplatingChatMessage;
|
|
9
|
+
input_translation?: GenericModuleResult;
|
|
10
|
+
input_masking?: GenericModuleResult;
|
|
11
|
+
input_filtering?: GenericModuleResult;
|
|
12
|
+
output_filtering?: GenericModuleResult;
|
|
13
|
+
output_translation?: GenericModuleResult;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=module-results-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-results-base.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-base.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-results-base.js","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-base.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModuleResultsBase } from './module-results-base.js';
|
|
2
|
+
import type { LLMModuleResultStreaming } from './llm-module-result-streaming.js';
|
|
3
|
+
import type { LlmChoiceStreaming } from './llm-choice-streaming.js';
|
|
4
|
+
/**
|
|
5
|
+
* Streaming results of each module.
|
|
6
|
+
*/
|
|
7
|
+
export type ModuleResultsStreaming = ModuleResultsBase & {
|
|
8
|
+
llm?: LLMModuleResultStreaming;
|
|
9
|
+
output_unmasking?: LlmChoiceStreaming[];
|
|
10
|
+
} & Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=module-results-streaming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-results-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACzC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-results-streaming.js","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-streaming.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TemplatingChatMessage } from './templating-chat-message.js';
|
|
1
|
+
import type { ModuleResultsBase } from './module-results-base.js';
|
|
3
2
|
import type { LlmModuleResult } from './llm-module-result.js';
|
|
4
3
|
import type { LlmChoice } from './llm-choice.js';
|
|
5
|
-
import type { LlmChoiceStreaming } from './llm-choice-streaming.js';
|
|
6
4
|
/**
|
|
7
|
-
*
|
|
5
|
+
* Synchronous results of each module.
|
|
8
6
|
*/
|
|
9
|
-
export type ModuleResults = {
|
|
10
|
-
grounding?: GenericModuleResult;
|
|
11
|
-
templating?: TemplatingChatMessage;
|
|
12
|
-
input_translation?: GenericModuleResult;
|
|
13
|
-
input_masking?: GenericModuleResult;
|
|
14
|
-
input_filtering?: GenericModuleResult;
|
|
7
|
+
export type ModuleResults = ModuleResultsBase & {
|
|
15
8
|
llm?: LlmModuleResult;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
output_translation?: GenericModuleResult;
|
|
19
|
-
};
|
|
9
|
+
output_unmasking?: LlmChoice[];
|
|
10
|
+
} & Record<string, any>;
|
|
20
11
|
//# sourceMappingURL=module-results.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"module-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG;IAC9C,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AzureContentSafetyOutputFilterConfig } from './azure-content-safety-output-filter-config.js';
|
|
2
|
+
import type { LlamaGuard38BFilterConfig } from './llama-guard-38-b-filter-config.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'OutputFilterConfig' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type OutputFilterConfig = AzureContentSafetyOutputFilterConfig | LlamaGuard38BFilterConfig;
|
|
7
|
+
//# sourceMappingURL=output-filter-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAC3G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,oCAAoC,GACpC,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-filter-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filter-config.ts"],"names":[],"mappings":""}
|