From d2eba7a80bf03ef9000a1284281cc61a98f81bee Mon Sep 17 00:00:00 2001 From: Amit Date: Sat, 2 May 2026 22:08:36 +0530 Subject: [PATCH] Add CLAUDE.md and code flow diagram - CLAUDE.md documents run commands, uv-only dependency management, architecture, and course document format - flow_diagram.html provides a visual reference of the full RAG query flow Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 88 +++++++++ flow_diagram.html | 492 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 580 insertions(+) create mode 100644 CLAUDE.md create mode 100644 flow_diagram.html diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..cefb831a4 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,88 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Running the Application + +**Prerequisites:** Python 3.13+, `uv`, and an Anthropic API key in a `.env` file: +``` +ANTHROPIC_API_KEY=your-key-here +``` + +**Start the server:** +```bash +./run.sh +# or manually: +cd backend && uv run uvicorn app:app --reload --port 8000 +``` + +**Install / sync dependencies:** +```bash +uv sync +``` + +> **Always use `uv` for all dependency management and running Python — never use `pip`, `pip install`, or bare `python` directly.** +> - Add packages: `uv add ` +> - Remove packages: `uv remove ` +> - Sync environment: `uv sync` +> - Run a script: `uv run