@sap-ai-sdk/core 2.1.1-20251114013311.0 → 2.1.1-20251115013243.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/index.d.ts CHANGED
@@ -2,6 +2,6 @@ export type { CustomRequestConfig, EndpointOptions } from './http-client.js';
2
2
  export { executeRequest } from './http-client.js';
3
3
  export { getAiCoreDestination } from './context.js';
4
4
  export { OpenApiRequestBuilder } from './openapi-request-builder.js';
5
- export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, GcpVertexAiChatModel, AwsBedrockChatModel, AiCoreOpenSourceChatModel, PerplexityChatModel } from './model-types.js';
5
+ export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, GcpVertexAiChatModel, AwsBedrockChatModel, AiCoreOpenSourceChatModel, AiCoreOpenSourceEmbeddingModel, AwsBedrockEmbeddingModel, PerplexityChatModel } from './model-types.js';
6
6
  export { SseStream, LineDecoder, SSEDecoder } from './stream/index.js';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AASrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAWrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
@@ -15,6 +15,10 @@ export type GcpVertexAiChatModel = LiteralUnion<'gemini-2.0-flash' | 'gemini-2.0
15
15
  * AWS Bedrock models for chat completion.
16
16
  */
17
17
  export type AwsBedrockChatModel = LiteralUnion<'anthropic--claude-3-haiku' | 'anthropic--claude-3-opus' | 'anthropic--claude-3-sonnet' | 'anthropic--claude-3.5-sonnet' | 'anthropic--claude-3.7-sonnet' | 'anthropic--claude-4-opus' | 'anthropic--claude-4-sonnet' | 'amazon--nova-pro' | 'amazon--nova-lite' | 'amazon--nova-micro' | 'amazon--nova-premier'>;
18
+ /**
19
+ * AWS Bedrock models for embedding.
20
+ */
21
+ export type AwsBedrockEmbeddingModel = LiteralUnion<'amazon--titan-embed-text'>;
18
22
  /**
19
23
  * Perplexity models for chat completion.
20
24
  */
@@ -23,5 +27,9 @@ export type PerplexityChatModel = LiteralUnion<'sonar' | 'sonar-pro'>;
23
27
  * AI Core open source models for chat completion.
24
28
  */
25
29
  export type AiCoreOpenSourceChatModel = LiteralUnion<'cohere--command-a-reasoning' | 'mistralai--mistral-large-instruct' | 'mistralai--mistral-medium-instruct' | 'mistralai--mistral-small-instruct'>;
30
+ /**
31
+ * AI Core sap managed model for embedding.
32
+ */
33
+ export type AiCoreOpenSourceEmbeddingModel = LiteralUnion<'nvidia--llama-3.2-nv-embedqa-1b'>;
26
34
  export {};
27
35
  //# sourceMappingURL=model-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-types.d.ts","sourceRoot":"","sources":["../src/model-types.ts"],"names":[],"mappings":"AAAA,KAAK,YAAY,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAC3C,aAAa,GACb,QAAQ,GACR,SAAS,GACT,cAAc,GACd,cAAc,GACd,IAAI,GACJ,IAAI,GACJ,SAAS,GACT,SAAS,GACT,OAAO,GACP,YAAY,GACZ,YAAY,CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAClD,wBAAwB,GAAG,wBAAwB,CACpD,CAAC;AAEF;;GAE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AAY,CAC1C,2BAA2B,GAC3B,0BAA0B,GAC1B,4BAA4B,GAC5B,8BAA8B,GAC9B,8BAA8B,GAC9B,0BAA0B,GAC1B,4BAA4B,GAC5B,kBAAkB,GAClB,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,0BAA0B,CAAC,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,GAAG,WAAW,CAAC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAChD,6BAA6B,GAC7B,mCAAmC,GACnC,oCAAoC,GACpC,mCAAmC,CACtC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GACxC,YAAY,CAAC,iCAAiC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/core",
3
- "version": "2.1.1-20251114013311.0",
3
+ "version": "2.1.1-20251115013243.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [