Examples
Runnable examples live in examples/:
local_search.py: local retrieval without an LLMcallable_llm.py: answer generation with a Python callablepersistent_sqlite_index.py: persistent local indexingopenai_adapter.py: optional OpenAI integration
Run an example from the repository root:
uv run python examples/local_search.py
The CLI also supports quick local inspection:
uv run rag inspect examples/sample_notes.md
uv run rag chunk examples/sample_notes.md --json
uv run rag search examples/sample_notes.md "topic particles"