How harshkaushik2203/talk-to-my-notes works
Talk to My Notes is a personal study-prep RAG assistant: users add notes, then chat with answers grounded in those notes or quiz themselves on a selected topic. The documented workflow loads and chunks notes, embeds them into a persistent vector store, and retrieves them for grounded generation; quiz mode selects a stored chunk before generating and grading a question. The README also describes an evaluation harness for retrieval and answer quality. Edges reflect shown calls or documented architecture; unsampled integrations are not inferred.
Main entry points: app.py Streamlit app · vectorstore.py Chroma store · generate.py Grounded answers · ingest.py Load and chunk
Components 13
User experience
- Streamlit app
app.py
Knowledge preparation
- Study notes
data - Load and chunk
src/ingest.py - Add notes
src/vectorstore.py - Embeddings
src/vectorstore.py - Chroma store
src/vectorstore.py
Retrieval and generation
- Search and sample
src/vectorstore.py - Grounded answers
src/generate.py - Quiz questions
src/generate.py - Answer feedback
src/generate.py
Evaluation
- RAG evaluation
src/evaluate.py
Other components
- Student
- Groq LLM
Connections 23
- Student → Streamlit app: uses
README.md - Streamlit app → Load and chunk: loads and chunks
app.py - Load and chunk → Study notes: reads notes
src/ingest.py - Streamlit app → Chroma store: builds store
app.py - Chroma store → Load and chunk: chunks documents
src/vectorstore.py - Chroma store → Embeddings: embeds documents
README.md - Chroma store → Chroma store: persists vectors
src/vectorstore.py - Streamlit app → Add notes: adds pasted text
app.py - Streamlit app → Add notes: adds uploaded files
app.py - Add notes → Load and chunk: chunks text
src/vectorstore.py - Add notes → Chroma store: adds documents
src/vectorstore.py - Streamlit app → Grounded answers: asks question
app.py - Grounded answers → Search and sample: searches notes
src/generate.py - Search and sample → Chroma store: queries vectors
src/vectorstore.py - Grounded answers → Groq LLM: generates answer
src/generate.py - Streamlit app → Search and sample: gets random chunk
app.py - Streamlit app → Quiz questions: requests question
app.py - Quiz questions → Groq LLM: generates question
src/generate.py - Streamlit app → Answer feedback: submits answer
app.py - Answer feedback → Groq LLM: grades response
src/generate.py - RAG evaluation → Search and sample: measures retrieval
src/evaluate.py - RAG evaluation → Grounded answers: evaluates answers
src/evaluate.py - RAG evaluation → Groq LLM: scores answers
src/evaluate.py