Alibaba Cloud Opensearch is a one-stop platform to develop intelligent search services.OpenSearchwas built on the large-scale distributed search engine developed byAlibaba.OpenSearchserves more than 500 business cases in Alibaba Group and thousands of Alibaba Cloud customers.OpenSearchhelps develop search services in different search scenarios, including e-commerce, O2O, multimedia, the content industry, communities and forums, and big data query in enterprises.
OpenSearch helps you develop high-quality, maintenance-free, and high-performance intelligent search services to provide your users with high search efficiency and accuracy.
OpenSearch provides the vector search feature. In specific scenarios, especially test question search and image search scenarios, you can use the vector search feature together with the multimodal search feature to improve the accuracy of search results.
This notebook shows how to use functionality related to the Alibaba Cloud OpenSearch Vector Search Edition.
Setting up
Purchase an instance and configure it
Purchase OpenSearch Vector Search Edition from Alibaba Cloud and configure the instance according to the help documentation. To run, you should have an OpenSearch Vector Search Edition instance up and running.Alibaba Cloud OpenSearch Vector Store class
AlibabaCloudOpenSearch class supports functions:
add_textsadd_documentsfrom_textsfrom_documentssimilarity_searchasimilarity_searchsimilarity_search_by_vectorasimilarity_search_by_vectorsimilarity_search_with_relevance_scoresdelete_doc_by_texts
OpenAIEmbeddings so we have to get the OpenAI API Key.
Example
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.