Overview
The AGI tutor currently answers from a static surface. Build a retrieval-augmented generation (RAG) pipeline: ingest course material into a vector store, retrieve relevant context per question, and ground answers with citations.
Acceptance Criteria
Files to Modify
backend/src/services/tutor/ — RAG pipeline
backend/src/workers/indexingJob.ts — content indexing
backend/src/routes/agiTutor.ts — extend endpoints
docker-compose.yml — vector store container
Priority: High
Overview
The AGI tutor currently answers from a static surface. Build a retrieval-augmented generation (RAG) pipeline: ingest course material into a vector store, retrieve relevant context per question, and ground answers with citations.
Acceptance Criteria
Files to Modify
backend/src/services/tutor/— RAG pipelinebackend/src/workers/indexingJob.ts— content indexingbackend/src/routes/agiTutor.ts— extend endpointsdocker-compose.yml— vector store containerPriority: High