@sap-ai-sdk/orchestration 1.6.1-20250130013053.0 → 1.7.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 +6 -6
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ $ npm install @sap-ai-sdk/orchestration
|
|
|
34
34
|
|
|
35
35
|
- [Enable the AI Core service in SAP BTP](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup).
|
|
36
36
|
- Configure the project with **Node.js v20 or higher** and **native ESM** support.
|
|
37
|
-
- Ensure an orchestration deployment is available in the SAP Generative AI Hub.
|
|
37
|
+
- Ensure an [orchestration deployment is available in the SAP Generative AI Hub](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-orchestration).
|
|
38
38
|
- Use the [`DeploymentApi`](https://github.com/SAP/ai-sdk-js/blob/main/packages/ai-api/README.md#create-a-deployment) from `@sap-ai-sdk/ai-api` [to create a deployment](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-orchestration).
|
|
39
39
|
Alternatively, you can also create deployments using the [SAP AI Launchpad](https://help.sap.com/docs/sap-ai-core/generative-ai-hub/activate-generative-ai-hub-for-sap-ai-launchpad?locale=en-US&q=launchpad).
|
|
40
40
|
- Once the deployment is complete, access the orchestration service via the `deploymentUrl`.
|
|
@@ -243,7 +243,7 @@ It will process each image and use the information from all of them to answer th
|
|
|
243
243
|
|
|
244
244
|
Use the orchestration client with filtering to restrict content that is passed to and received from a generative AI model.
|
|
245
245
|
|
|
246
|
-
This feature allows filtering both the [input](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/
|
|
246
|
+
This feature allows filtering both the [input](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/input-filtering) and [output](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/output-filtering) of a model based on content safety criteria.
|
|
247
247
|
|
|
248
248
|
```ts
|
|
249
249
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/orchestration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"internal.d.ts"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sap-cloud-sdk/util": "^3.
|
|
24
|
-
"@sap-ai-sdk/core": "^1.
|
|
25
|
-
"@sap-ai-sdk/ai-api": "^1.
|
|
23
|
+
"@sap-cloud-sdk/util": "^3.26.0",
|
|
24
|
+
"@sap-ai-sdk/core": "^1.7.0",
|
|
25
|
+
"@sap-ai-sdk/ai-api": "^1.7.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@sap-cloud-sdk/http-client": "^3.
|
|
29
|
-
"@sap-cloud-sdk/connectivity": "^3.
|
|
28
|
+
"@sap-cloud-sdk/http-client": "^3.26.0",
|
|
29
|
+
"@sap-cloud-sdk/connectivity": "^3.26.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"compile": "tsc",
|