<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sanjay Vijay</title>
    <description>The latest articles on DEV Community by Sanjay Vijay (@sanjayvijay0112).</description>
    <link>https://dev.to/sanjayvijay0112</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Sanjay Vijay</title>
      <link>https://dev.to/sanjayvijay0112</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanjayvijay0112"/>
    <language>en</language>
    <item>
      <title>LectureLens (Mozhi): Ask Your Lectures Anything, Fully Offline with Whisper, Gemma and ChromaDB</title>
      <dc:creator>Sanjay Vijay</dc:creator>
      <pubDate>Thu, 08 Oct 2026 10:37:03 +0000</pubDate>
      <link>https://dev.to/sanjayvijay0112/lecturelens-mozhi-ask-your-lectures-anything-fully-offline-with-whisper-gemma-and-chromadb-51n3</link>
      <guid>https://dev.to/sanjayvijay0112/lecturelens-mozhi-ask-your-lectures-anything-fully-offline-with-whisper-gemma-and-chromadb-51n3</guid>
      <description>&lt;h2&gt;
  
  
  What We Built
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Everything runs locally on a laptop with open-source tools, with no API keys and no cloud.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/bavishnu11/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club" rel="noopener noreferrer"&gt;https://github.com/bavishnu11/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read:&lt;/strong&gt; &lt;code&gt;faster-whisper&lt;/code&gt; transcribes audio with timestamps. PDFs, Word files, text files and images are read into page- or section-labelled pieces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Index:&lt;/strong&gt; the text is split into chunks, embedded with a multilingual model and stored in ChromaDB.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask:&lt;/strong&gt; a question is embedded, the closest chunks are retrieved, and Gemma (running in Ollama) answers using only those chunks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cite:&lt;/strong&gt; the sources under each answer come from the retrieval step, not from the model, so they can't be invented.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Speech to text&lt;/td&gt;
&lt;td&gt;faster-whisper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM&lt;/td&gt;
&lt;td&gt;Gemma via Ollama&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Embeddings&lt;/td&gt;
&lt;td&gt;sentence-transformers (multilingual-e5-small)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vector store&lt;/td&gt;
&lt;td&gt;ChromaDB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UI&lt;/td&gt;
&lt;td&gt;Gradio&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How I Used Open Source and AI
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Challenges and What I Learned
&lt;/h2&gt;

&lt;p&gt;[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.]&lt;/p&gt;

&lt;h2&gt;
  
  
  Team
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Member&lt;/th&gt;
&lt;th&gt;Contribution&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Sanjay Vijay&lt;/td&gt;
&lt;td&gt;faster-whisper transcription, timestamps, language setting, transcript cleanup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sujithbabu S S&lt;/td&gt;
&lt;td&gt;Chunking, embeddings, ChromaDB, search function with timestamp metadata&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vishal P&lt;/td&gt;
&lt;td&gt;Ollama setup, summary, key terms, quiz, Q&amp;amp;A prompt, multilingual answers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;S J Bavishnu&lt;/td&gt;
&lt;td&gt;Gradio app, repo and Git workflow, README, demo video, deployment, pitch&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>ai</category>
      <category>python</category>
    </item>
  </channel>
</rss>
