@sap-ai-sdk/orchestration 1.6.1-20250117013046.0 → 1.6.1-20250119013100.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-filter-config.d.ts +1 -1
- package/dist/client/api/schema/chat-completion-tool.d.ts +12 -0
- package/dist/client/api/schema/chat-completion-tool.d.ts.map +1 -0
- package/dist/client/api/schema/chat-completion-tool.js +2 -0
- package/dist/client/api/schema/chat-completion-tool.js.map +1 -0
- package/dist/client/api/schema/chat-delta.d.ts +6 -0
- package/dist/client/api/schema/chat-delta.d.ts.map +1 -1
- package/dist/client/api/schema/chat-delta.js +0 -5
- package/dist/client/api/schema/chat-delta.js.map +1 -1
- package/dist/client/api/schema/chat-message.d.ts +3 -7
- package/dist/client/api/schema/chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/chat-message.js +0 -5
- package/dist/client/api/schema/chat-message.js.map +1 -1
- package/dist/client/api/schema/chat-messages.d.ts +1 -2
- package/dist/client/api/schema/chat-messages.d.ts.map +1 -1
- package/dist/client/api/schema/data-repository-type.d.ts +2 -2
- package/dist/client/api/schema/data-repository-type.d.ts.map +1 -1
- package/dist/client/api/schema/dpi-config.d.ts +1 -1
- package/dist/client/api/schema/dpi-config.d.ts.map +1 -1
- package/dist/client/api/schema/filter-config.d.ts +2 -1
- package/dist/client/api/schema/filter-config.d.ts.map +1 -1
- package/dist/client/api/schema/function-object.d.ts +20 -0
- package/dist/client/api/schema/function-object.d.ts.map +1 -0
- package/dist/client/api/schema/function-object.js +2 -0
- package/dist/client/api/schema/function-object.js.map +1 -0
- package/dist/client/api/schema/function-parameters.d.ts +5 -0
- package/dist/client/api/schema/function-parameters.d.ts.map +1 -0
- package/dist/client/api/schema/function-parameters.js +7 -0
- package/dist/client/api/schema/function-parameters.js.map +1 -0
- package/dist/client/api/schema/grounding-filter-search-configuration.d.ts +3 -3
- package/dist/client/api/schema/grounding-filter-search-configuration.d.ts.map +1 -1
- package/dist/client/api/schema/image-content.d.ts +2 -2
- package/dist/client/api/schema/image-content.d.ts.map +1 -1
- package/dist/client/api/schema/index.d.ts +15 -1
- package/dist/client/api/schema/index.d.ts.map +1 -1
- package/dist/client/api/schema/index.js +15 -1
- package/dist/client/api/schema/index.js.map +1 -1
- package/dist/client/api/schema/llama-guard-38-b-filter-config.d.ts +13 -0
- package/dist/client/api/schema/llama-guard-38-b-filter-config.d.ts.map +1 -0
- package/dist/client/api/schema/llama-guard-38-b-filter-config.js +2 -0
- package/dist/client/api/schema/llama-guard-38-b-filter-config.js.map +1 -0
- package/dist/client/api/schema/llama-guard-38-b.d.ts +20 -0
- package/dist/client/api/schema/llama-guard-38-b.d.ts.map +1 -0
- package/dist/client/api/schema/llama-guard-38-b.js +7 -0
- package/dist/client/api/schema/llama-guard-38-b.js.map +1 -0
- package/dist/client/api/schema/llm-choice.d.ts +2 -2
- package/dist/client/api/schema/llm-choice.d.ts.map +1 -1
- package/dist/client/api/schema/multi-chat-message.d.ts +1 -1
- package/dist/client/api/schema/multi-chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/response-chat-message.d.ts +13 -0
- package/dist/client/api/schema/response-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/response-chat-message.js +2 -0
- package/dist/client/api/schema/response-chat-message.js.map +1 -0
- package/dist/client/api/schema/response-format-json-object.d.ts +10 -0
- package/dist/client/api/schema/response-format-json-object.d.ts.map +1 -0
- package/dist/client/api/schema/response-format-json-object.js +7 -0
- package/dist/client/api/schema/response-format-json-object.js.map +1 -0
- package/dist/client/api/schema/response-format-json-schema-schema.d.ts +5 -0
- package/dist/client/api/schema/response-format-json-schema-schema.d.ts.map +1 -0
- package/dist/client/api/schema/response-format-json-schema-schema.js +7 -0
- package/dist/client/api/schema/response-format-json-schema-schema.js.map +1 -0
- package/dist/client/api/schema/response-format-json-schema.d.ts +26 -0
- package/dist/client/api/schema/response-format-json-schema.d.ts.map +1 -0
- package/dist/client/api/schema/response-format-json-schema.js +2 -0
- package/dist/client/api/schema/response-format-json-schema.js.map +1 -0
- package/dist/client/api/schema/response-format-text.d.ts +10 -0
- package/dist/client/api/schema/response-format-text.d.ts.map +1 -0
- package/dist/client/api/schema/response-format-text.js +7 -0
- package/dist/client/api/schema/response-format-text.js.map +1 -0
- package/dist/client/api/schema/response-message-tool-call.d.ts +27 -0
- package/dist/client/api/schema/response-message-tool-call.d.ts.map +1 -0
- package/dist/client/api/schema/response-message-tool-call.js +7 -0
- package/dist/client/api/schema/response-message-tool-call.js.map +1 -0
- package/dist/client/api/schema/response-message-tool-calls.d.ts +6 -0
- package/dist/client/api/schema/response-message-tool-calls.d.ts.map +1 -0
- package/dist/client/api/schema/response-message-tool-calls.js +2 -0
- package/dist/client/api/schema/response-message-tool-calls.js.map +1 -0
- package/dist/client/api/schema/single-chat-message.d.ts +11 -0
- package/dist/client/api/schema/single-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/single-chat-message.js +7 -0
- package/dist/client/api/schema/single-chat-message.js.map +1 -0
- package/dist/client/api/schema/template.d.ts +16 -1
- package/dist/client/api/schema/template.d.ts.map +1 -1
- package/dist/client/api/schema/templating-chat-message.d.ts +1 -2
- package/dist/client/api/schema/templating-chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/text-content.d.ts +1 -1
- package/dist/client/api/schema/text-content.d.ts.map +1 -1
- package/dist/client/api/schema/tool-call-chunk.d.ts +25 -0
- package/dist/client/api/schema/tool-call-chunk.d.ts.map +1 -0
- package/dist/client/api/schema/tool-call-chunk.js +7 -0
- package/dist/client/api/schema/tool-call-chunk.js.map +1 -0
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import type { AzureContentSafety } from './azure-content-safety.js';
|
|
|
4
4
|
*/
|
|
5
5
|
export type AzureContentSafetyFilterConfig = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Name of the filter provider type
|
|
8
8
|
* @example "azure_content_safety"
|
|
9
9
|
*/
|
|
10
10
|
type: 'azure_content_safety';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FunctionObject } from './function-object.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ChatCompletionTool' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ChatCompletionTool = {
|
|
6
|
+
/**
|
|
7
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
8
|
+
*/
|
|
9
|
+
type: 'function';
|
|
10
|
+
function: FunctionObject;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=chat-completion-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-tool.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-completion-tool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-completion-tool.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-completion-tool.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import type { ToolCallChunk } from './tool-call-chunk.js';
|
|
1
2
|
/**
|
|
2
3
|
* Representation of the 'ChatDelta' schema.
|
|
3
4
|
*/
|
|
4
5
|
export type ChatDelta = {
|
|
5
6
|
role?: string;
|
|
6
7
|
content: string;
|
|
8
|
+
/**
|
|
9
|
+
* The refusal message generated by the model.
|
|
10
|
+
*/
|
|
11
|
+
refusal?: string;
|
|
12
|
+
tool_calls?: ToolCallChunk[];
|
|
7
13
|
} & Record<string, any>;
|
|
8
14
|
//# sourceMappingURL=chat-delta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-delta.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-delta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-delta.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-delta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-delta.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-delta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-delta.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-delta.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
+
import type { SingleChatMessage } from './single-chat-message.js';
|
|
2
|
+
import type { MultiChatMessage } from './multi-chat-message.js';
|
|
1
3
|
/**
|
|
2
4
|
* Representation of the 'ChatMessage' schema.
|
|
3
5
|
*/
|
|
4
|
-
export type ChatMessage =
|
|
5
|
-
/**
|
|
6
|
-
* @example "user"
|
|
7
|
-
*/
|
|
8
|
-
role: string;
|
|
9
|
-
content: string;
|
|
10
|
-
};
|
|
6
|
+
export type ChatMessage = SingleChatMessage | MultiChatMessage;
|
|
11
7
|
//# sourceMappingURL=chat-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ChatMessage } from './chat-message.js';
|
|
2
|
-
import type { MultiChatMessage } from './multi-chat-message.js';
|
|
3
2
|
/**
|
|
4
3
|
* Representation of the 'ChatMessages' schema.
|
|
5
4
|
*/
|
|
6
|
-
export type ChatMessages =
|
|
5
|
+
export type ChatMessages = ChatMessage[];
|
|
7
6
|
//# sourceMappingURL=chat-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-messages.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-messages.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD
|
|
1
|
+
{"version":3,"file":"chat-messages.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-messages.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,WAAW,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Only include DataRepositories with the given type.
|
|
3
3
|
*/
|
|
4
|
-
export type DataRepositoryType = 'vector' | any;
|
|
4
|
+
export type DataRepositoryType = 'vector' | 'help.sap.com' | any;
|
|
5
5
|
//# sourceMappingURL=data-repository-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-repository-type.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,GAAG,CAAC"}
|
|
1
|
+
{"version":3,"file":"data-repository-type.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,cAAc,GAAG,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dpi-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/dpi-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,eAAe,GAAG,kBAAkB,CAAC;IAC7C;;;OAGG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,oBAAoB,CAAC,EAAE;QACrB;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,
|
|
1
|
+
{"version":3,"file":"dpi-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/dpi-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,eAAe,GAAG,kBAAkB,CAAC;IAC7C;;;OAGG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,oBAAoB,CAAC,EAAE;QACrB;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AzureContentSafetyFilterConfig } from './azure-content-safety-filter-config.js';
|
|
2
|
+
import type { LlamaGuard38BFilterConfig } from './llama-guard-38-b-filter-config.js';
|
|
2
3
|
/**
|
|
3
4
|
* Representation of the 'FilterConfig' schema.
|
|
4
5
|
*/
|
|
5
|
-
export type FilterConfig = AzureContentSafetyFilterConfig;
|
|
6
|
+
export type FilterConfig = AzureContentSafetyFilterConfig | LlamaGuard38BFilterConfig;
|
|
6
7
|
//# sourceMappingURL=filter-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F;;GAEG;AACH,MAAM,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB,8BAA8B,GAC9B,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FunctionParameters } from './function-parameters.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'FunctionObject' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type FunctionObject = {
|
|
6
|
+
/**
|
|
7
|
+
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
parameters?: FunctionParameters;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the [function calling guide](docs/guides/function-calling).
|
|
17
|
+
*/
|
|
18
|
+
strict?: boolean | null;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=function-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-object.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/function-object.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-object.js","sourceRoot":"","sources":["../../../../src/client/api/schema/function-object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting `parameters` defines a function with an empty parameter list.
|
|
3
|
+
*/
|
|
4
|
+
export type FunctionParameters = Record<string, any>;
|
|
5
|
+
//# sourceMappingURL=function-parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-parameters.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/function-parameters.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-parameters.js","sourceRoot":"","sources":["../../../../src/client/api/schema/function-parameters.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -5,10 +5,10 @@ export type GroundingFilterSearchConfiguration = {
|
|
|
5
5
|
/**
|
|
6
6
|
* Maximum number of chunks to be returned. Cannot be used with 'maxDocumentCount'.
|
|
7
7
|
*/
|
|
8
|
-
max_chunk_count?: number
|
|
8
|
+
max_chunk_count?: number;
|
|
9
9
|
/**
|
|
10
10
|
* [Only supports 'vector' dataRepositoryType] - Maximum number of documents to be returned. Cannot be used with 'maxChunkCount'. If maxDocumentCount is given, then only one chunk per document is returned.
|
|
11
11
|
*/
|
|
12
|
-
max_document_count?: number
|
|
13
|
-
}
|
|
12
|
+
max_document_count?: number;
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=grounding-filter-search-configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounding-filter-search-configuration.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-filter-search-configuration.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"grounding-filter-search-configuration.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-filter-search-configuration.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,
|
|
1
|
+
{"version":3,"file":"image-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export * from './completion-post-request.js';
|
|
2
|
+
export * from './chat-message.js';
|
|
2
3
|
export * from './chat-messages.js';
|
|
3
4
|
export * from './templating-chat-message.js';
|
|
4
|
-
export * from './chat-message.js';
|
|
5
|
+
export * from './single-chat-message.js';
|
|
6
|
+
export * from './response-chat-message.js';
|
|
7
|
+
export * from './response-message-tool-calls.js';
|
|
8
|
+
export * from './response-message-tool-call.js';
|
|
5
9
|
export * from './multi-chat-message.js';
|
|
6
10
|
export * from './multi-chat-message-content.js';
|
|
7
11
|
export * from './text-content.js';
|
|
8
12
|
export * from './image-content.js';
|
|
9
13
|
export * from './chat-delta.js';
|
|
14
|
+
export * from './tool-call-chunk.js';
|
|
10
15
|
export * from './completion-post-response.js';
|
|
11
16
|
export * from './completion-post-response-streaming.js';
|
|
12
17
|
export * from './orchestration-config.js';
|
|
@@ -23,6 +28,13 @@ export * from './llm-choice-streaming.js';
|
|
|
23
28
|
export * from './token-usage.js';
|
|
24
29
|
export * from './templating-module-config.js';
|
|
25
30
|
export * from './template.js';
|
|
31
|
+
export * from './response-format-text.js';
|
|
32
|
+
export * from './response-format-json-object.js';
|
|
33
|
+
export * from './response-format-json-schema.js';
|
|
34
|
+
export * from './response-format-json-schema-schema.js';
|
|
35
|
+
export * from './chat-completion-tool.js';
|
|
36
|
+
export * from './function-object.js';
|
|
37
|
+
export * from './function-parameters.js';
|
|
26
38
|
export * from './template-ref.js';
|
|
27
39
|
export * from './template-ref-by-id.js';
|
|
28
40
|
export * from './template-ref-by-scenario-name-version.js';
|
|
@@ -34,6 +46,8 @@ export * from './filter-config.js';
|
|
|
34
46
|
export * from './azure-content-safety-filter-config.js';
|
|
35
47
|
export * from './azure-content-safety.js';
|
|
36
48
|
export * from './azure-threshold.js';
|
|
49
|
+
export * from './llama-guard-38-b-filter-config.js';
|
|
50
|
+
export * from './llama-guard-38-b.js';
|
|
37
51
|
export * from './masking-module-config.js';
|
|
38
52
|
export * from './masking-provider-config.js';
|
|
39
53
|
export * from './dpi-config.js';
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,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,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,qBAAqB,CAAC"}
|
|
@@ -4,14 +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 './chat-message.js';
|
|
7
8
|
export * from './chat-messages.js';
|
|
8
9
|
export * from './templating-chat-message.js';
|
|
9
|
-
export * from './chat-message.js';
|
|
10
|
+
export * from './single-chat-message.js';
|
|
11
|
+
export * from './response-chat-message.js';
|
|
12
|
+
export * from './response-message-tool-calls.js';
|
|
13
|
+
export * from './response-message-tool-call.js';
|
|
10
14
|
export * from './multi-chat-message.js';
|
|
11
15
|
export * from './multi-chat-message-content.js';
|
|
12
16
|
export * from './text-content.js';
|
|
13
17
|
export * from './image-content.js';
|
|
14
18
|
export * from './chat-delta.js';
|
|
19
|
+
export * from './tool-call-chunk.js';
|
|
15
20
|
export * from './completion-post-response.js';
|
|
16
21
|
export * from './completion-post-response-streaming.js';
|
|
17
22
|
export * from './orchestration-config.js';
|
|
@@ -28,6 +33,13 @@ export * from './llm-choice-streaming.js';
|
|
|
28
33
|
export * from './token-usage.js';
|
|
29
34
|
export * from './templating-module-config.js';
|
|
30
35
|
export * from './template.js';
|
|
36
|
+
export * from './response-format-text.js';
|
|
37
|
+
export * from './response-format-json-object.js';
|
|
38
|
+
export * from './response-format-json-schema.js';
|
|
39
|
+
export * from './response-format-json-schema-schema.js';
|
|
40
|
+
export * from './chat-completion-tool.js';
|
|
41
|
+
export * from './function-object.js';
|
|
42
|
+
export * from './function-parameters.js';
|
|
31
43
|
export * from './template-ref.js';
|
|
32
44
|
export * from './template-ref-by-id.js';
|
|
33
45
|
export * from './template-ref-by-scenario-name-version.js';
|
|
@@ -39,6 +51,8 @@ export * from './filter-config.js';
|
|
|
39
51
|
export * from './azure-content-safety-filter-config.js';
|
|
40
52
|
export * from './azure-content-safety.js';
|
|
41
53
|
export * from './azure-threshold.js';
|
|
54
|
+
export * from './llama-guard-38-b-filter-config.js';
|
|
55
|
+
export * from './llama-guard-38-b.js';
|
|
42
56
|
export * from './masking-module-config.js';
|
|
43
57
|
export * from './masking-provider-config.js';
|
|
44
58
|
export * from './dpi-config.js';
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,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,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,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LlamaGuard38B } from './llama-guard-38-b.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'LlamaGuard38BFilterConfig' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type LlamaGuard38BFilterConfig = {
|
|
6
|
+
/**
|
|
7
|
+
* Name of the filter provider type
|
|
8
|
+
* @example "llama_guard_3_8b"
|
|
9
|
+
*/
|
|
10
|
+
type: 'llama_guard_3_8b';
|
|
11
|
+
config: LlamaGuard38B;
|
|
12
|
+
} & Record<string, any>;
|
|
13
|
+
//# sourceMappingURL=llama-guard-38-b-filter-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llama-guard-38-b-filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llama-guard-38-b-filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llama-guard-38-b-filter-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/llama-guard-38-b-filter-config.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter configuration for Llama Guard 3 8B
|
|
3
|
+
*/
|
|
4
|
+
export type LlamaGuard38B = {
|
|
5
|
+
violent_crimes?: boolean;
|
|
6
|
+
non_violent_crimes?: boolean;
|
|
7
|
+
sex_crimes?: boolean;
|
|
8
|
+
child_exploitation?: boolean;
|
|
9
|
+
defamation?: boolean;
|
|
10
|
+
specialized_advice?: boolean;
|
|
11
|
+
privacy?: boolean;
|
|
12
|
+
intellectual_property?: boolean;
|
|
13
|
+
indiscriminate_weapons?: boolean;
|
|
14
|
+
hate?: boolean;
|
|
15
|
+
self_harm?: boolean;
|
|
16
|
+
sexual_content?: boolean;
|
|
17
|
+
elections?: boolean;
|
|
18
|
+
code_interpreter_abuse?: boolean;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=llama-guard-38-b.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llama-guard-38-b.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llama-guard-38-b.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"llama-guard-38-b.js","sourceRoot":"","sources":["../../../../src/client/api/schema/llama-guard-38-b.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ResponseChatMessage } from './response-chat-message.js';
|
|
2
2
|
/**
|
|
3
3
|
* Representation of the 'LlmChoice' schema.
|
|
4
4
|
*/
|
|
@@ -7,7 +7,7 @@ export type LlmChoice = {
|
|
|
7
7
|
* Index of the choice
|
|
8
8
|
*/
|
|
9
9
|
index: number;
|
|
10
|
-
message:
|
|
10
|
+
message: ResponseChatMessage;
|
|
11
11
|
/**
|
|
12
12
|
* Log probabilities
|
|
13
13
|
*/
|
|
@@ -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,
|
|
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;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACpC,
|
|
1
|
+
{"version":3,"file":"multi-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SingleChatMessage } from './single-chat-message.js';
|
|
2
|
+
import type { ResponseMessageToolCalls } from './response-message-tool-calls.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'ResponseChatMessage' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type ResponseChatMessage = SingleChatMessage & {
|
|
7
|
+
/**
|
|
8
|
+
* @example "I'm sorry, I can't answer that question."
|
|
9
|
+
*/
|
|
10
|
+
refusal?: string;
|
|
11
|
+
tool_calls?: ResponseMessageToolCalls;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=response-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'ResponseFormatJsonObject' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type ResponseFormatJsonObject = {
|
|
5
|
+
/**
|
|
6
|
+
* The type of response format being defined: `json_object`
|
|
7
|
+
*/
|
|
8
|
+
type: 'json_object';
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=response-format-json-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-object.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-object.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-object.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-object.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema-schema.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-schema-schema.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema-schema.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-schema-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ResponseFormatJsonSchemaSchema } from './response-format-json-schema-schema.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ResponseFormatJsonSchema' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ResponseFormatJsonSchema = {
|
|
6
|
+
/**
|
|
7
|
+
* The type of response format being defined: `json_schema`
|
|
8
|
+
*/
|
|
9
|
+
type: 'json_schema';
|
|
10
|
+
json_schema: {
|
|
11
|
+
/**
|
|
12
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
schema?: ResponseFormatJsonSchemaSchema;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. To learn more, read the [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
|
22
|
+
*/
|
|
23
|
+
strict?: boolean | null;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=response-format-json-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-schema.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE;QACX;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,8BAA8B,CAAC;QACxC;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-json-schema.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-json-schema.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-text.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-format-text.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-format-text.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'ResponseMessageToolCall' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type ResponseMessageToolCall = {
|
|
5
|
+
/**
|
|
6
|
+
* The ID of the tool call.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
11
|
+
*/
|
|
12
|
+
type: 'function';
|
|
13
|
+
/**
|
|
14
|
+
* The function that the model called.
|
|
15
|
+
*/
|
|
16
|
+
function: {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the function to call.
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
arguments: string;
|
|
25
|
+
} & Record<string, any>;
|
|
26
|
+
} & Record<string, any>;
|
|
27
|
+
//# sourceMappingURL=response-message-tool-call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-message-tool-call.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-call.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE;QACR;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-message-tool-call.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-call.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ResponseMessageToolCall } from './response-message-tool-call.js';
|
|
2
|
+
/**
|
|
3
|
+
* The tool calls generated by the model, such as function calls.
|
|
4
|
+
*/
|
|
5
|
+
export type ResponseMessageToolCalls = ResponseMessageToolCall[];
|
|
6
|
+
//# sourceMappingURL=response-message-tool-calls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-message-tool-calls.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-calls.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-message-tool-calls.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-calls.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/single-chat-message.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/single-chat-message.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
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';
|
|
2
6
|
/**
|
|
3
7
|
* Representation of the 'Template' schema.
|
|
4
8
|
* @example {
|
|
@@ -21,6 +25,17 @@ export type Template = {
|
|
|
21
25
|
/**
|
|
22
26
|
* Optional default values for the template. If a parameter has no default it is required.
|
|
23
27
|
*/
|
|
24
|
-
defaults?: Record<string,
|
|
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
|
+
* Compatible with GPT-4o, GPT-4o mini, GPT-4 (Turbo) and all GPT-3.5 Turbo models newer than gpt-3.5-turbo-1106.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
response_format?: ResponseFormatText | ResponseFormatJsonObject | ResponseFormatJsonSchema;
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
tools?: ChatCompletionTool[];
|
|
25
40
|
};
|
|
26
41
|
//# sourceMappingURL=template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,QAAQ,EAAE,qBAAqB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/api/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;;;;OAIG;IACH,eAAe,CAAC,EACZ,kBAAkB,GAClB,wBAAwB,GACxB,wBAAwB,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ChatMessage } from './chat-message.js';
|
|
2
|
-
import type { MultiChatMessage } from './multi-chat-message.js';
|
|
3
2
|
/**
|
|
4
3
|
* Representation of the 'TemplatingChatMessage' schema.
|
|
5
4
|
* Min Items: 1.
|
|
6
5
|
*/
|
|
7
|
-
export type TemplatingChatMessage =
|
|
6
|
+
export type TemplatingChatMessage = ChatMessage[];
|
|
8
7
|
//# sourceMappingURL=templating-chat-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templating-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/templating-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD
|
|
1
|
+
{"version":3,"file":"templating-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/text-content.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,
|
|
1
|
+
{"version":3,"file":"text-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/text-content.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'ToolCallChunk' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type ToolCallChunk = {
|
|
5
|
+
index: number;
|
|
6
|
+
/**
|
|
7
|
+
* The ID of the tool call.
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
12
|
+
*/
|
|
13
|
+
type?: 'function';
|
|
14
|
+
function?: {
|
|
15
|
+
/**
|
|
16
|
+
* The name of the function to call.
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 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.
|
|
21
|
+
*/
|
|
22
|
+
arguments?: string;
|
|
23
|
+
} & Record<string, any>;
|
|
24
|
+
} & Record<string, any>;
|
|
25
|
+
//# sourceMappingURL=tool-call-chunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-call-chunk.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/tool-call-chunk.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-call-chunk.js","sourceRoot":"","sources":["../../../../src/client/api/schema/tool-call-chunk.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/orchestration",
|
|
3
|
-
"version": "1.6.1-
|
|
3
|
+
"version": "1.6.1-20250119013100.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@sap-cloud-sdk/util": "^3.25.0",
|
|
24
|
-
"@sap-ai-sdk/core": "^1.6.1-
|
|
25
|
-
"@sap-ai-sdk/ai-api": "^1.6.1-
|
|
24
|
+
"@sap-ai-sdk/core": "^1.6.1-20250119013100.0",
|
|
25
|
+
"@sap-ai-sdk/ai-api": "^1.6.1-20250119013100.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@sap-cloud-sdk/http-client": "^3.25.0",
|