<?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: Pratham Uday Pandit</title>
    <description>The latest articles on DEV Community by Pratham Uday Pandit (@prathampandit555).</description>
    <link>https://dev.to/prathampandit555</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3908721%2Fc10c8e43-5e3a-4e97-8dd5-f9dad14bb51d.png</url>
      <title>DEV Community: Pratham Uday Pandit</title>
      <link>https://dev.to/prathampandit555</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prathampandit555"/>
    <language>en</language>
    <item>
      <title>I Built an AI-Powered Indian Election Guide — Here's How</title>
      <dc:creator>Pratham Uday Pandit</dc:creator>
      <pubDate>Sat, 02 May 2026 09:25:41 +0000</pubDate>
      <link>https://dev.to/prathampandit555/i-built-an-ai-powered-indian-election-guide-heres-how-3f2j</link>
      <guid>https://dev.to/prathampandit555/i-built-an-ai-powered-indian-election-guide-heres-how-3f2j</guid>
      <description>&lt;h1&gt;
  
  
  🗳️ I Built an AI-Powered Indian Election Guide — Here's How
&lt;/h1&gt;

&lt;h2&gt;
  
  
  The Problem I Wanted to Solve
&lt;/h2&gt;

&lt;p&gt;As a student in India, I realized that most first-time voters (including myself!) don't fully understand how elections work. Existing resources are either too boring, too long, or not interactive at all.&lt;/p&gt;

&lt;p&gt;So for &lt;strong&gt;PromptWars: Build with AI&lt;/strong&gt;, I built &lt;strong&gt;VoteGuide AI&lt;/strong&gt; — an AI-powered assistant that makes understanding Indian elections simple, fun, and interactive.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://voteguide-ai.vercel.app" rel="noopener noreferrer"&gt;https://voteguide-ai.vercel.app&lt;/a&gt;&lt;br&gt;
💻 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/prathampandit555/voteguide-ai" rel="noopener noreferrer"&gt;https://github.com/prathampandit555/voteguide-ai&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 What Does VoteGuide AI Do?
&lt;/h2&gt;

&lt;p&gt;VoteGuide AI is a conversational assistant that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Guides users &lt;strong&gt;step-by-step&lt;/strong&gt; through the voting process&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personalizes&lt;/strong&gt; experience based on user role&lt;/li&gt;
&lt;li&gt;Runs &lt;strong&gt;real-life voting simulations&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Tests knowledge with &lt;strong&gt;quiz mode&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Checks &lt;strong&gt;voter eligibility&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Shares &lt;strong&gt;amazing election facts&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Supports &lt;strong&gt;Hindi language&lt;/strong&gt; 🇮🇳&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  👤 Role-Based Personalization
&lt;/h2&gt;

&lt;p&gt;One of my favorite features is role-based personalization. When you open the app, you choose who you are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌟 First-time Voter&lt;/li&gt;
&lt;li&gt;✅ Returning Voter&lt;/li&gt;
&lt;li&gt;🎓 Student&lt;/li&gt;
&lt;li&gt;🔍 Curious Citizen&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI completely changes its tone and depth based on your role. A first-time voter gets simple, encouraging, step-by-step guidance. A returning voter gets quick updates and reminders.&lt;/p&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;Technology&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;React 18&lt;/td&gt;
&lt;td&gt;Frontend UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Groq API (LLaMA 3.3 70B)&lt;/td&gt;
&lt;td&gt;AI Intelligence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Express.js&lt;/td&gt;
&lt;td&gt;Backend Proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Node.js&lt;/td&gt;
&lt;td&gt;Runtime&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel&lt;/td&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🧠 The AI Prompt Engineering
&lt;/h2&gt;

&lt;p&gt;The most important part of this project was &lt;strong&gt;prompt engineering&lt;/strong&gt;. I designed the system prompt to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Handle multiple modes (chat, quiz, simulation)&lt;/li&gt;
&lt;li&gt;Adapt to different user roles&lt;/li&gt;
&lt;li&gt;Respond in Hindi when requested&lt;/li&gt;
&lt;li&gt;Always end with follow-up options&lt;/li&gt;
&lt;li&gt;Reference official ECI guidelines&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here's a snippet of my approach:&lt;/p&gt;

&lt;p&gt;You are VoteGuide AI — an expert, friendly assistant&lt;br&gt;
helping Indian citizens understand the election process.&lt;br&gt;
VOTER ELIGIBILITY CHECKER:&lt;br&gt;
When asked about eligibility, ask questions one by one:&lt;/p&gt;

&lt;p&gt;Are you an Indian citizen?&lt;br&gt;
How old are you?&lt;br&gt;
Are you registered in the electoral roll?&lt;br&gt;
Then give a clear YES/NO result with explanation.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎮 Simulation Mode — My Favorite Feature
&lt;/h2&gt;

&lt;p&gt;The simulation mode creates real-life voting scenarios:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"It's election morning. You wake up and realize you forgot where your polling booth is. What do you do?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Users pick from 4 options and the AI gives smart feedback on wrong choices — just like a real mentor!&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building this project taught me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Prompt engineering is an art&lt;/strong&gt; — small changes make huge differences&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React + AI APIs&lt;/strong&gt; are a powerful combination&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User personalization&lt;/strong&gt; makes apps 10x better&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploying on Vercel&lt;/strong&gt; is incredibly easy&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🌟 Try It Yourself!
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://voteguide-ai.vercel.app" rel="noopener noreferrer"&gt;https://voteguide-ai.vercel.app&lt;/a&gt;&lt;br&gt;
💻 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/prathampandit555/voteguide-ai" rel="noopener noreferrer"&gt;https://github.com/prathampandit555/voteguide-ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love your feedback! What features should I add next?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with ❤️ for PromptWars: Build with AI by Pratham Pandit&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>react</category>
      <category>webdev</category>
      <category>promptwars</category>
    </item>
  </channel>
</rss>
