Skip to main content
Open on GitHub

Baidu

Baidu Cloud is a cloud service provided by Baidu, Inc., headquartered in Beijing. It offers a cloud storage service, client software, file management, resource sharing, and Third Party Integration.

安装与设置

注册并获取 Qianfan AKSK 密钥 这里

LLMs

百度千帆

查看一个 使用示例

from langchain_community.llms import QianfanLLMEndpoint
API 参考:QianfanLLMEndpoint

聊天模型

千帆聊天端点

查看一个 使用示例。 再看一个 使用示例

from langchain_community.chat_models import QianfanChatEndpoint
API 参考:QianfanChatEndpoint

嵌入模型

百度千帆

查看一个 使用示例。 再看一个 使用示例

from langchain_community.embeddings import QianfanEmbeddingsEndpoint

文档加载器

百度 BOS 目录加载器

from langchain_community.document_loaders.baiducloud_bos_directory import BaiduBOSDirectoryLoader

百度 BOS 文件加载器

from langchain_community.document_loaders.baiducloud_bos_file import BaiduBOSFileLoader
API 参考:BaiduBOSFileLoader

向量存储

百度云弹性搜索向量搜索

查看一个 使用示例

from langchain_community.vectorstores import BESVectorStore
API 参考:BESVectorStore

百度向量数据库

查看一个 使用示例

from langchain_community.vectorstores import BaiduVectorDB
API 参考:BaiduVectorDB