Skip to main content


This page covers how to use the AnalyticDB ecosystem within LangChain.


There exists a wrapper around AnalyticDB, allowing you to use it as a vectorstore, whether for semantic search or example selection.

To import this vectorstore:

from langchain_community.vectorstores import AnalyticDB

For a more detailed walkthrough of the AnalyticDB wrapper, see this notebook