Skip to main content
Open on GitHub

AnalyticDB

AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehousing service from Alibaba Cloud that is designed to analyze large volumes of data online.

AnalyticDB for PostgreSQL is developed based on the open-source Greenplum Database project and is enhanced with in-depth extensions by Alibaba Cloud. AnalyticDB for PostgreSQL is compatible with the ANSI SQL 2003 syntax and the PostgreSQL and Oracle database ecosystems. AnalyticDB for PostgreSQL also supports row store and column store. AnalyticDB for PostgreSQL processes petabytes of data offline at a high performance level and supports highly concurrent.

本页面介绍如何在 LangChain 中使用 AnalyticDB 生态系统。

安装与设置

你需要安装 sqlalchemy Python 包。

pip install sqlalchemy

VectorStore

查看一个 使用示例

from langchain_community.vectorstores import AnalyticDB
API 参考:AnalyticDB