China Mobile ECloud VectorSearch is a fully managed, enterprise-level distributed search and analysis service. China Mobile ECloud VectorSearch provides low-cost, high-performance, and reliable retrieval and analysis platform level product services for structured/unstructured data. As a vector database , it supports multiple index types and similarity distance methods.You’ll need to install
langchain-community
with pip install -qU langchain-community
to use this integration
This notebook shows how to use functionality related to the ECloud ElasticSearch VectorStore
.
To run, you should have an China Mobile ECloud VectorSearch instance up and running:
Read the help document to quickly familiarize and configure China Mobile ECloud ElasticSearch instance.
After the instance is up and running, follow these steps to split documents, get embeddings, connect to the baidu cloud elasticsearch instance, index documents, and perform vector retrieval.
OpenAIEmbeddings
so we have to get the OpenAI API Key.