Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 644 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 644 Bytes

Librarian

Turn Markdown folders to RAG-enabled assistants

output_1.mp4

Approaches

  • Simple RAG
  • Fusion RAG (Generate similar queries before asking LLM)
  • Agentic RAG (Generate dummy answer before searching for better embeddings)

How to Run

with uv installed

git clone [email protected]:hmzdot/librarian.git
cd librarian

uv sync

# Set OpenAI API Key
export OPENAI_API_KEY=sk-proj-xxx

uv run src/main.py {path/to/folder} {query}
# Example: uv run src/main.py ~/Documents/Vaults/General "What should be the next step for my OCR project?"