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.
Installation and Setup
Register and get the Qianfan
AK
and SK
keys here.
LLMs
Baidu Qianfan
See a usage example.
from langchain_community.llms import QianfanLLMEndpoint
API Reference:QianfanLLMEndpoint
Chat models
Qianfan Chat Endpoint
See a usage example.
from langchain_community.chat_models import QianfanChatEndpoint
API Reference:QianfanChatEndpoint
Embedding models
Baidu Qianfan
See a usage example.
from langchain_community.embeddings import QianfanEmbeddingsEndpoint
API Reference:QianfanEmbeddingsEndpoint
Document loaders
Baidu BOS Directory Loader
from langchain_community.document_loaders.baiducloud_bos_directory import BaiduBOSDirectoryLoader
API Reference:BaiduBOSDirectoryLoader
Baidu BOS File Loader
from langchain_community.document_loaders.baiducloud_bos_file import BaiduBOSFileLoader
API Reference:BaiduBOSFileLoader
Vector stores
Baidu Cloud ElasticSearch VectorSearch
See a usage example.
from langchain_community.vectorstores import BESVectorStore
API Reference:BESVectorStore
Baidu VectorDB
See a usage example.
from langchain_community.vectorstores import BaiduVectorDB
API Reference:BaiduVectorDB