Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

StudyBuddy Local: Your Private AI Study Partner. Your Notes Stay Yours.

说明与用途

StudyBuddy Local 是一款离线、隐私优先的学习助手,能够本地处理 PDF/TXT 文档,生成向量索引,检索相关片段,并使用本地 LLM 生成基于证据的答案、测验和摘要,完全不依赖云服务。

问题

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