@sap-ai-sdk/document-grounding 1.9.1-20250310013026.0 → 1.9.1-20250312013127.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 +11 -13
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -51,20 +51,18 @@ In addition to the examples below, you can find more **sample code** [here](http
51
51
  ### Create a Collection
52
52
 
53
53
  ```ts
54
- import
55
- const response =
56
- await VectorApi.createCollection(
57
- {
58
- title: 'ai-sdk-js-e2e',
59
- embeddingConfig: {
60
- modelName: 'text-embedding-ada-002'
61
- },
62
- metadata: []
54
+ const response = await VectorApi.createCollection(
55
+ {
56
+ title: 'ai-sdk-js-e2e',
57
+ embeddingConfig: {
58
+ modelName: 'text-embedding-ada-002'
63
59
  },
64
- {
65
- 'AI-Resource-Group': 'default'
66
- }
67
- ).executeRaw();
60
+ metadata: []
61
+ },
62
+ {
63
+ 'AI-Resource-Group': 'default'
64
+ }
65
+ ).executeRaw();
68
66
 
69
67
  const collectionId = (response.headers.location as string).split('/').at(-2);
70
68
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/document-grounding",
3
- "version": "1.9.1-20250310013026.0",
3
+ "version": "1.9.1-20250312013127.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -22,7 +22,7 @@
22
22
  "internal.d.ts"
23
23
  ],
24
24
  "dependencies": {
25
- "@sap-ai-sdk/core": "^1.9.1-20250310013026.0"
25
+ "@sap-ai-sdk/core": "^1.9.1-20250312013127.0"
26
26
  },
27
27
  "scripts": {
28
28
  "compile": "tsc",