Files
langchain/docs/versioned_docs/version-0.2.x/integrations/providers/tencent.mdx
Jacob Lee aff771923a Jacob/new docs (#20570)
Use docusaurus versioning with a callout, merged master as well

@hwchase17 @baskaryan

---------

Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
Signed-off-by: Rahul Tripathi <rauhl.psit.ec@gmail.com>
Co-authored-by: Leonid Ganeline <leo.gan.57@gmail.com>
Co-authored-by: Leonid Kuligin <lkuligin@yandex.ru>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: Nuno Campos <nuno@boringbits.io>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Martín Gotelli Ferenaz <martingotelliferenaz@gmail.com>
Co-authored-by: Fayfox <admin@fayfox.com>
Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
Co-authored-by: Dawson Bauer <105886620+djbauer2@users.noreply.github.com>
Co-authored-by: Ravindu Somawansa <ravindu.somawansa@gmail.com>
Co-authored-by: Dhruv Chawla <43818888+Dominastorm@users.noreply.github.com>
Co-authored-by: ccurme <chester.curme@gmail.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: WeichenXu <weichen.xu@databricks.com>
Co-authored-by: Benito Geordie <89472452+benitoThree@users.noreply.github.com>
Co-authored-by: kartikTAI <129414343+kartikTAI@users.noreply.github.com>
Co-authored-by: Kartik Sarangmath <kartik@thirdai.com>
Co-authored-by: Sevin F. Varoglu <sfvaroglu@octoml.ai>
Co-authored-by: MacanPN <martin.triska@gmail.com>
Co-authored-by: Prashanth Rao <35005448+prrao87@users.noreply.github.com>
Co-authored-by: Hyeongchan Kim <kozistr@gmail.com>
Co-authored-by: sdan <git@sdan.io>
Co-authored-by: Guangdong Liu <liugddx@gmail.com>
Co-authored-by: Rahul Triptahi <rahul.psit.ec@gmail.com>
Co-authored-by: Rahul Tripathi <rauhl.psit.ec@gmail.com>
Co-authored-by: pjb157 <84070455+pjb157@users.noreply.github.com>
Co-authored-by: Eun Hye Kim <ehkim1440@gmail.com>
Co-authored-by: kaijietti <43436010+kaijietti@users.noreply.github.com>
Co-authored-by: Pengcheng Liu <pcliu.fd@gmail.com>
Co-authored-by: Tomer Cagan <tomer@tomercagan.com>
Co-authored-by: Christophe Bornet <cbornet@hotmail.com>
2024-04-18 11:10:55 -07:00

96 lines
3.4 KiB
Plaintext

# Tencent
>[Tencent Holdings Ltd. (Wikipedia)](https://en.wikipedia.org/wiki/Tencent) (Chinese: 腾讯; pinyin: Téngxùn)
> is a Chinese multinational technology conglomerate and holding company headquartered
> in Shenzhen. `Tencent` is one of the highest grossing multimedia companies in the
> world based on revenue. It is also the world's largest company in the video game industry
> based on its equity investments.
## Chat model
>[Tencent's hybrid model API](https://cloud.tencent.com/document/product/1729) (`Hunyuan API`)
> implements dialogue communication, content generation,
> analysis and understanding, and can be widely used in various scenarios such as intelligent
> customer service, intelligent marketing, role playing, advertising, copyrighting, product description,
> script creation, resume generation, article writing, code generation, data analysis, and content
> analysis.
For more information, see [this notebook](/docs/integrations/chat/tencent_hunyuan)
```python
from langchain_community.chat_models import ChatHunyuan
```
## Document Loaders
### Tencent COS
>[Tencent Cloud Object Storage (COS)](https://www.tencentcloud.com/products/cos) is a distributed
> storage service that enables you to store any amount of data from anywhere via HTTP/HTTPS protocols.
> `COS` has no restrictions on data structure or format. It also has no bucket size limit and
> partition management, making it suitable for virtually any use case, such as data delivery,
> data processing, and data lakes. COS provides a web-based console, multi-language SDKs and APIs,
> command line tool, and graphical tools. It works well with Amazon S3 APIs, allowing you to quickly
> access community tools and plugins.
Install the Python SDK:
```bash
pip install cos-python-sdk-v5
```
#### Tencent COS Directory
For more information, see [this notebook](/docs/integrations/document_loaders/tencent_cos_directory)
```python
from langchain_community.document_loaders import TencentCOSDirectoryLoader
from qcloud_cos import CosConfig
```
#### Tencent COS File
For more information, see [this notebook](/docs/integrations/document_loaders/tencent_cos_file)
```python
from langchain_community.document_loaders import TencentCOSFileLoader
from qcloud_cos import CosConfig
```
## Vector Store
### Tencent VectorDB
>[Tencent Cloud VectorDB](https://www.tencentcloud.com/products/vdb) is a fully managed,
> self-developed enterprise-level distributed database service
>dedicated to storing, retrieving, and analyzing multidimensional vector data. The database supports a variety of index
>types and similarity calculation methods, and a single index supports 1 billion vectors, millions of QPS, and
>millisecond query latency. `Tencent Cloud Vector Database` can not only provide an external knowledge base for large
>models and improve the accuracy of large models' answers, but also be widely used in AI fields such as
>recommendation systems, NLP services, computer vision, and intelligent customer service.
Install the Python SDK:
```bash
pip install tcvectordb
```
For more information, see [this notebook](/docs/integrations/vectorstores/tencentvectordb)
```python
from langchain_community.vectorstores import TencentVectorDB
```
## Chat loader
### WeChat
>[WeChat](https://www.wechat.com/) or `Weixin` in Chinese is a Chinese
> instant messaging, social media, and mobile payment app developed by `Tencent`.
See a [usage example](/docs/integrations/chat_loaders/wechat).