- New: src/rag/engine/ — in-process hybrid search (FTS5 BM25 + sqlite-vec + LLM rerank) - New: src/rag/qmd/ — compatibility layer (qmd_query, qmd_chat, qmd_chat_stream, qmd_index_*) - New: src/ingest/stub_writer.py — .md stubs for binary files (videos, archives) - New: scripts/deploy.sh + scripts/pull_models.sh + Makefile + .env.example - Removed: LightRAG, sentence-transformers embedding via separate package, rag_standalone/ - Removed: @nousresearch/qmd npm dep (package not published); Node.js from Dockerfile - Updated: tests/ (46 passed), docker-compose, .dockerignore, config.yaml, README Engine: in-process Python (no daemon, no npm), sentence-transformers 384-dim, RRF fusion (k=60), BM25 + vector with numpy fallback. WebSocket API unchanged. Deploy: 'git clone' + 'make init' + 'make pull-models MODELS_SOURCE=...' + 'make up'. Models (5.83 GB) live outside git; pulled via rsync from dev host.
27 lines
413 B
Plaintext
27 lines
413 B
Plaintext
fastapi
|
|
uvicorn[standard]
|
|
python-multipart
|
|
websockets
|
|
python-docx
|
|
pyyaml
|
|
whisperx
|
|
|
|
# Auth
|
|
bcrypt>=4.0.0
|
|
python-jose[cryptography]
|
|
|
|
# RAG (native Python engine: BM25/FTS5 + sqlite-vec + LLM rerank)
|
|
openai>=1.0.0
|
|
python-dotenv>=1.0.0
|
|
httpx>=0.27.0
|
|
sentence-transformers>=3.0.0
|
|
numpy>=1.24.0
|
|
rank_bm25>=0.2.2
|
|
sqlite-vec>=0.1.0
|
|
|
|
# Document ingestion
|
|
pymupdf>=1.24.0
|
|
openpyxl>=3.1.0
|
|
Pillow>=10.0.0
|
|
pytesseract>=0.3.10
|