<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 🚀 Quest 5 Submission: Intelligent RAG Knowledge-Base &amp;amp; Note-Taking Workspace in Databricks Free Edition Help</title>
    <link>https://community.databricks.com/t5/databricks-free-edition-help/quest-5-submission-intelligent-rag-knowledge-base-amp-note/m-p/168274#M906</link>
    <description>&lt;P&gt;Hi everyone! &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am thrilled to share my final submission for &lt;STRONG&gt;Databricks AppKit Quest 5&lt;/STRONG&gt;! I took the initial starter template and evolved it into a full-fledged, serverless &lt;STRONG&gt;Intelligent Knowledge-Base&lt;/STRONG&gt; powered by Databricks Apps, Lakebase, and Foundation Model Serving.&lt;/P&gt;&lt;P&gt;Here is my project: &lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; &lt;STRONG&gt;Live Deployed App:&lt;/STRONG&gt; &lt;A href="https://my-databricks-app-7474654586328503.aws.databricksapps.com/lakebase" target="_blank" rel="noopener"&gt;https://my-databricks-app-7474654586328503.aws.databricksapps.com/lakebase&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt; &lt;STRONG&gt;YouTube Demo Video:&lt;/STRONG&gt; &lt;A href="https://youtu.be/n8nmNVhKEdg?si=leKi5vBQKmeYzBzJ" target="_blank" rel="noopener"&gt;https://youtu.be/n8nmNVhKEdg?si=leKi5vBQKmeYzBzJ&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; Going the Extra Mile (Training Voucher Eligibility)&lt;/H3&gt;&lt;P&gt;To qualify for the Databricks training vouchers, I wanted to really push the boundaries of what this app could do. I implemented &lt;STRONG&gt;five significant custom features&lt;/STRONG&gt; beyond the basic requirements:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Dual-Pane Markdown Engine:&lt;/STRONG&gt; A fully functional Markdown editor with a live HTML preview tab to format notes professionally.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Focus Time Tracker:&lt;/STRONG&gt; An integrated session stopwatch that tracks your active study/work time on a specific note and persists it directly to Lakebase PostgreSQL.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bidirectional Note Linking:&lt;/STRONG&gt; A cross-referencing system that allows users to link related notes together, creating a navigable knowledge graph.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tokenized RAG Assistant:&lt;/STRONG&gt; An AI agent that parses natural language questions (dropping stop words), searches Lakebase in real-time, summarizes insights, and provides clickable source citations.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Advanced Tagging &amp;amp; Priority:&lt;/STRONG&gt; Visual priority badges and a dynamic tagging system for better organization.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":robot_face:"&gt;🤖&lt;/span&gt; Agents, Prompts &amp;amp; How I Built It&lt;/H3&gt;&lt;P&gt;&lt;STRONG&gt;The Agent I Used:&lt;/STRONG&gt; I used &lt;STRONG&gt;Gemini&lt;/STRONG&gt; as my primary coding assistant and thought partner throughout this quest to iteratively build, debug, and deploy the application.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Prompting Strategy:&lt;/STRONG&gt; Instead of asking for everything at once, I used an &lt;STRONG&gt;Iterative Specification Prompting&lt;/STRONG&gt; approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Template Injection:&lt;/I&gt; I fed the agent the DevHub RAG_TEMPLATE.md and told it: &lt;I&gt;"Base the AI Assistant RAG on this template, and update my PLAN.md to reflect this new architecture."&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Modular Planning:&lt;/I&gt; I prompted the agent to break the build into three distinct plans: 01-database-and-schema.md, 02-rag-assistant-service.md, and 03-frontend-ux.md.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Targeted Debugging Prompts:&lt;/I&gt; When I hit roadblocks, I used specific diagnostic prompts like: &lt;I&gt;"My app fails to deploy with a '42501: must be owner of schema app' error in the SQL Editor. How do I fix the Service Principal permissions?"&lt;/I&gt; and &lt;I&gt;"The RAG agent is doing an exact substring match and failing on natural language. Write a script to patch the backend SQL query to tokenize keywords instead."&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;How I Achieved the Tasks:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Schema Evolution:&lt;/STRONG&gt; I first expanded the basic Lakebase schema to include tables for notes, tags, note_tags, and note_links with cascading deletes.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Frontend UI/UX:&lt;/STRONG&gt; I completely redesigned the React frontend, adding the Markdown toggle (marked.parse), the interactive timer, and a dedicated RAG drawer.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Overcoming RAG Limitations:&lt;/STRONG&gt; The biggest challenge was making the RAG agent understand conversational questions. I patched the backend to filter out stop-words (like "what", "is", "about") and dynamically build a parameterized ILIKE SQL query for the remaining tokens.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Deployment:&lt;/STRONG&gt; After clearing up the local vs. Service Principal ownership conflicts in the Databricks SQL Editor by dropping the legacy tables, I successfully pushed everything to production using databricks apps deploy.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A huge thank you to the Databricks and AngelHack teams for putting together this incredible AppQuest. It was a fantastic hands-on experience with Lakehouse architecture!&lt;/P&gt;&lt;P&gt;#Databricks #DatabricksAppKit #GenerativeAI #Lakehouse #RAG #Serverless&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2026 18:17:24 GMT</pubDate>
    <dc:creator>User_sky</dc:creator>
    <dc:date>2026-09-10T18:17:24Z</dc:date>
    <item>
      <title>🚀 Quest 5 Submission: Intelligent RAG Knowledge-Base &amp; Note-Taking Workspace</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/quest-5-submission-intelligent-rag-knowledge-base-amp-note/m-p/168274#M906</link>
      <description>&lt;P&gt;Hi everyone! &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am thrilled to share my final submission for &lt;STRONG&gt;Databricks AppKit Quest 5&lt;/STRONG&gt;! I took the initial starter template and evolved it into a full-fledged, serverless &lt;STRONG&gt;Intelligent Knowledge-Base&lt;/STRONG&gt; powered by Databricks Apps, Lakebase, and Foundation Model Serving.&lt;/P&gt;&lt;P&gt;Here is my project: &lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; &lt;STRONG&gt;Live Deployed App:&lt;/STRONG&gt; &lt;A href="https://my-databricks-app-7474654586328503.aws.databricksapps.com/lakebase" target="_blank" rel="noopener"&gt;https://my-databricks-app-7474654586328503.aws.databricksapps.com/lakebase&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt; &lt;STRONG&gt;YouTube Demo Video:&lt;/STRONG&gt; &lt;A href="https://youtu.be/n8nmNVhKEdg?si=leKi5vBQKmeYzBzJ" target="_blank" rel="noopener"&gt;https://youtu.be/n8nmNVhKEdg?si=leKi5vBQKmeYzBzJ&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; Going the Extra Mile (Training Voucher Eligibility)&lt;/H3&gt;&lt;P&gt;To qualify for the Databricks training vouchers, I wanted to really push the boundaries of what this app could do. I implemented &lt;STRONG&gt;five significant custom features&lt;/STRONG&gt; beyond the basic requirements:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Dual-Pane Markdown Engine:&lt;/STRONG&gt; A fully functional Markdown editor with a live HTML preview tab to format notes professionally.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Focus Time Tracker:&lt;/STRONG&gt; An integrated session stopwatch that tracks your active study/work time on a specific note and persists it directly to Lakebase PostgreSQL.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bidirectional Note Linking:&lt;/STRONG&gt; A cross-referencing system that allows users to link related notes together, creating a navigable knowledge graph.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tokenized RAG Assistant:&lt;/STRONG&gt; An AI agent that parses natural language questions (dropping stop words), searches Lakebase in real-time, summarizes insights, and provides clickable source citations.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Advanced Tagging &amp;amp; Priority:&lt;/STRONG&gt; Visual priority badges and a dynamic tagging system for better organization.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":robot_face:"&gt;🤖&lt;/span&gt; Agents, Prompts &amp;amp; How I Built It&lt;/H3&gt;&lt;P&gt;&lt;STRONG&gt;The Agent I Used:&lt;/STRONG&gt; I used &lt;STRONG&gt;Gemini&lt;/STRONG&gt; as my primary coding assistant and thought partner throughout this quest to iteratively build, debug, and deploy the application.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Prompting Strategy:&lt;/STRONG&gt; Instead of asking for everything at once, I used an &lt;STRONG&gt;Iterative Specification Prompting&lt;/STRONG&gt; approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Template Injection:&lt;/I&gt; I fed the agent the DevHub RAG_TEMPLATE.md and told it: &lt;I&gt;"Base the AI Assistant RAG on this template, and update my PLAN.md to reflect this new architecture."&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Modular Planning:&lt;/I&gt; I prompted the agent to break the build into three distinct plans: 01-database-and-schema.md, 02-rag-assistant-service.md, and 03-frontend-ux.md.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;Targeted Debugging Prompts:&lt;/I&gt; When I hit roadblocks, I used specific diagnostic prompts like: &lt;I&gt;"My app fails to deploy with a '42501: must be owner of schema app' error in the SQL Editor. How do I fix the Service Principal permissions?"&lt;/I&gt; and &lt;I&gt;"The RAG agent is doing an exact substring match and failing on natural language. Write a script to patch the backend SQL query to tokenize keywords instead."&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;How I Achieved the Tasks:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Schema Evolution:&lt;/STRONG&gt; I first expanded the basic Lakebase schema to include tables for notes, tags, note_tags, and note_links with cascading deletes.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Frontend UI/UX:&lt;/STRONG&gt; I completely redesigned the React frontend, adding the Markdown toggle (marked.parse), the interactive timer, and a dedicated RAG drawer.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Overcoming RAG Limitations:&lt;/STRONG&gt; The biggest challenge was making the RAG agent understand conversational questions. I patched the backend to filter out stop-words (like "what", "is", "about") and dynamically build a parameterized ILIKE SQL query for the remaining tokens.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Deployment:&lt;/STRONG&gt; After clearing up the local vs. Service Principal ownership conflicts in the Databricks SQL Editor by dropping the legacy tables, I successfully pushed everything to production using databricks apps deploy.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A huge thank you to the Databricks and AngelHack teams for putting together this incredible AppQuest. It was a fantastic hands-on experience with Lakehouse architecture!&lt;/P&gt;&lt;P&gt;#Databricks #DatabricksAppKit #GenerativeAI #Lakehouse #RAG #Serverless&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 18:17:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/quest-5-submission-intelligent-rag-knowledge-base-amp-note/m-p/168274#M906</guid>
      <dc:creator>User_sky</dc:creator>
      <dc:date>2026-09-10T18:17:24Z</dc:date>
    </item>
  </channel>
</rss>

