How vishaldeo71-art/learnflow works
Learnflow is a timestamp-aware course learning assistant with a separate personalized mock-interview workflow. Learners use a video player and chat to ask questions about watched lesson content; the API imports or ingests material, retrieves eligible evidence, and returns cited responses. Interview sessions parse candidate context, generate follow-up questions, and produce a practice scorecard. The README also documents multiple model and storage options. Source excerpts are partial, so links to unsampled subsystems are included only where the README or SOURCE INDEX supports them.
Main entry points: main.py FastAPI application · retrieval.py Timestamp-aware retrieval · interview.py Interview workflow · embeddings.py Embedding providers
Components 20
Learner experience
- Learning assistant
frontend/components/Assistant.tsx - Video player
frontend/components/LessonPlayer.tsx - Video source parser
frontend/lib/video-source.ts - Server API proxy
frontend/app/api/[...path]/route.ts
API workflows
- FastAPI application
backend/app/main.py - Learning domain models
backend/app/domain.py - Language support
backend/app/languages.py
Course content
- Resource ingestion
backend/app/ingestion.py - YouTube captions
backend/app/youtube.py - AI video notes
backend/app/video_notes.py - Course and session store
backend/app/storage.py
Learning intelligence
- Embedding providers
backend/app/embeddings.py - Timestamp-aware retrieval
backend/app/retrieval.py - Source quality checks
backend/app/source_quality.py - Language model adapters
backend/app/providers.py
Interview practice
- Interview workflow
backend/app/interview.py
Other components
- Learner
- YouTube captions service
- Supabase PostgreSQL
- Hosted model services
Connections 26
- Learner → Learning assistant: asks questions
README.md - Learner → Video player: plays lesson
README.md - Video player → Video source parser: parses URL
frontend/components/LessonPlayer.tsx - Learning assistant → Server API proxy: sends requests
- Server API proxy → FastAPI application: forwards API calls
README.md - FastAPI application → Resource ingestion: parses uploads
backend/app/main.py - FastAPI application → YouTube captions: imports captions
backend/app/main.py - FastAPI application → AI video notes: generates notes
backend/app/main.py - FastAPI application → Course and session store: reads and writes
backend/app/main.py - FastAPI application → Timestamp-aware retrieval: retrieves evidence
backend/app/main.py - FastAPI application → Language model adapters: generates responses
backend/app/main.py - FastAPI application → Interview workflow: runs interviews
backend/app/main.py - FastAPI application → Embedding providers: creates embeddings
backend/app/main.py - FastAPI application → Learning domain models: uses domain types
backend/app/main.py - FastAPI application → Language support: serves languages
backend/app/main.py - Resource ingestion → Embedding providers: embeds chunks
backend/app/ingestion.py - Timestamp-aware retrieval → Embedding providers: embeds queries
backend/app/retrieval.py - Timestamp-aware retrieval → Course and session store: queries eligible chunks
backend/app/retrieval.py - Timestamp-aware retrieval → Source quality checks: filters passages
backend/app/retrieval.py - Interview workflow → Language model adapters: generates questions
backend/app/interview.py - Interview workflow → Language support: formats language
backend/app/interview.py - Interview workflow → Learning domain models: uses interview model
backend/app/interview.py - Course and session store → Supabase PostgreSQL: persists courses
README.md - YouTube captions → YouTube captions service: fetches captions
README.md - Embedding providers → Hosted model services: requests vectors
README.md - Language model adapters → Hosted model services: requests generation
README.md