<?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: Dooa Ansaari</title>
    <description>The latest articles on DEV Community by Dooa Ansaari (@dooaansari).</description>
    <link>https://dev.to/dooaansari</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%2F4164865%2Fb3ae355e-d342-458b-8b1d-501766920859.jpg</url>
      <title>DEV Community: Dooa Ansaari</title>
      <link>https://dev.to/dooaansari</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dooaansari"/>
    <language>en</language>
    <item>
      <title>Learning AI as a software developer</title>
      <dc:creator>Dooa Ansaari</dc:creator>
      <pubDate>Wed, 07 Oct 2026 17:14:56 +0000</pubDate>
      <link>https://dev.to/dooaansari/learning-ai-as-a-software-developer-11</link>
      <guid>https://dev.to/dooaansari/learning-ai-as-a-software-developer-11</guid>
      <description>&lt;p&gt;I've been writing software for years – 10 years now – starting with the blue screen of &lt;strong&gt;Turbo C&lt;/strong&gt;, &lt;strong&gt;Android&lt;/strong&gt;, &lt;strong&gt;React&lt;/strong&gt; and now &lt;strong&gt;AI&lt;/strong&gt;. Assisted AI development is not an issue, but applied AI, LLM integrations, RAG, tuning, etc., seem like a whole different world to me. &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%2Fm5oh6vvr4rti5ejea6kd.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%2Fm5oh6vvr4rti5ejea6kd.png" alt="Turbo C Image with Hello AI" width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I ask myself this question every day, and a lot of times, do I need to learn all of this? Am I afraid of being left behind or being archived like an old library? Anyways, I'm finding time to build small things on AI.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I have recently started to learn the concepts of &lt;em&gt;RAG&lt;/em&gt;, embeddings and &lt;em&gt;LLM&lt;/em&gt; integrations. I came across &lt;em&gt;GraphRAG&lt;/em&gt; as well, which seemed like an awesome idea. &lt;/p&gt;

&lt;p&gt;GraphRAG was actually more interesting and surprising for me, trying to understand how link traversal works and how indexing happens. &lt;/p&gt;

&lt;p&gt;To really see the process, I built &lt;a href="https://github.com/dooa-ansari/GraphRag-Chats" rel="noopener noreferrer"&gt;GraphRAG Chats&lt;/a&gt;, an open-source React Flow app. You draw a graph by hand, prepare it for search, ask it a question, and watch which nodes and relationships the answer came from.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  1. GraphRAG
&lt;/h2&gt;

&lt;p&gt;RAG (retrieval-augmented generation) means the AI looks things up in your data before it answers. Plain RAG finds text chunks that are similar to the question.&lt;/p&gt;

&lt;p&gt;GraphRAG adds relationships. Your data lives in a graph database such as &lt;strong&gt;Neo4j&lt;/strong&gt;, as nodes. Neo4j can also store embeddings in a vector index, so one database handles both parts: finding the right starting node by meaning and then following its relationships. &lt;/p&gt;

&lt;h2&gt;
  
  
  2. Embeddings
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What are embeddings?&lt;/strong&gt; Numbers. A list of a few hundred or a few thousand of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What do the numbers mean?&lt;/strong&gt; They capture the &lt;em&gt;meaning&lt;/em&gt; of a piece of text. Texts with a similar meaning get similar numbers, so you can measure how close two meanings are.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where does the text come from?&lt;/strong&gt; From your own data. You turn each piece of data into a plain, human-readable sentence first, for example, "Ben is a person. Backend engineer," and send that text to an embedding model.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Process Step by Step
&lt;/h2&gt;

&lt;p&gt;&lt;u&gt;Preparing the data (done once):&lt;/u&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create the graph and define all your relationships properly.&lt;/li&gt;
&lt;li&gt;Save it to a graph database (Neo4j in my case).&lt;/li&gt;
&lt;li&gt;Turn each node into readable text.&lt;/li&gt;
&lt;li&gt;Send that text to an embedding model, and store the embedding on each node in Neo4j's vector index.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;u&gt;Answering a question (done every time):&lt;/u&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Turn the question into an embedding with the same model.&lt;/li&gt;
&lt;li&gt;Use vector search to find the nodes whose embeddings are closest to the question. These are the starting points.&lt;/li&gt;
&lt;li&gt;Traverse the graph from those nodes to collect their relationships and neighbours.&lt;/li&gt;
&lt;li&gt;Send the question plus everything found to an LLM, which writes the answer.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 8&lt;/strong&gt; is the "generation" in retrieval-augmented generation. The LLM only writes the answer; the graph decides what facts it gets to see.&lt;/p&gt;

&lt;p&gt;Most of this turned out to be skills I already had as a developer: modelling data, calling APIs, storing things in a database, and debugging when the result is wrong. The new part is a handful of concepts, and they click much faster when you can see them happen.&lt;/p&gt;

&lt;p&gt;I would recommend that other developers as well learn by building and do not hesitate to make mistakes. AI transformation is a difficult time, but let's go through it by keeping up with it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/dooa-ansari/GraphRag-Chats" rel="noopener noreferrer"&gt;GitHub Project&lt;/a&gt;&lt;br&gt;
&lt;a href="https://rehbarai.com" rel="noopener noreferrer"&gt;Course Link&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
