<?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: Mohammed Muzamil C</title>
    <description>The latest articles on DEV Community by Mohammed Muzamil C (@notmuzzyy).</description>
    <link>https://dev.to/notmuzzyy</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%2F3958401%2F636b07b2-492a-49a7-8ac7-db7579568654.jpeg</url>
      <title>DEV Community: Mohammed Muzamil C</title>
      <link>https://dev.to/notmuzzyy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/notmuzzyy"/>
    <language>en</language>
    <item>
      <title>How We Built EduSathi, An Open-Source AI Learning Platform Using Streamlit, LangChain and FAISS</title>
      <dc:creator>Mohammed Muzamil C</dc:creator>
      <pubDate>Fri, 29 May 2026 12:03:20 +0000</pubDate>
      <link>https://dev.to/notmuzzyy/how-we-built-edusathi-an-open-source-ai-learning-platform-using-streamlit-langchain-and-faiss-201b</link>
      <guid>https://dev.to/notmuzzyy/how-we-built-edusathi-an-open-source-ai-learning-platform-using-streamlit-langchain-and-faiss-201b</guid>
      <description>&lt;h1&gt;
  
  
  How We Built EduSathi, An Open-Source AI Learning Platform Using Streamlit, LangChain and FAISS
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Over the past few months, my team and I built EduSathi, an AI-powered learning platform designed to help students study more effectively using Retrieval-Augmented Generation (RAG).&lt;/p&gt;

&lt;p&gt;The idea was simple:&lt;/p&gt;

&lt;p&gt;Students spend hours searching through PDFs, notes and study materials. We wanted to create a platform where students could upload documents, ask questions, generate quizzes and revise using flashcards.&lt;/p&gt;

&lt;p&gt;Today, EduSathi is fully open source.&lt;/p&gt;

&lt;h2&gt;
  
  
  What EduSathi Does
&lt;/h2&gt;

&lt;p&gt;EduSathi provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI Chat Tutor for document-based Q&amp;amp;A&lt;/li&gt;
&lt;li&gt;PDF upload and processing&lt;/li&gt;
&lt;li&gt;Semantic search using vector embeddings&lt;/li&gt;
&lt;li&gt;Automatic quiz generation&lt;/li&gt;
&lt;li&gt;Flashcard generation&lt;/li&gt;
&lt;li&gt;Student progress tracking&lt;/li&gt;
&lt;li&gt;Role-based authentication system&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Technology Stack
&lt;/h2&gt;

&lt;p&gt;Backend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;SQLite&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI Stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LangChain&lt;/li&gt;
&lt;li&gt;FAISS&lt;/li&gt;
&lt;li&gt;Sentence Transformers&lt;/li&gt;
&lt;li&gt;Groq LLaMA 3&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Frontend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Streamlit&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  System Architecture
&lt;/h2&gt;

&lt;p&gt;The workflow follows a RAG pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User uploads PDFs&lt;/li&gt;
&lt;li&gt;Documents are chunked into smaller sections&lt;/li&gt;
&lt;li&gt;Text embeddings are generated&lt;/li&gt;
&lt;li&gt;Embeddings are stored in FAISS&lt;/li&gt;
&lt;li&gt;Relevant chunks are retrieved based on user queries&lt;/li&gt;
&lt;li&gt;Retrieved context is sent to the LLM&lt;/li&gt;
&lt;li&gt;Responses are generated and returned to the user&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This significantly improves answer quality compared to sending raw prompts directly to an LLM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenges We Faced
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Retrieval Quality
&lt;/h3&gt;

&lt;p&gt;Initially we focused heavily on model selection.&lt;/p&gt;

&lt;p&gt;Later we discovered retrieval quality had a much bigger impact.&lt;/p&gt;

&lt;p&gt;Poor chunking and retrieval often produced inaccurate answers regardless of the model.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Authentication
&lt;/h3&gt;

&lt;p&gt;Even for a student project, authentication became more complex than expected.&lt;/p&gt;

&lt;p&gt;We implemented:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Role-based access control&lt;/li&gt;
&lt;li&gt;Secure session handling&lt;/li&gt;
&lt;li&gt;User-specific progress tracking&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Building Reliable AI Features
&lt;/h3&gt;

&lt;p&gt;Creating AI features was straightforward.&lt;/p&gt;

&lt;p&gt;Making them reliable across different documents and edge cases required much more effort.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Modular Design
&lt;/h3&gt;

&lt;p&gt;Separating ingestion, retrieval and generation components made the project easier to maintain and extend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Lessons
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Retrieval quality matters more than model size&lt;/li&gt;
&lt;li&gt;User experience matters as much as AI accuracy&lt;/li&gt;
&lt;li&gt;Modular architectures reduce future technical debt&lt;/li&gt;
&lt;li&gt;Security should be considered from the beginning&lt;/li&gt;
&lt;li&gt;AI applications require extensive testing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open Source
&lt;/h2&gt;

&lt;p&gt;EduSathi is now fully open source.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/Not-muzzyy/EduSathi" rel="noopener noreferrer"&gt;https://github.com/Not-muzzyy/EduSathi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would appreciate feedback, suggestions and contributions from the developer community.&lt;/p&gt;

&lt;p&gt;If you find the project useful, consider giving it a GitHub star.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building EduSathi taught us much more than AI development.&lt;/p&gt;

&lt;p&gt;It taught us system design, authentication, retrieval engineering, user experience and the challenges of building production-style applications.&lt;/p&gt;

&lt;p&gt;I hope sharing this journey helps other developers interested in AI-powered applications.&lt;/p&gt;

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