Skip to main content

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

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

Was this page helpful?


You can also leave detailed feedback on GitHub.