<?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: Abdraouf Benabdsselem</title>
    <description>The latest articles on DEV Community by Abdraouf Benabdsselem (@abderaouf-b).</description>
    <link>https://dev.to/abderaouf-b</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%2F4113923%2F7f403ebc-e580-480c-afb0-ad7c4ad718e7.jpg</url>
      <title>DEV Community: Abdraouf Benabdsselem</title>
      <link>https://dev.to/abderaouf-b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abderaouf-b"/>
    <language>en</language>
    <item>
      <title># I Built a RAG Document Assistant with FastAPI, React, FAISS and Ollama</title>
      <dc:creator>Abdraouf Benabdsselem</dc:creator>
      <pubDate>Fri, 11 Sep 2026 23:29:08 +0000</pubDate>
      <link>https://dev.to/abderaouf-b/-i-built-a-rag-document-assistant-with-fastapi-react-faiss-and-ollama-1bgj</link>
      <guid>https://dev.to/abderaouf-b/-i-built-a-rag-document-assistant-with-fastapi-react-faiss-and-ollama-1bgj</guid>
      <description>&lt;h1&gt;
  
  
  I Built a RAG Document Assistant with FastAPI, React, FAISS and Ollama
&lt;/h1&gt;

&lt;p&gt;I've been learning more about Retrieval-Augmented Generation (RAG), and I wanted to understand what actually happens inside a RAG application.&lt;/p&gt;

&lt;p&gt;So instead of building another simple chatbot, I decided to build a complete application around documents.&lt;/p&gt;

&lt;p&gt;The result is &lt;strong&gt;CloudRAG&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/abderaoufsec/CloudRAG" rel="noopener noreferrer"&gt;https://github.com/abderaoufsec/CloudRAG&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What does it do?
&lt;/h2&gt;

&lt;p&gt;The idea is straightforward.&lt;/p&gt;

&lt;p&gt;You upload documents, then ask questions about them.&lt;/p&gt;

&lt;p&gt;Instead of sending the question directly to the LLM, the application first searches the uploaded documents for relevant information. That information is then given to the LLM as context.&lt;/p&gt;

&lt;p&gt;The simplified flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Document
   ↓
Text extraction
   ↓
Chunking
   ↓
Embeddings
   ↓
FAISS
   ↓
Relevant chunks
   ↓
Ollama
   ↓
Answer + sources
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;For the backend I used:&lt;/p&gt;

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

&lt;p&gt;For the RAG pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SentenceTransformers&lt;/li&gt;
&lt;li&gt;FAISS&lt;/li&gt;
&lt;li&gt;Ollama&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For the frontend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React&lt;/li&gt;
&lt;li&gt;Vite&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also used Docker and Pytest during development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why FAISS?
&lt;/h2&gt;

&lt;p&gt;I wanted the project to work locally without depending on a paid external service.&lt;/p&gt;

&lt;p&gt;FAISS makes it possible to store and search the embeddings locally, which made it a good fit for the current version of the project.&lt;/p&gt;

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

&lt;p&gt;The biggest thing I learned is that RAG isn't simply:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Send documents to an LLM."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There are several steps that affect the final result.&lt;/p&gt;

&lt;p&gt;How you split documents matters.&lt;/p&gt;

&lt;p&gt;How you generate embeddings matters.&lt;/p&gt;

&lt;p&gt;How you retrieve relevant chunks matters.&lt;/p&gt;

&lt;p&gt;And you need a way to evaluate whether your retrieval is actually useful.&lt;/p&gt;

&lt;p&gt;That's why I also added retrieval evaluation and testing to the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about Qdrant?
&lt;/h2&gt;

&lt;p&gt;I also experimented with Qdrant Cloud and added an integration for it.&lt;/p&gt;

&lt;p&gt;However, I wasn't able to successfully deploy and validate the Qdrant part.&lt;/p&gt;

&lt;p&gt;So the current working implementation uses FAISS locally.&lt;/p&gt;

&lt;p&gt;I'd like to come back to the Qdrant deployment later and compare it with the local FAISS setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;This project was mainly a learning exercise, but it gave me a much better understanding of what goes into building a RAG application.&lt;/p&gt;

&lt;p&gt;I now have a better understanding of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;document processing&lt;/li&gt;
&lt;li&gt;chunking&lt;/li&gt;
&lt;li&gt;embeddings&lt;/li&gt;
&lt;li&gt;vector search&lt;/li&gt;
&lt;li&gt;retrieval&lt;/li&gt;
&lt;li&gt;local LLMs&lt;/li&gt;
&lt;li&gt;API design&lt;/li&gt;
&lt;li&gt;RAG evaluation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The source code is available here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/abderaoufsec/CloudRAG" rel="noopener noreferrer"&gt;https://github.com/abderaoufsec/CloudRAG&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd be happy to hear feedback, especially from people who have worked on improving RAG retrieval quality.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5tt2akgnngm50k7u1vnv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5tt2akgnngm50k7u1vnv.png" alt=" " width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>fastapi</category>
      <category>llm</category>
      <category>rag</category>
      <category>react</category>
    </item>
    <item>
      <title>Building My CCNA Packet Tracer Lab Collection</title>
      <dc:creator>Abdraouf Benabdsselem</dc:creator>
      <pubDate>Tue, 08 Sep 2026 08:50:07 +0000</pubDate>
      <link>https://dev.to/abderaouf-b/building-my-ccna-packet-tracer-lab-collection-15fd</link>
      <guid>https://dev.to/abderaouf-b/building-my-ccna-packet-tracer-lab-collection-15fd</guid>
      <description>&lt;h1&gt;
  
  
  Building My CCNA Packet Tracer Lab Collection
&lt;/h1&gt;

&lt;p&gt;I’ve started organizing my networking practice into a public GitHub repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/abderaoufsec/CCNA-PacketTracerlabs" rel="noopener noreferrer"&gt;CCNA Packet Tracer Labs&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I created this repository
&lt;/h2&gt;

&lt;p&gt;Networking concepts become easier to understand when they are tested through practical configurations and troubleshooting.&lt;/p&gt;

&lt;p&gt;Instead of keeping every exercise only on my computer, I’m organizing my Packet Tracer labs in one place so I can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Practice CCNA networking concepts&lt;/li&gt;
&lt;li&gt;Review configurations later&lt;/li&gt;
&lt;li&gt;Track my progress&lt;/li&gt;
&lt;li&gt;Document troubleshooting steps&lt;/li&gt;
&lt;li&gt;Share useful exercises with other learners&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What the repository contains
&lt;/h2&gt;

&lt;p&gt;The repository is a growing collection of Packet Tracer practice labs.&lt;/p&gt;

&lt;p&gt;Each lab may include a topology, configuration work, verification steps, and notes about the concepts being practiced.&lt;/p&gt;

&lt;p&gt;I’ll continue improving the organization and adding more exercises as I progress.&lt;/p&gt;

&lt;h2&gt;
  
  
  My learning approach
&lt;/h2&gt;

&lt;p&gt;For each lab, I try to follow this process:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understand the networking concept&lt;/li&gt;
&lt;li&gt;Build or inspect the topology&lt;/li&gt;
&lt;li&gt;Configure the devices&lt;/li&gt;
&lt;li&gt;Verify connectivity&lt;/li&gt;
&lt;li&gt;Investigate errors&lt;/li&gt;
&lt;li&gt;Document what worked and what I learned&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I plan to add
&lt;/h2&gt;

&lt;p&gt;Future updates may include more routing and switching exercises, troubleshooting scenarios, configuration notes, and explanations of the commands used.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback
&lt;/h2&gt;

&lt;p&gt;If you are also learning networking or preparing for CCNA, I would be interested in hearing which lab topics you found most useful.&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/abderaoufsec/CCNA-PacketTracerlabs" rel="noopener noreferrer"&gt;CCNA Packet Tracer Labs&lt;/a&gt; &lt;/p&gt;

</description>
      <category>networking</category>
      <category>cisco</category>
      <category>ccna</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
