You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
tanxing 7ae94654ef chore: 优化回答生成 3 days ago
.vscode initial commit 2 weeks ago
deepsearcher chore: 优化回答生成 3 days ago
docs chore: 优化回答生成 3 days ago
.gitignore initial commit 2 weeks ago
.python-version initial commit 2 weeks ago
README.md chore: 更新readme 4 days ago
main.py chore: 优化回答生成 3 days ago
pyproject.toml 移除token使用统计,简化消息发送 1 week ago
test.py chore: 优化回答生成 3 days ago
uv.lock initial commit 2 weeks ago

README.md

部署方法

环境:Ubuntu + UV + Docker

安装uv包管理器:

curl -LsSf https://astral.sh/uv/install.sh | sh

同步依赖:

uv sync

安装Milvus

首先下载安装Docker Desktop

然后获取Milvus的docker-compose.yml

wget https://github.com/milvus-io/milvus/releases/download/v2.6.0/milvus-standalone-docker-compose.yml -O docker-compose.yml

拉取并搭建镜像:

sudo docker compose -d

运行

运行以下命令启动后端

uv run main.py
(deepsearcher) [Work]tanxing:~/workspace/deep-searcher [09:11:02]$ uv run main.py
CORS is disabled.
Starting server on 0.0.0.0:8000
INFO:     Started server process [7114]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

直接访问网址即可

第一次运行需要先装载测试文件到数据库 为了测试的正常进行,请按以下信息填写文件加载的选择,都是必选,不是可选

文件路径(多个路径用逗号分隔)
docs
集合名称(可选)
default
集合描述(可选)
This is a general collection for all data

结构

接口定义在main.py 网页模板文件在deepsearcher/backend/templates/index.html