<?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: Pheonix Coder 🐦‍🔥</title>
    <description>The latest articles on DEV Community by Pheonix Coder 🐦‍🔥 (@pheonixcoder_56).</description>
    <link>https://dev.to/pheonixcoder_56</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%2F2019944%2F2e250e25-b592-4b4b-bed0-231c0cfcc1fc.jpeg</url>
      <title>DEV Community: Pheonix Coder 🐦‍🔥</title>
      <link>https://dev.to/pheonixcoder_56</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pheonixcoder_56"/>
    <language>en</language>
    <item>
      <title>Building a KB Manager using MindsDB</title>
      <dc:creator>Pheonix Coder 🐦‍🔥</dc:creator>
      <pubDate>Tue, 24 Jun 2025 05:33:18 +0000</pubDate>
      <link>https://dev.to/pheonixcoder_56/building-a-kb-manager-using-mindsdb-3h36</link>
      <guid>https://dev.to/pheonixcoder_56/building-a-kb-manager-using-mindsdb-3h36</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;I recently participated in &lt;a href="https://quira.sh/quests/creator/details?questId=19" rel="noopener noreferrer"&gt;Quira Quest 19&lt;/a&gt;. For Challenge 1, I built a basic CLI app that connects with MindsDB's Knowledge Bases and Agents.&lt;/p&gt;

&lt;p&gt;Here's the repo:&lt;br&gt;
&lt;strong&gt;&lt;a href="https://github.com/pheonix-coder/kb-manager" rel="noopener noreferrer"&gt;https://github.com/pheonix-coder/kb-manager&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's a small CLI app using &lt;a href="https://github.com/tiangolo/typer" rel="noopener noreferrer"&gt;Typer&lt;/a&gt;. Under the hood, it just runs SQL queries against MindsDB. I kept it modular, so people can reuse the commands and plug them into other apps or scripts. Just enough to show how the pieces fit together in a real system.&lt;/p&gt;

&lt;p&gt;You can do the following from the CLI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a knowledge base (KB) with metadata and embedding configs&lt;/li&gt;
&lt;li&gt;Ingest CSV data&lt;/li&gt;
&lt;li&gt;Run semantic search queries&lt;/li&gt;
&lt;li&gt;Summarize the KB using OpenAI (GPT-3.5)&lt;/li&gt;
&lt;li&gt;Create a chat agent connected to the KB&lt;/li&gt;
&lt;li&gt;Chat with the agent and get responses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All the setup steps are in the README:&lt;br&gt;
&lt;strong&gt;&lt;a href="https://github.com/pheonix-coder/kb-manager#%EF%B8%8F-setup" rel="noopener noreferrer"&gt;https://github.com/pheonix-coder/kb-manager#️-setup&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Why I Built It
&lt;/h3&gt;

&lt;p&gt;Mostly to get a feel for how MindsDB actually handles knowledge and agents behind the scenes. The docs give you the high-level picture, but I wanted to run stuff directly and see the full flow: from raw data to intelligent agent responses.&lt;/p&gt;

&lt;p&gt;I didn't want to build a fancy frontend. Just CLI + some color output and animations. Something you can fire up in a terminal and see results fast.&lt;/p&gt;




&lt;h3&gt;
  
  
  What This Is Useful For
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You want to test the KB → Embedding → Search pipeline&lt;/li&gt;
&lt;li&gt;You’re debugging prompts or trying different embedding models&lt;/li&gt;
&lt;li&gt;You want to show someone how this stuff works (dev, investor, teammate)&lt;/li&gt;
&lt;li&gt;You want to build something minimal to summarize text datasets&lt;/li&gt;
&lt;li&gt;You just want to learn MindsDB quickly and don’t like clicking through dashboards&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Realistic Use Cases
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Internal KB from CSV/Docs&lt;/strong&gt;&lt;br&gt;
Let’s say you have a bunch of customer quotes or logs. You can just ingest them and start querying with natural language. No dashboard, no API keys to manage — just the CLI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Search Your Data in Plain English&lt;/strong&gt;&lt;br&gt;
Run &lt;code&gt;query-kb&lt;/code&gt; and type something like:&lt;br&gt;
&lt;code&gt;ways to live life&lt;/code&gt;&lt;br&gt;
You’ll get results based on semantic similarity. (Like Einstein quotes.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Summarize Big Datasets&lt;/strong&gt;&lt;br&gt;
Run &lt;code&gt;summarize-kb&lt;/code&gt; on a 2,000-row CSV, and get a 2-line summary. Useful if you don’t want to read through the whole thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Agents That Actually Know Your Data&lt;/strong&gt;&lt;br&gt;
Create a chatbot that only responds based on the KB content.&lt;br&gt;
So you can ask: “What did Einstein say about imagination?” — and it only pulls from your dataset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Demo or Teaching Tool&lt;/strong&gt;&lt;br&gt;
This CLI is good for showing how vector search and agents work without spinning up a web app. Great for product teams, new devs, or anyone learning LLMs + vector DBs.&lt;/p&gt;




&lt;h3&gt;
  
  
  Demo Video
&lt;/h3&gt;

&lt;p&gt;If you want to see it in action, here’s a quick demo:&lt;br&gt;
&lt;strong&gt;&lt;a href="https://www.youtube.com/watch?v=K-cufogVz0Q" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=K-cufogVz0Q&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;That’s it. Not a big project, but helped me understand a lot.&lt;/p&gt;

&lt;p&gt;If this kind of thing interests you, follow me here:&lt;br&gt;
&lt;strong&gt;&lt;a href="https://x.com/pheonix_coder" rel="noopener noreferrer"&gt;https://x.com/pheonix_coder&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>mindsdb</category>
      <category>quira</category>
      <category>ai</category>
      <category>kb</category>
    </item>
  </channel>
</rss>
