@sap-ai-sdk/foundation-models 1.10.1-20250403013136.0 → 1.10.1-20250404013149.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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -269,7 +269,7 @@ When initializing the `AzureOpenAiChatClient` and `AzureOpenAiEmbeddingClient` c
|
|
|
269
269
|
For example, when targeting a destination with the name `my-destination`, the following code can be used:
|
|
270
270
|
|
|
271
271
|
```ts
|
|
272
|
-
const client = await new AzureOpenAiChatClient('gpt-
|
|
272
|
+
const client = await new AzureOpenAiChatClient('gpt-4o', {
|
|
273
273
|
destinationName: 'my-destination'
|
|
274
274
|
});
|
|
275
275
|
```
|
|
@@ -285,7 +285,7 @@ In case this behavior causes issues in your application, you can overwrite the A
|
|
|
285
285
|
To do this, set the `api-version` parameter in the `CustomRequestConfig` object, like the following:
|
|
286
286
|
|
|
287
287
|
```ts
|
|
288
|
-
const client = await new AzureOpenAiChatClient('gpt-
|
|
288
|
+
const client = await new AzureOpenAiChatClient('gpt-4o', {
|
|
289
289
|
destinationName: 'my-destination'
|
|
290
290
|
});
|
|
291
291
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/foundation-models",
|
|
3
|
-
"version": "1.10.1-
|
|
3
|
+
"version": "1.10.1-20250404013149.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@sap-cloud-sdk/http-client": "^4.0.2",
|
|
24
24
|
"@sap-cloud-sdk/util": "^4.0.2",
|
|
25
25
|
"@sap-cloud-sdk/connectivity": "^4.0.2",
|
|
26
|
-
"@sap-ai-sdk/ai-api": "^1.10.1-
|
|
27
|
-
"@sap-ai-sdk/core": "^1.10.1-
|
|
26
|
+
"@sap-ai-sdk/ai-api": "^1.10.1-20250404013149.0",
|
|
27
|
+
"@sap-ai-sdk/core": "^1.10.1-20250404013149.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"compile": "tsc",
|