mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +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](https://github.com/hwchase17/langchain/blob/72b7d76d79b0e187426787616d96257b64292119/.github/CONTRIBUTING.md). And I have passed the tests below - [x] make format - [x] make lint - [x] make coverage - [x] make test
16 lines
464 B
Markdown
16 lines
464 B
Markdown
# 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:
|
|
```python
|
|
from langchain.vectorstores import AnalyticDB
|
|
```
|
|
|
|
For a more detailed walkthrough of the AnalyticDB wrapper, see [this notebook](../modules/indexes/vectorstores/examples/analyticdb.ipynb)
|