@upstash/vector 1.1.5 → 1.1.7
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 +4 -4
- package/dist/chunk-XN6MKCVR.mjs +761 -0
- package/dist/cloudflare.d.mts +2 -2
- package/dist/cloudflare.d.ts +2 -2
- package/dist/cloudflare.js +860 -1
- package/dist/cloudflare.mjs +81 -1
- package/dist/nodejs.d.mts +2 -2
- package/dist/nodejs.d.ts +2 -2
- package/dist/nodejs.js +839 -1
- package/dist/nodejs.mjs +60 -1
- package/dist/{vector-wT6XsV3D.d.mts → vector-gR6tGrYi.d.mts} +82 -12
- package/dist/{vector-wT6XsV3D.d.ts → vector-gR6tGrYi.d.ts} +82 -12
- package/package.json +1 -1
- package/dist/chunk-J6ZA44LH.mjs +0 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> [!NOTE]
|
|
4
4
|
> **This project is in GA Stage.**
|
|
5
5
|
>
|
|
6
|
-
> The Upstash Professional Support fully covers this project. It receives regular updates, and bug fixes.
|
|
6
|
+
> The Upstash Professional Support fully covers this project. It receives regular updates, and bug fixes.
|
|
7
7
|
> The Upstash team is committed to maintaining and improving its functionality.
|
|
8
8
|
|
|
9
9
|
`@upstash/vector` is an HTTP/REST based client for Typescript, built on top of [Upstash REST API](https://upstash.com/docs/vector/api/endpoints/).
|
|
@@ -83,7 +83,7 @@ const results = await index.query<Metadata>(
|
|
|
83
83
|
... // query embedding
|
|
84
84
|
],
|
|
85
85
|
includeVectors: true,
|
|
86
|
-
includeMetadata: true
|
|
86
|
+
includeMetadata: true,
|
|
87
87
|
topK: 1,
|
|
88
88
|
filter: "genre = 'fantasy' and title = 'Lord of the Rings'"
|
|
89
89
|
},
|
|
@@ -210,7 +210,7 @@ const results = await namespace.query<Metadata>(
|
|
|
210
210
|
... // query embedding
|
|
211
211
|
],
|
|
212
212
|
includeVectors: true,
|
|
213
|
-
includeMetadata: true
|
|
213
|
+
includeMetadata: true,
|
|
214
214
|
topK: 1,
|
|
215
215
|
filter: "genre = 'fantasy' and title = 'Lord of the Rings'"
|
|
216
216
|
},
|
|
@@ -233,7 +233,7 @@ We have a [Discord](upstash.com/discord) for common problems. If you can't find
|
|
|
233
233
|
|
|
234
234
|
## Docs
|
|
235
235
|
|
|
236
|
-
See [the documentation](https://upstash.com/docs/
|
|
236
|
+
See [the documentation](https://upstash.com/docs/vector/sdks/ts/getting-started) for details.
|
|
237
237
|
|
|
238
238
|
## Contributing
|
|
239
239
|
|