@sap-ai-sdk/orchestration 1.2.1-20241111013114.0 → 1.2.1-20241113013102.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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -30,11 +30,15 @@ $ npm install @sap-ai-sdk/orchestration
30
30
  ## Prerequisites
31
31
 
32
32
  - [Enable the AI Core service in SAP BTP](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup).
33
- - Project configured with Node.js v20 or higher and native ESM support enabled.
34
- - An orchestration deployment is running.
35
- - 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 for orchestration to the SAP generative AI hub.
36
- For more information, see [here](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-orchestration).
37
- - Once a deployment is complete, the orchestration service can be accessed via the `deploymentUrl`.
33
+ - Configure the project with **Node.js v20 or higher** and **native ESM** support.
34
+ - Ensure an orchestration deployment is available in the SAP Generative AI Hub.
35
+ - 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).
36
+ 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).
37
+ - Once the deployment is complete, access the orchestration service via the `deploymentUrl`.
38
+
39
+ > **Accessing the AI Core Service via the SDK**:
40
+ > The SDK automatically retrieves the `AI Core` service credentials from the `VCAP_SERVICES` environment variable and resolves the access token needed for authentication.
41
+ > All subsequent client requests are routed to this service endpoint.
38
42
 
39
43
  ## Orchestration Service
40
44
 
@@ -297,7 +301,7 @@ const orchestrationClient = new OrchestrationClient(
297
301
  );
298
302
  ```
299
303
 
300
- The relationship between orchestration and resource groups is explained in this [section](#relationship-between-orchestration-and-resource-groups).
304
+ The relationship between orchestration and resource groups is explained [here](#relationship-between-orchestration-and-resource-groups).
301
305
 
302
306
  ### Custom Request Configuration
303
307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/orchestration",
3
- "version": "1.2.1-20241111013114.0",
3
+ "version": "1.2.1-20241113013102.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@sap-cloud-sdk/http-client": "^3.22.2",
24
24
  "@sap-cloud-sdk/util": "^3.22.2",
25
- "@sap-ai-sdk/core": "^1.2.1-20241111013114.0",
26
- "@sap-ai-sdk/ai-api": "^1.2.1-20241111013114.0"
25
+ "@sap-ai-sdk/core": "^1.2.1-20241113013102.0",
26
+ "@sap-ai-sdk/ai-api": "^1.2.1-20241113013102.0"
27
27
  },
28
28
  "scripts": {
29
29
  "compile": "tsc",