A local RAG system for Sigma detection rules.
This project is under active development. Some features may be incomplete.
- Backend: FastAPI + Jinja2 templates
- Database: DuckDB (metadata, worker state, config)
- Vector Store: Qdrant (auto-managed subprocess)
- LLM: llama.cpp (runs on
127.0.0.1:8080) - RAG Pipeline: LlamaIndex
- Embeddings:
sentence-transformers/all-MiniLM-L6-v2(384-dim)
# Start server (auto-initializes on first run)
uv run python main.pyServer starts on http://localhost:7860 .
- Config managed via the web UI Config page (stored in DuckDB)
uv run pytest # Run all tests
uv run pytest tests/path -v # Single test
uv run ruff check . # Lint
uv run mypy . # TypecheckUse Icône de Pense créatif l'inspiration ampoule by Sumit Saengthong on Icon-Icons.com