feat: 实现 BM25 稀疏 + 稠密向量混合检索功能
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled

This commit is contained in:
2026-05-04 02:01:22 +08:00
parent 2183c901b4
commit 60afa86ded
26 changed files with 905 additions and 656 deletions

11
.gitignore vendored
View File

@@ -21,7 +21,8 @@
!test/**
!.gitea/
!.gitea/**
!download_sparse_model.py
!tools/
!tools/**
# 3. 放行必要的根目录文件
!.gitignore
@@ -29,7 +30,7 @@
!QUICKSTART.md
!REACT_MODE_SUMMARY.md
!LICENSE
!requirement.txt
!requirements.txt
!.env.docker
# ==========================================
@@ -41,12 +42,8 @@ __pycache__/
*.so
.DS_Store
# 模型目录(不提交到 Git在 Docker 构建时下载)
models/
# 包含敏感信息的环境变量配置(绝对不能传)
.env
.env.local
# 日志
*.log
@@ -54,4 +51,4 @@ app/*.log
frontend/*.log
# 测试和用户数据
data/
data/