Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何安装RAG-Anything?有哪些注意事项?

2025-08-28 48

安装RAG-Anything主要有两种方式:

推荐安装方式(PyPI)

通过pip命令可快速安装:

  • 基础版:pip install raganything
  • 完整功能版:pip install 'raganything[all]'
  • 仅图像处理:pip install 'raganything[image]'

开发模式安装

适用于二次开发场景:

  1. Cloning GitHub repositories:git clone https://github.com/HKUDS/RAG-Anything.git
  2. 进入目录执行:pip install -e '.[all]'

关键依赖配置

  • LibreOffice:必须安装以处理Office文档格式
  • API key:需配置.env文件中的OPENAI_API_KEY
  • 视觉模型:建议GPT-4o以获得最佳图像理解能力

注意:Windows/macOS/Linux系统需分别采用对应的LibreOffice安装方式。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish