Chroma
Chroma is a database for building AI applications with embeddings.
安装与设置
pip install langchain-chroma
VectorStore
存在一个围绕 Chroma 向量数据库的封装器,允许你将其用作向量存储,无论是用于语义搜索还是示例选择。
from langchain_chroma import Chroma
有关Chroma包装器的更详细说明,请参见 此笔记本
检索器
查看一个 使用示例。
from langchain.retrievers import SelfQueryRetriever
API 参考:SelfQueryRetriever