<?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: Vivek Singh</title>
    <description>The latest articles on DEV Community by Vivek Singh (@vivek_singh_51).</description>
    <link>https://dev.to/vivek_singh_51</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4157435%2Fb7054479-8cf4-4eae-8229-7de96421637e.png</url>
      <title>DEV Community: Vivek Singh</title>
      <link>https://dev.to/vivek_singh_51</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vivek_singh_51"/>
    <language>en</language>
    <item>
      <title>SAMJHO</title>
      <dc:creator>Vivek Singh</dc:creator>
      <pubDate>Mon, 05 Oct 2026 03:36:06 +0000</pubDate>
      <link>https://dev.to/vivek_singh_51/samjho-1bpc</link>
      <guid>https://dev.to/vivek_singh_51/samjho-1bpc</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built SAMJHO, a privacy-first, local AI document-understanding MVP designed to simplify confusing notices, policies, and forms into clear, actionable insights for everyday users.&lt;/p&gt;

&lt;p&gt;Core Components Built&lt;br&gt;
Local Document Pipeline (parser.py + OCR): Extracts text page-by-page from standard text PDFs and handles scanned image-based documents using Tesseract OCR.&lt;/p&gt;

&lt;p&gt;Local AI Engine (ai.py + Gemma 3 1B): Powered entirely offline via Ollama to generate structured JSON data—including summaries, required actions, deadlines, and costs—without relying on external proprietary APIs.&lt;/p&gt;

&lt;p&gt;Evidence Validator (evidence.py): Powers the PROVE IT feature, cross-referencing AI-generated claims directly against original document quotes to guarantee reliability and prevent hallucinations.&lt;/p&gt;

&lt;p&gt;Streamlit Interface: A simple, user-friendly UI featuring transparent processing steps, bilingual support (English and Hindi), and verifiable source inspection.&lt;/p&gt;

&lt;p&gt;By combining local open-weight models with strict evidence validation, SAMJHO bridges the gap between complex paperwork and real-world understanding while keeping all data completely offline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&amp;lt;!-- Share a deployed link or a video demo. --&amp;gt;&lt;a href="https://drive.google.com/file/d/1euuxA1SqSctYp01NZTVP9wyLy_nPUnxK/view?usp=drive_link" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1euuxA1SqSctYp01NZTVP9wyLy_nPUnxK/view?usp=drive_link&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&amp;lt;!-- Show us the code!  You can embed a GitHub repo directly into your post. --&amp;gt; &lt;a href="https://github.com/ViV1-siNgh/Samjho.git" rel="noopener noreferrer"&gt;https://github.com/ViV1-siNgh/Samjho.git&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&amp;lt;!-- Which open-source AI did you use (open-weight models, agent harnesses, frameworks, local inference), and how is your project built around it? --&amp;gt; I built SAMJHO using a strict local-first, modular architecture to ensure complete privacy and reliability.&lt;/p&gt;

&lt;p&gt;First, I created a robust document parser (parser.py) using PyMuPDF to extract text page-by-page, integrating Tesseract OCR for scanned PDFs. Next, I connected the local open-weight model Gemma 3 1B via Ollama (ai.py) to process the text offline, instructing it to return clean, structured JSON without hallucinating missing details. To guarantee accuracy, I built an evidence validator (evidence.py) that powers a "PROVE IT" feature, cross-referencing AI claims against exact document quotes. Finally, I unified the pipeline into a simple Streamlit interface offering bilingual support.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;&amp;lt;!-- Why does open innovation matter for what you built?  What did it make possible that a closed API wouldn't? --&amp;gt;Open innovation matters because complex, real-world problems—like making bureaucratic paperwork accessible to everyday people—cannot be solved in isolation. By building SAMJHO as an open-source project, open innovation drives several key benefits:&lt;/p&gt;

&lt;p&gt;Transparency and Trust: Open-source architectures allow anyone to inspect the codebase, verify that document processing happens entirely locally, and ensure that private data is never sent to external servers.&lt;/p&gt;

&lt;p&gt;Community Collaboration: It enables developers, designers, and domain experts to build upon existing foundations, share improvements, and adapt solutions to new languages, regions, or document formats.&lt;/p&gt;

&lt;p&gt;Rapid Iteration: Sharing code and methodologies openly fosters quick feedback loops, turning MVPs into reliable, robust tools much faster than closed-door development.&lt;/p&gt;

&lt;p&gt;Accessibility: Open innovation democratizes AI technology, ensuring that practical tools like evidence-backed document explainers remain free, modular, and accessible to everyone who needs them.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&amp;lt;!-- Which partner categories are you entering?  List every one that applies, or remove this section. --&amp;gt;Best Use of Tinker&lt;br&gt;
Use Thinking Machines' Tinker to fine-tune a model for a specific task, and show a clear improvement in performance, latency, or cost over a baseline.&lt;/p&gt;

&lt;p&gt;ViV1-siNgh - &lt;a href="https://github.com/ViV1-siNgh" rel="noopener noreferrer"&gt;https://github.com/ViV1-siNgh&lt;/a&gt;&lt;br&gt;
Himanshu699-cyber - &lt;a href="https://github.com/Himanshu699-cyber" rel="noopener noreferrer"&gt;https://github.com/Himanshu699-cyber&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
