UpstashVectorStore
features and configurations head to the API reference.
Class | Package | PY support | Package latest |
---|---|---|---|
UpstashVectorStore | @langchain/community | ✅ |
@langchain/community
integration package. You’ll also need to install the @upstash/vector
package as a peer dependency.
This guide will also use OpenAI embeddings, which require you to install the @langchain/openai
integration package. You can also use other supported embeddings models if you wish.
text-embedding-3-small
is 1536.
FakeEmbeddings
instance to the UpstashVectorStore
constructor. This will make the UpstashVectorStore
use the built-in embeddings, which you selected when creating the index.
UpstashVectorStore
features and configurations head to the API reference.