Version 0.9.0
Offline‑first retrieval‑augmented generation (RAG) stack for disconnected or bandwidth‑constrained environments.
Deployable‑Knowledge bundles a local vector store, prompt management and a lightweight web UI around a pluggable large‑language model. Documents are embedded locally and queried through FastAPI endpoints which power the JavaScript front end.
- Document ingestion for PDF and plaintext sources
- ChromaDB vector store with sentence‑transformer embeddings
- Chat and search endpoints with optional streaming responses
- Configurable prompts and persona editing
- Authentication middleware with session and CSRF protection
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
make runVisit http://localhost:8000 once the server starts. ollama must be running locally and can be configured via environment variables such as OLLAMA_MODEL.
The system is split into three layers:
core/ – retrieval, prompt rendering and LLM adapters
api/ – FastAPI routers translating HTTP ↔ core
app/ – static assets and UI routes
See docs/ARCHITECTURE.md for detailed diagrams and data‑flow breakdowns.
Additional guides live in the docs/ folder:
- Create a feature branch off
main. - Add tests and run
pytestbefore submitting a pull request. - Follow the existing coding style and keep docstrings concise.
- Open a PR describing the change and link to any relevant issues.
Released under the MIT license.