@sap-ai-sdk/foundation-models 1.1.1-20241008013106.0 → 1.1.1-20241009013553.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/azure-openai/azure-openai-chat-client.d.ts +1 -1
- package/dist/azure-openai/azure-openai-chat-client.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-client.js.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-chat-completion-response.js.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.d.ts +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-client.js.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.d.ts +2 -2
- package/dist/azure-openai/azure-openai-embedding-response.d.ts.map +1 -1
- package/dist/azure-openai/azure-openai-embedding-response.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type CustomRequestConfig } from '@sap-ai-sdk/core';
|
|
2
2
|
import { type ModelDeployment } from '@sap-ai-sdk/ai-api/internal.js';
|
|
3
|
-
import type { AzureOpenAiCreateChatCompletionRequest } from './client/inference/schema/index.js';
|
|
4
3
|
import { type AzureOpenAiChatModel } from './model-types.js';
|
|
5
4
|
import { AzureOpenAiChatCompletionResponse } from './azure-openai-chat-completion-response.js';
|
|
5
|
+
import type { AzureOpenAiCreateChatCompletionRequest } from './client/inference/schema/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Azure OpenAI client for chat completion.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-chat-client.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"azure-openai-chat-client.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAc,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAEjG;;GAEG;AACH,qBAAa,qBAAqB;IAKpB,OAAO,CAAC,eAAe;IAJnC;;;OAGG;gBACiB,eAAe,EAAE,eAAe,CAAC,oBAAoB,CAAC;IAE1E;;;;;OAKG;IACG,GAAG,CACP,IAAI,EAAE,sCAAsC,EAC5C,aAAa,CAAC,EAAE,mBAAmB,GAClC,OAAO,CAAC,iCAAiC,CAAC;CAiB9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-chat-client.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"azure-openai-chat-client.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAG/F;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAKZ;IAJpB;;;OAGG;IACH,YAAoB,eAAsD;QAAtD,oBAAe,GAAf,eAAe,CAAuC;IAAG,CAAC;IAE9E;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,IAA4C,EAC5C,aAAmC;QAEnC,MAAM,YAAY,GAAG,MAAM,eAAe,CACxC,IAAI,CAAC,eAAe,EACpB,cAAc,CACf,CAAC;QACF,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,MAAM,cAAc,CACnC;YACE,GAAG,EAAE,0BAA0B,YAAY,mBAAmB;YAC9D,UAAU;YACV,aAAa;SACd,EACD,IAAI,EACJ,aAAa,CACd,CAAC;QACF,OAAO,IAAI,iCAAiC,CAAC,QAAQ,CAAC,CAAC;IACzD,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpResponse } from '@sap-cloud-sdk/http-client';
|
|
1
|
+
import type { HttpResponse } from '@sap-cloud-sdk/http-client';
|
|
2
2
|
import type { AzureOpenAiCreateChatCompletionResponse } from './client/inference/schema/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Azure OpenAI chat completion response.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-chat-completion-response.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-completion-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azure-openai-chat-completion-response.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-completion-response.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,oCAAoC,CAAC;AAOlG;;GAEG;AACH,qBAAa,iCAAiC;aAKhB,WAAW,EAAE,YAAY;IAJrD;;OAEG;IACH,SAAgB,IAAI,EAAE,uCAAuC,CAAC;gBAClC,WAAW,EAAE,YAAY;IAIrD;;;OAGG;IACH,aAAa,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;IAItC;;;;OAIG;IACH,eAAe,CACb,WAAW,SAAI,GACd,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC;IAK9C;;;;OAIG;IACH,UAAU,CAAC,WAAW,SAAI,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI;IAKtD,OAAO,CAAC,qBAAqB;CAK9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-chat-completion-response.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-completion-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azure-openai-chat-completion-response.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-chat-completion-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,MAAM,MAAM,GAAG,YAAY,CAAC;IAC1B,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE,uCAAuC;CACxD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,OAAO,iCAAiC;IAKhB;IAJ5B;;OAEG;IACa,IAAI,CAA0C;IAC9D,YAA4B,WAAyB;QAAzB,gBAAW,GAAX,WAAW,CAAc;QACnD,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAC/B,CAAC;IAED;;;OAGG;IACH,aAAa;QACX,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,eAAe,CACb,WAAW,GAAG,CAAC;QAEf,IAAI,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,UAAU,CAAC,WAAW,GAAG,CAAC;QACxB,IAAI,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC;IAC1D,CAAC;IAEO,qBAAqB,CAAC,WAAmB;QAC/C,IAAI,WAAW,GAAG,CAAC,IAAI,WAAW,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;YAC/D,MAAM,CAAC,KAAK,CAAC,gBAAgB,WAAW,oBAAoB,CAAC,CAAC;QAChE,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type CustomRequestConfig } from '@sap-ai-sdk/core';
|
|
2
2
|
import { type ModelDeployment } from '@sap-ai-sdk/ai-api/internal.js';
|
|
3
3
|
import { AzureOpenAiEmbeddingResponse } from './azure-openai-embedding-response.js';
|
|
4
|
-
import type { AzureOpenAiEmbeddingParameters } from './azure-openai-embedding-types.js';
|
|
5
4
|
import { type AzureOpenAiEmbeddingModel } from './model-types.js';
|
|
5
|
+
import type { AzureOpenAiEmbeddingParameters } from './azure-openai-embedding-types.js';
|
|
6
6
|
/**
|
|
7
7
|
* Azure OpenAI client for embeddings.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-embedding-client.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"azure-openai-embedding-client.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAc,KAAK,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAExF;;GAEG;AACH,qBAAa,0BAA0B;IAOnC,OAAO,CAAC,eAAe;IANzB;;;OAGG;gBAGO,eAAe,EAAE,eAAe,CAAC,yBAAyB,CAAC;IAGrE;;;;;OAKG;IACG,GAAG,CACP,IAAI,EAAE,8BAA8B,EACpC,aAAa,CAAC,EAAE,mBAAmB,GAClC,OAAO,CAAC,4BAA4B,CAAC;CAiBzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-embedding-client.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"azure-openai-embedding-client.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,UAAU,EAAkC,MAAM,kBAAkB,CAAC;AAG9E;;GAEG;AACH,MAAM,OAAO,0BAA0B;IAO3B;IANV;;;OAGG;IAEH,YACU,eAA2D;QAA3D,oBAAe,GAAf,eAAe,CAA4C;IAClE,CAAC;IAEJ;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,IAAoC,EACpC,aAAmC;QAEnC,MAAM,YAAY,GAAG,MAAM,eAAe,CACxC,IAAI,CAAC,eAAe,EACpB,cAAc,CACf,CAAC;QACF,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,MAAM,cAAc,CACnC;YACE,GAAG,EAAE,0BAA0B,YAAY,aAAa;YACxD,UAAU;YACV,aAAa;SACd,EACD,IAAI,EACJ,aAAa,CACd,CAAC;QACF,OAAO,IAAI,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpResponse } from '@sap-cloud-sdk/http-client';
|
|
2
|
-
import { AzureOpenAiEmbeddingOutput } from './azure-openai-embedding-types.js';
|
|
1
|
+
import type { HttpResponse } from '@sap-cloud-sdk/http-client';
|
|
2
|
+
import type { AzureOpenAiEmbeddingOutput } from './azure-openai-embedding-types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Azure OpenAI embedding response.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-embedding-response.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azure-openai-embedding-response.d.ts","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-response.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAOpF;;GAEG;AACH,qBAAa,4BAA4B;aAMX,WAAW,EAAE,YAAY;IALrD;;OAEG;IACH,SAAgB,IAAI,EAAE,0BAA0B,CAAC;gBAErB,WAAW,EAAE,YAAY;IAIrD;;;;OAIG;IACH,YAAY,CAAC,SAAS,SAAI,GAAG,MAAM,EAAE,GAAG,SAAS;IAKjD,OAAO,CAAC,mBAAmB;CAK5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-embedding-response.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azure-openai-embedding-response.js","sourceRoot":"","sources":["../../src/azure-openai/azure-openai-embedding-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,MAAM,MAAM,GAAG,YAAY,CAAC;IAC1B,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE,iCAAiC;CAClD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,OAAO,4BAA4B;IAMX;IAL5B;;OAEG;IACa,IAAI,CAA6B;IAEjD,YAA4B,WAAyB;QAAzB,gBAAW,GAAX,WAAW,CAAc;QACnD,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,YAAY,CAAC,SAAS,GAAG,CAAC;QACxB,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC9C,CAAC;IAEO,mBAAmB,CAAC,SAAiB;QAC3C,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACxD,MAAM,CAAC,KAAK,CAAC,cAAc,SAAS,oBAAoB,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/foundation-models",
|
|
3
|
-
"version": "1.1.1-
|
|
3
|
+
"version": "1.1.1-20241009013553.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"internal.d.ts"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sap-cloud-sdk/http-client": "^3.
|
|
24
|
-
"@sap-cloud-sdk/util": "^3.
|
|
25
|
-
"@sap-ai-sdk/ai-api": "^1.1.1-
|
|
26
|
-
"@sap-ai-sdk/core": "^1.1.1-
|
|
23
|
+
"@sap-cloud-sdk/http-client": "^3.22.1",
|
|
24
|
+
"@sap-cloud-sdk/util": "^3.22.1",
|
|
25
|
+
"@sap-ai-sdk/ai-api": "^1.1.1-20241009013553.0",
|
|
26
|
+
"@sap-ai-sdk/core": "^1.1.1-20241009013553.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"compile": "tsc",
|