|
# Baidu |
|
|
|
>[Baidu Cloud](https: |
|
> 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](https: |
|
|
|
## LLMs |
|
|
|
### Baidu Qianfan |
|
|
|
See a [usage example](/docs/integrations/llms/baidu_qianfan_endpoint). |
|
|
|
```python |
|
from langchain_community.llms import QianfanLLMEndpoint |
|
``` |
|
|
|
## Chat models |
|
|
|
### Qianfan Chat Endpoint |
|
|
|
See a [usage example](/docs/integrations/chat/baidu_qianfan_endpoint). |
|
See another [usage example](/docs/integrations/chat/ernie). |
|
|
|
```python |
|
from langchain_community.chat_models import QianfanChatEndpoint |
|
``` |
|
|
|
## Embedding models |
|
|
|
### Baidu Qianfan |
|
|
|
See a [usage example](/docs/integrations/text_embedding/baidu_qianfan_endpoint). |
|
See another [usage example](/docs/integrations/text_embedding/ernie). |
|
|
|
```python |
|
from langchain_community.embeddings import QianfanEmbeddingsEndpoint |
|
``` |
|
|
|
## Document loaders |
|
|
|
### Baidu BOS Directory Loader |
|
|
|
```python |
|
from langchain_community.document_loaders.baiducloud_bos_directory import BaiduBOSDirectoryLoader |
|
``` |
|
|
|
### Baidu BOS File Loader |
|
|
|
```python |
|
from langchain_community.document_loaders.baiducloud_bos_file import BaiduBOSFileLoader |
|
``` |
|
|
|
## Vector stores |
|
|
|
### Baidu Cloud ElasticSearch VectorSearch |
|
|
|
See a [usage example](/docs/integrations/vectorstores/baiducloud_vector_search). |
|
|
|
```python |
|
from langchain_community.vectorstores import BESVectorStore |
|
``` |
|
|
|
### Baidu VectorDB |
|
|
|
See a [usage example](/docs/integrations/vectorstores/baiduvectordb). |
|
|
|
```python |
|
from langchain_community.vectorstores import BaiduVectorDB |
|
``` |
|
|