Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bool1020 committed Mar 1, 2024
1 parent 2376c9f commit 3297fd5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ cd backend
```
pip install -r requirements.txt
```
如果你是在linux操作系统下,你可以安装vllm
```
pip install vllm
```
### Step 3
如果此时你还没有初始化过向量数据库,将文件放入**backend/knowledge_base/content/{知识库名称}**中,然后执行以下代码
```
Expand All @@ -38,5 +42,10 @@ python init_faiss.py
```
python init_model.py
```
如果你是在linux操作系统下,你可以使用vllm启动大模型
```
cd ~
./init_model.sh
```
### Step 5
修改main.py并运行

0 comments on commit 3297fd5

Please sign in to comment.