sst 0.1.89 → 0.1.92
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/dist/vector/index.d.ts +11 -6
- package/package.json +6 -6
package/dist/vector/index.d.ts
CHANGED
|
@@ -158,13 +158,18 @@ export interface RemoveEvent {
|
|
|
158
158
|
}
|
|
159
159
|
export interface QueryResponse {
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* List of results matching the query.
|
|
162
162
|
*/
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
results: {
|
|
164
|
+
/**
|
|
165
|
+
* Metadata for the event that was provided when storing the vector.
|
|
166
|
+
*/
|
|
167
|
+
metadata: Record<string, any>;
|
|
168
|
+
/**
|
|
169
|
+
* The similarity score between the prompt and the queried vector.
|
|
170
|
+
*/
|
|
171
|
+
score: number;
|
|
172
|
+
}[];
|
|
168
173
|
}
|
|
169
174
|
export interface VectorClientResponse {
|
|
170
175
|
/**
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "sst",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.92",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": "./dist/index.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"sst-linux-x64": "0.1.
|
|
51
|
-
"sst-linux-x86": "0.1.
|
|
52
|
-
"sst-linux-arm64": "0.1.
|
|
53
|
-
"sst-darwin-x64": "0.1.
|
|
54
|
-
"sst-darwin-arm64": "0.1.
|
|
50
|
+
"sst-linux-x64": "0.1.92",
|
|
51
|
+
"sst-linux-x86": "0.1.92",
|
|
52
|
+
"sst-linux-arm64": "0.1.92",
|
|
53
|
+
"sst-darwin-x64": "0.1.92",
|
|
54
|
+
"sst-darwin-arm64": "0.1.92"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@aws-sdk/client-lambda": "3.478.0",
|