> ## Documentation Index
> Fetch the complete documentation index at: https://doc.chathub.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# 文档上传

> [!NOTE]
>
> 仅适用于网页版。

ChatHub 现已支持上传多种类型的文档，作为与 AI 模型对话的上下文。这项功能让你可以为对话提供更多背景信息，帮助 AI 更好地理解内容，生成更贴切的回答。

![](https://mintcdn.com/chathub-5dac209e/ozs4YL2c0N1LB4gO/images/document-upload.png?fit=max\&auto=format\&n=ozs4YL2c0N1LB4gO\&q=85\&s=f33c1a6348845702ba058daafcdcbf89)

## 主要功能

* 支持多种文件格式：你可以上传 PDF、Doc、TXT 等多种格式的文件。
* 结合文档内容进行 AI 对话：上传的文件为 AI 模型提供上下文，让回答更有依据、更准确。
* 无缝集成：目前已支持 ChatHub [网页版](https://doc.chathub.gg/cn/overview/web-app.md)，即将支持 ChatHub 浏览器扩展。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.