ElasticVectorSearch
features and configurations head to the API reference.
Class | Package | PY support | Package latest |
---|---|---|---|
ElasticVectorSearch | @langchain/community | ✅ |
@langchain/community
integration package.
LangChain.js accepts @elastic/elasticsearch
as the client for Elasticsearch vectorstore. You’ll need to install it 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.
ElasticVectorSearch
features and configurations head to the API reference.