StudyBuddy Local: Your Private AI Study Partner. Your Notes Stay Yours.
Описание и применение
StudyBuddy Local – автономный помощник для студентов, который обрабатывает учебные материалы локально, создаёт векторные индексы, извлекает релевантные фрагменты и генерирует ответы, викторины и резюме, не отправляя данные в облако.
Задача
Students need a private, offline study assistant that can transform lecture notes into chat, quizzes, and summaries without uploading sensitive documents to the cloud.
Результат
The tool enables fully offline, privacy-preserving study assistance, providing grounded answers with citations, quizzes, and summaries without cloud dependencies.
Рабочий процесс
- Upload PDF/TXT to local Streamlit interface
- PyMuPDF extracts text and page metadata
- Chunker splits content into sentence-aware overlapping chunks
- Sentence Transformers generates embeddings on-device
- ChromaDB stores embeddings locally
- Student asks a question via chat interface
- Retrieval matches question to relevant chunks and returns passages
- Ollama with Qwen2.5 3B generates answer with source citations
- App displays answer, quiz, or summary
- Pydantic validates quiz output
- Pytest tests document processing, retrieval, chat, and quiz flows
Доказательства
StudyBuddy Local is a private study partner I built for a friend preparing for university exams.
Extracts text and page metadata from PDFs and text files, then splits it into overlapping, sentence-aware chunks.
Creates embeddings on-device and stores them in a local ChromaDB collection.
Generates validated multiple-choice quizzes, summaries, and revision notes using a local Ollama model (Qwen2.5 3B by default).
Keeps the interface bound to localhost, disables Streamlit usage statistics, and has no cloud fallback.
- Дата записи: 2026-10-02T18:55:55.080Z