File size: 1,760 Bytes
2e44b1a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# Baidu
>[Baidu Cloud](https://cloud.baidu.com/) 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](https://cloud.baidu.com/product/wenxinworkshop).
## 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
```
|