<?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: Varshita12345</title>
    <description>The latest articles on DEV Community by Varshita12345 (@varshita12345).</description>
    <link>https://dev.to/varshita12345</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%2F4188449%2F5fa8c8d8-07a5-40be-bd73-5f0b67ae7c43.png</url>
      <title>DEV Community: Varshita12345</title>
      <link>https://dev.to/varshita12345</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/varshita12345"/>
    <language>en</language>
    <item>
      <title>Document Understanding Assistant</title>
      <dc:creator>Varshita12345</dc:creator>
      <pubDate>Fri, 16 Oct 2026 09:38:58 +0000</pubDate>
      <link>https://dev.to/varshita12345/document-understanding-assistant-5gie</link>
      <guid>https://dev.to/varshita12345/document-understanding-assistant-5gie</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;h3&gt;
  
  
  📄 AI Document Understanding Assistant
&lt;/h3&gt;

&lt;p&gt;I built an AI-powered Document Understanding Assistant using open-source AI technology. It helps users understand text documents by generating summaries and answering questions about their content.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📄 Load and read text documents.&lt;/li&gt;
&lt;li&gt;📝 Generate summaries automatically.&lt;/li&gt;
&lt;li&gt;💬 Ask questions about a document and get AI-generated answers.&lt;/li&gt;
&lt;li&gt;🖥️ Use a locally running AI model through Ollama.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🛠️ &lt;strong&gt;Who is it for?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This project is useful for students, researchers, and anyone who needs to understand documents quickly without reading every line manually.&lt;/p&gt;

&lt;p&gt;💡 &lt;strong&gt;The goal:&lt;/strong&gt; Make document understanding easier and faster using local AI, without depending on a paid cloud AI API.&lt;/p&gt;

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


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Varshita12345" rel="noopener noreferrer"&gt;
        Varshita12345
      &lt;/a&gt; / &lt;a href="https://github.com/Varshita12345/document-assistant" rel="noopener noreferrer"&gt;
        document-assistant
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;AI Document Assistant&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;A Streamlit app for summarizing text documents and asking questions about them
with the Gemini API. The command-line &lt;code&gt;main.py&lt;/code&gt; remains available for local
Ollama use.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run locally&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Install the dependencies with &lt;code&gt;pip install -r requirements.txt&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create &lt;code&gt;.streamlit/secrets.toml&lt;/code&gt; with:&lt;/p&gt;
&lt;div class="highlight highlight-source-toml notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-smi"&gt;GEMINI_API_KEY&lt;/span&gt; = &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;your-Gemini-API-key&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the web app with &lt;code&gt;streamlit run app.py&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Keep the API key private. &lt;code&gt;.streamlit/secrets.toml&lt;/code&gt; is ignored by Git.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Deploy on Streamlit Community Cloud&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Push this repository to GitHub.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Sign in at &lt;a href="https://share.streamlit.io/" rel="nofollow noopener noreferrer"&gt;Streamlit Community Cloud&lt;/a&gt; with
GitHub and choose &lt;strong&gt;Create app&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;code&gt;Varshita12345/document-assistant&lt;/code&gt;, the &lt;code&gt;main&lt;/code&gt; branch, and &lt;code&gt;app.py&lt;/code&gt;
as the app file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Before deploying, open &lt;strong&gt;Advanced settings / Secrets&lt;/strong&gt; and add:&lt;/p&gt;
&lt;div class="highlight highlight-source-toml notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-smi"&gt;GEMINI_API_KEY&lt;/span&gt; = &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;your-Gemini-API-key&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Deploy. Streamlit will display the public app URL when deployment succeeds.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Varshita12345/document-assistant" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


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

&lt;p&gt;I built my AI Document Understanding Assistant using Python and open-source AI technologies.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔧 Technologies Used
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; — for the application logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt; — to run the AI model locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma (&lt;code&gt;gemma4:e2b&lt;/code&gt;)&lt;/strong&gt; — for document summarization and question answering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streamlit&lt;/strong&gt; — to build a simple web-based user interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VS Code&lt;/strong&gt; — for writing and testing the code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git and GitHub&lt;/strong&gt; — for version control and sharing the project.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚙️ How It Works
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;The user provides a text document.&lt;/li&gt;
&lt;li&gt;The application loads the document content.&lt;/li&gt;
&lt;li&gt;The content is sent to the locally running Gemma model through Ollama.&lt;/li&gt;
&lt;li&gt;The AI generates a summary or answers questions about the document.&lt;/li&gt;
&lt;li&gt;The result is displayed to the user.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I first built and tested the document-loading, summarization, and question-answering features in Python. I then started working on a Streamlit interface to make the application easier to use.&lt;/p&gt;

&lt;h3&gt;
  
  
  🌱 What I Learned
&lt;/h3&gt;

&lt;p&gt;This project helped me explore local AI inference, open-source AI models, Python development, and building practical AI-powered applications.&lt;/p&gt;

&lt;p&gt;My goal is to keep improving the project and make document understanding simpler and more accessible.&lt;/p&gt;

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

&lt;p&gt;Open innovation matters because it makes AI development more accessible to students, independent developers, and small teams.&lt;/p&gt;

&lt;p&gt;For my AI Document Understanding Assistant, using &lt;strong&gt;Ollama and the Gemma model&lt;/strong&gt; allowed me to experiment with local AI inference without relying on a paid, hosted AI API.&lt;/p&gt;

&lt;p&gt;It gave me the opportunity to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💻 Explore how AI models work locally.&lt;/li&gt;
&lt;li&gt;🔓 Build with open AI tools and learn from their ecosystems.&lt;/li&gt;
&lt;li&gt;💰 Experiment without paying per request to a cloud AI API.&lt;/li&gt;
&lt;li&gt;🔐 Keep document processing local when the application is configured to use only the local model.&lt;/li&gt;
&lt;li&gt;🚀 Build and improve a practical AI project using accessible technologies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As a student developer, open innovation helps turn ideas into working prototypes while building real-world technical skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I believe open innovation makes AI more accessible and empowers more people to create, experiment, and contribute to technology.&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  My First User 👩‍💻
&lt;/h2&gt;

&lt;p&gt;My first user was me! 🎉&lt;/p&gt;

&lt;p&gt;I tested my AI Document Understanding Assistant using a sample text document. I tried the document summarization and question-answering features to check how well the local Gemma model could understand the content.&lt;/p&gt;

&lt;p&gt;Seeing the application generate a summary and answer questions was an exciting milestone. As a student developer, this hands-on testing helped me understand how open-source AI models can be used to build practical applications.&lt;/p&gt;

&lt;p&gt;My next goal is to let other students try the assistant, collect their feedback, and improve the user experience. 🚀&lt;/p&gt;

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

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Using the Gemma open-weight AI model through Ollama for local document summarization and question answering.&amp;gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;i am the project submitter and my team member is divyagunda97-crypto&lt;/p&gt;

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