← Back to Projects
Running on a server

hoca-bot

A Telegram bot for a closed study group that answers strictly from the lecturers’ course PDFs, in the spirit of NotebookLM: every answer cites its pages, and it says plainly when the material does not cover the question.

Live — private repository
RustteloxideGeminiSQLitePoppler
Preview Surface
hoca-bot Telegram study bot that answers only from the lecturers’ course PDFs with page citations, builds quizzes from them, and posts university announcements and menus.

What You Can Explore

  • PDF ingestion with Poppler: page text, page renders and embedded figures are extracted; figures are described once and cached.
  • Grounded answers only: the model sees the retrieved course pages and must cite them; out-of-scope questions get an honest “not in the material”.
  • An evaluation set and an eval tool to measure answer quality as prompts and retrieval change.
  • Access limited to allow-listed group chats and admins; secrets come only from the environment.
  • Quizzes built from the course sources, with spaced repetition, contests and a daily quiz.
  • Reads public university pages: announcements, the academic calendar, the dining menu and sports facility availability.

Build Notes

Platform Telegram
Answers Cited pages
Status Live