mirror of
https://github.com/hwchase17/langchain
synced 2024-11-20 03:25:56 +00:00
88a8f59aa7
Hi there!
I'm excited to open this PR to add support for using a fully Postgres
syntax compatible database 'AnalyticDB' as a vector.
As AnalyticDB has been proved can be used with AutoGPT,
ChatGPT-Retrieve-Plugin, and LLama-Index, I think it is also good for
you.
AnalyticDB is a distributed Alibaba Cloud-Native vector database. It
works better when data comes to large scale. The PR includes:
- [x] A new memory: AnalyticDBVector
- [x] A suite of integration tests verifies the AnalyticDB integration
I have read your [contributing
guidelines](72b7d76d79/.github/CONTRIBUTING.md
).
And I have passed the tests below
- [x] make format
- [x] make lint
- [x] make coverage
- [x] make test
464 B
464 B
AnalyticDB
This page covers how to use the AnalyticDB ecosystem within LangChain.
VectorStore
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.vectorstores import AnalyticDB
For a more detailed walkthrough of the AnalyticDB wrapper, see this notebook