48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
|
|
Metadata-Version: 2.4
|
|||
|
|
Name: intelligent-knowledge-base
|
|||
|
|
Version: 0.1.0
|
|||
|
|
Summary: 智能知识库问答系统 - 端到端RAG解决方案
|
|||
|
|
Requires-Python: >=3.13
|
|||
|
|
Description-Content-Type: text/markdown
|
|||
|
|
Requires-Dist: flask>=3.1.2
|
|||
|
|
Requires-Dist: openai>=2.14.0
|
|||
|
|
Requires-Dist: pydantic>=2.12.5
|
|||
|
|
Requires-Dist: python-dotenv>=1.2.1
|
|||
|
|
Requires-Dist: chromadb>=0.5.0
|
|||
|
|
Requires-Dist: langchain>=0.2.0
|
|||
|
|
Requires-Dist: langchain-community>=0.2.0
|
|||
|
|
Requires-Dist: langchain-openai>=0.1.0
|
|||
|
|
Requires-Dist: pypdf>=4.0.0
|
|||
|
|
Requires-Dist: docx2txt>=0.8
|
|||
|
|
Requires-Dist: numpy>=1.26.0
|
|||
|
|
Requires-Dist: tqdm>=4.66.0
|
|||
|
|
Requires-Dist: scikit-learn>=1.4.0
|
|||
|
|
Requires-Dist: jieba>=0.42.1
|
|||
|
|
Requires-Dist: whoosh>=2.7.4
|
|||
|
|
|
|||
|
|
# 运行说明
|
|||
|
|
|
|||
|
|
## 方法一:使用虚拟环境
|
|||
|
|
|
|||
|
|
1. 激活虚拟环境:
|
|||
|
|
```bash
|
|||
|
|
source .venv/bin/activate
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
2. 运行脚本:
|
|||
|
|
```bash
|
|||
|
|
python main.py
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## 方法二:直接使用虚拟环境的 Python 解释器
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
.venv/bin/python main.py
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## 注意事项
|
|||
|
|
|
|||
|
|
- `.env` 文件已包含 DeepSeek API Key,无需修改
|
|||
|
|
- 虚拟环境中已安装所有必要的依赖包(openai、dotenv 等)
|
|||
|
|
- 确保在 `test` 目录下运行命令
|