deepseek知识库支持什么格式的文件上传
时间: 2025-03-01 21:50:59 浏览: 686
### DeepSeek 知识库支持的文件上传格式
DeepSeek 知识库能够处理多种常见的文档格式,以便从中提取和索引信息。具体来说,支持的文件格式包括但不限于:
- 文本文件(`.txt`)
- PDF 文件(`.pdf`)[^1]
- Microsoft Word 文档(`.doc`, `.docx`)
- Excel 表格(`.xls`, `.xlsx`)
- PowerPoint 演示文稿(`.ppt`, `.pptx`)
这些文件一旦上传至知识库,系统将会解析其内容并建立索引,从而使得后续通过关键词搜索时能高效定位相关内容。
对于每种类型的文件,DeepSeek 都具备相应的解析器来读取其中的文字和其他重要数据,确保用户的知识资产得到充分利用。
```python
supported_formats = [
"text/plain", # .txt files
"application/pdf", # .pdf files
"application/msword",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document", # .doc and .docx files
"application/vnd.ms-excel",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", # .xls and .xlsx files
"application/vnd.ms-powerpoint",
"application/vnd.openxmlformats-officedocument.presentationml.presentation" # .ppt and .pptx files
]
```
阅读全文
相关推荐


















