@sap-ai-sdk/orchestration 1.6.1-20250124013101.0 → 1.6.1-20250126013051.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 +9 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -353,19 +353,25 @@ const orchestrationClient = new OrchestrationClient({
353
353
  output_param: 'groundingOutput',
354
354
  filters: [
355
355
  {
356
- id: 'filter1',
357
- data_repositories: ['repository-id']
356
+ id: 'FILTER_ID',
357
+ // data_repository_type: 'vector', // optional, default value is 'vector'
358
+ data_repositories: ['REPOSITORY_ID'],
358
359
  }
359
360
  ],
360
361
  )
361
362
  });
362
363
 
363
364
  const response = await orchestrationClient.chatCompletion({
364
- inputParams: { groundingRequest: 'What is Generative AI Hub in SAP AI Core?' }
365
+ inputParams: { groundingRequest: 'Give me a short introduction of SAP AI Core.' }
365
366
  });
366
367
  return response.getContent();
367
368
  ```
368
369
 
370
+ By default, the optional filter property `data_repository_type` is set to `vector`.
371
+ Set it to `help.sap.com` to retrieve context from the SAP Help Portal.
372
+ Set `data_respotiories` property with an array of `REPOSITORY_ID` values to search in specific data repositories.
373
+ Skip this property to search in all available data repositories.
374
+
369
375
  ### Using a JSON Configuration from AI Launchpad
370
376
 
371
377
  If you already have an orchestration workflow created in AI Launchpad, you can either download the configuration as a JSON file or copy the JSON string directly to use it with the orchestration client.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/orchestration",
3
- "version": "1.6.1-20250124013101.0",
3
+ "version": "1.6.1-20250126013051.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@sap-cloud-sdk/util": "^3.25.0",
24
- "@sap-ai-sdk/core": "^1.6.1-20250124013101.0",
25
- "@sap-ai-sdk/ai-api": "^1.6.1-20250124013101.0"
24
+ "@sap-ai-sdk/core": "^1.6.1-20250126013051.0",
25
+ "@sap-ai-sdk/ai-api": "^1.6.1-20250126013051.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@sap-cloud-sdk/http-client": "^3.25.0",