Skip to content

[Backend] AGI tutor RAG pipeline over course content #406

Description

@Penielka

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

  • Course material indexed into a vector store
  • Queries retrieve relevant context before generation
  • Answers include citations to source material
  • Grounding/faithfulness metrics tracked
  • Fallback to a safe "I don't know" when confidence is low

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions