74caa9d112
- crawler/:豆果(主)/下厨房/Bing 爬虫 + dishes.jsonl(3056 菜→9167 图映射)+ verify_repair 按 URL 重下 - retrieval/:三路检索(BM25 + 本地 BGE-M3 向量 + RRF 融合),FastAPI + 前端;写死图片目录(默认 crawler/images,可 IMAGE_DIR 覆盖)、绑 0.0.0.0 局域网访问、启动自动建索引、服务器 serve 图片 - 图片(1.7G)与向量模型(2.3G)不进 git Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9 lines
223 B
Batchfile
9 lines
223 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
cd /d %~dp0
|
|
set PYTHONUTF8=1
|
|
echo [1/2] 安装依赖(已装会秒过)...
|
|
python -m pip install -q -r requirements.txt
|
|
echo [2/2] 启动服务,浏览器打开 http://127.0.0.1:8799
|
|
python server.py
|