# LectureLens (Mozhi): Ask Your Lectures Anything, Fully Offline with Whisper, Gemma and ChromaDB

> Source: <https://dev.to/sanjayvijay0112/lecturelens-mozhi-ask-your-lectures-anything-fully-offline-with-whisper-gemma-and-chromadb-51n3>
> Published: 2026-10-08 10:37:03+00:00

LectureLens (Mozhi) turns a lecture recording or document into a study resource. You upload audio, a PDF, a Word file, a text file or an image, choose the language, and get a summary, key terms and a quiz. Then you can ask questions, and every answer comes only from your material and shows where it came from: a timestamp for audio, a page or section for documents. If the lecture doesn't cover the question, it says so instead of guessing.

Everything runs locally on a laptop with open-source tools, with no API keys and no cloud.

[https://github.com/bavishnu11/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club](https://github.com/bavishnu11/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club)

`faster-whisper` transcribes audio with timestamps. PDFs, Word files, text files and images are read into page- or section-labelled pieces.
| Part | Tool | 
|---|---|
| Speech to text | faster-whisper | 
| LLM | Gemma via Ollama | 
| Embeddings | sentence-transformers (multilingual-e5-small) | 
| Vector store | ChromaDB | 
| UI | Gradio | 

[This runs fully open-source AI models locally—using faster-whisper for timestamped speech-to-text transcription and Gemma via Ollama for grounded Q&A, summaries, and quizzes.]

[Managing local performance constraints when running compute-heavy open-source AI models (faster-whisper and Gemma via Ollama) and ensuring strict RAG grounding. Practical experience in building modular end-to-end RAG pipelines with vector databases (ChromaDB), optimizing local multilingual embeddings, and structuring prompt constraints for accurate JSON quiz generation and local LLM orchestration.]

| Member | Contribution | 
|---|---|
| Sanjay Vijay | faster-whisper transcription, timestamps, language setting, transcript cleanup | 
| Sujithbabu S S | Chunking, embeddings, ChromaDB, search function with timestamp metadata | 
| Vishal P | Ollama setup, summary, key terms, quiz, Q&A prompt, multilingual answers | 
| S J Bavishnu | Gradio app, repo and Git workflow, README, demo video, deployment, pitch |
