Building a Knowledge Base Chatbot for Data Team Support Using RAG

hp · Tech · 2024 · source Agentic: yes · promotional bias: high · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise data-platform support

HP needed to reduce the support burden on data engineering teams who were repeatedly answering data-access, SQL, onboarding, and troubleshooting questions for thousands of internal data users.

Constraints:

Architecture

HP built a Databricks-backed RAG chatbot for data-platform support. The system uses a web front end, a back-end agent that parses user input, AI Search as the retrieval database, a web crawler that tokenizes internal information from internal sites, and a GenAI endpoint that generates answers with source URLs. Unity Catalog provides fine-grained access control, lineage, and auditability for hundreds of Databricks users.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  internal-knowledge-sources[Internal knowledge sources] --> web-crawler[Web crawler]
  web-crawler --> ai-search-database[AI Search database]
  web-front-end[Web front end] --> back-end-agent[Back-end agent]
  back-end-agent --> ai-search-database
  back-end-agent --> genai-endpoint[GenAI endpoint]
  databricks-sql-and-lakehouse[Databricks SQL and lakehouse] --> unity-catalog[Unity Catalog]
  unity-catalog --> ai-search-database
  databricks-sql-and-lakehouse --> back-end-agent
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Web front end User-facing interface for internal knowledge-base questions. Back-end agent
Back-end agent Parses user input, retrieves relevant data, and sends context to the GenAI endpoint. Web front end, AI Search database, GenAI endpoint
Web crawler Crawls and tokenizes internal sites for the retrieval database. Internal knowledge sources, AI Search database
Internal knowledge sources Wiki pages, SharePoint files, and team support channels that contain data-platform support knowledge. Web crawler
AI Search database Retrieval backend containing tokenized internal knowledge and source URLs. Web crawler, Back-end agent
GenAI endpoint Generates grounded answers from retrieved context. Back-end agent
Unity Catalog Provides data management, fine-grained access control, lineage, and auditing. Databricks SQL and lakehouse, AI Search database
Databricks SQL and lakehouse Unified analytics, compute, and data foundation after migration from AWS Redshift. Unity Catalog, Back-end agent

Data flow

A crawler ingests and tokenizes internal wiki, SharePoint, and support-channel content into AI Search. A user submits a question through the web front end. The back-end agent parses the input, retrieves relevant content from AI Search, sends retrieved context to the GenAI endpoint, and returns an answer with URLs so the user can validate or explore the source material. Databricks SQL, Unity Catalog, and the lakehouse platform provide compute, governance, and access controls.

3 supporting quotes
“a web front end and a back-end agent that essentially parses the input from the user, searches and grabs relevant data, then sends it to the GenAI endpoint to generate answers.”article, stated
“Another component is a web crawler that crawls and tokenizes the internal information on various sites and gets them populated into the AI Search database.”article, stated
“The AI Search database entries and answers generated also contain URLs for reference so users have the opportunity to validate or explore further.”article, stated

Why this architecture

HP chose a Databricks-native RAG architecture because its data, governance, SQL, and GenAI tooling could live on the same lakehouse platform. That avoided copying data into separate AI workspaces and let the team build quickly while preserving access control, lineage, and reference URLs.

3 supporting quotes
“Databricks has a data-centric approach that brings AI, analytics and the GenAI tools we need on a single platform on top of the lakehouse architecture.”article, stated
“Unity Catalog is used for data management and governance, making it very easy to control fine-grained access for our 600+ Databricks users”article, stated
“Using the Agent Bricks AI Playground, HP experimented with different large language models (LLMs) — ultimately selecting DBRX as the most appropriate and cost-effective model for their chatbot needs.”article, stated

Models used: DBRX · LLMs evaluated in Agent Bricks AI Playground · Databricks AI/BI Genie

Scale

Alternatives considered (roads not taken)

Manual data-team support

Rejected because: Manual SQL writing, cross-referencing, and access support consumed too much team capacity and delayed decisions.

“manual SQL queries and cross-referencing solutions slowed down service teams, often requiring assistance from data scientists for troubleshooting and real-time insights.”article, stated

Moving data into separate AI workspaces

Rejected because: Copying data raised governance, privacy, and deletion-request complexity, so HP preferred a platform where AI tools sat with governed data.

“When you need to move your data out of the warehouse to a workspace where you can apply AI tools, you typically need to make copies of the data.”article, stated
“There are additional security and privacy governance concerns, such as DSRs, which means you must delete data when customers send in their DSR requests.”article, stated

AWS Redshift as the main warehouse foundation

Rejected because: HP migrated to Databricks SQL for cost, performance, isolation, attribution, cataloging, access control, and governance.

“HP migrated from AWS Redshift to Databricks SQL for better performance/cost ratio, resource isolation, attribution and unified data cataloging, access control and governance.”article, stated

Patterns

rag-retrieval (knowledge_retrieval)

HP built a RAG chatbot over internal wiki, SharePoint, and support-channel knowledge so users could self-serve data-platform answers.

“HP implemented a retrieval augmented generation (RAG) solution with a AI Search database back end for sourcing all relevant information.”article, stated

tool-use-orchestration (agent_architecture)

The back-end agent parses input, searches, retrieves relevant data, and calls the GenAI endpoint as a small tool chain.

“a back-end agent that essentially parses the input from the user, searches and grabs relevant data, then sends it to the GenAI endpoint to generate answers.”article, stated

model-routing (model_operations)

HP evaluated multiple LLMs in Agent Bricks and selected DBRX as the cost-effective model for the chatbot.

“HP experimented with different large language models (LLMs) — ultimately selecting DBRX as the most appropriate and cost-effective model for their chatbot needs.”article, stated

privacy-preserving-processing (governance)

Unity Catalog kept GenAI access tied to governance, lineage, auditing, and fine-grained permissions instead of copying data into a separate AI environment.

“Unity Catalog also provides data lineage and auditing capabilities.”article, stated
“There are additional security and privacy governance concerns, such as DSRs, which means you must delete data when customers send in their DSR requests.”article, stated

Tradeoffs

Build on the Databricks platform

Chose Lakehouse-native AI, SQL, Unity Catalog, and AI Search over A separate AI stack beside the data warehouse.

Rationale: Keeping AI and data on one governed platform reduced reinvention and helped manage fine-grained access, lineage, and audit needs.

“We don’t have to reinvent the wheel and everything we need to build data and GenAI solutions comes with it.”article, stated
“It’s all built in the Databricks Platform, and we just have to leverage its framework and tools.”article, stated

Use RAG with reference URLs for support answers

Chose Retrieved internal knowledge plus generated answers and URLs over Free-form chatbot answers without source validation.

Rationale: Support users could validate or explore answers further, which matters for internal data-platform troubleshooting.

“The AI Search database entries and answers generated also contain URLs for reference so users have the opportunity to validate or explore further.”article, stated

Select DBRX for the chatbot

Chose DBRX over Other LLMs tested in the Agent Bricks AI Playground.

Rationale: The source says DBRX was the most appropriate and cost-effective model for HP's chatbot needs.

“ultimately selecting DBRX as the most appropriate and cost-effective model for their chatbot needs.”article, stated

Gotchas (what bit them)

Manual support work becomes hidden staffing cost.

Root cause: Data users depend on engineering teams for SQL, troubleshooting, access, and cross-referencing when knowledge is scattered.

Resolution: Use a RAG chatbot with source URLs to deflect common support and onboarding questions.

“HP’s data engineering teams, who were used to being regularly bombarded with questions about specific data models and issues, were overwhelmed with inquiries and troubleshooting requests.”article, stated
“With a five-person team, this equates to an additional full-time employee.”article, stated

AI workspaces can create governance duplication.

Root cause: Moving data out of the warehouse for AI can require copies that complicate privacy, security, and deletion requests.

Resolution: Build the chatbot on a data-centric platform with Unity Catalog governance and lakehouse-native AI tooling.

“When you need to move your data out of the warehouse to a workspace where you can apply AI tools, you typically need to make copies of the data.”article, stated
“Databricks has a data-centric approach that brings AI, analytics and the GenAI tools we need on a single platform on top of the lakehouse architecture.”article, stated

Internal knowledge sprawl blocks self-service.

Root cause: Onboarding and support information was spread across wiki pages, SharePoint, and support channels.

Resolution: Crawl and tokenize internal sites into AI Search and return reference URLs with generated answers.

“Information was scattered among internal wiki pages, SharePoint files and team support channels, making it difficult for partners to find answers and get started quickly.”article, stated
“The AI Search database entries and answers generated also contain URLs for reference so users have the opportunity to validate or explore further.”article, stated

Evaluation

The article does not describe a formal evaluation harness for chatbot answer quality; it reports model selection through Agent Bricks experimentation, source URLs for user validation, and operational outcomes such as reduced support burden and lower warehouse costs.

Metrics: 20% to 30% lower operational costs than AWS Redshift · 20% to 30% of data-team time previously spent on support · less than three weeks to implement the chatbot · 600+ Databricks users with fine-grained access

“HP experimented with different large language models (LLMs) — ultimately selecting DBRX as the most appropriate and cost-effective model for their chatbot needs.”article, stated
“The AI Search database entries and answers generated also contain URLs for reference so users have the opportunity to validate or explore further.”article, stated

Outcomes

The article anchors the deployment in HP's enterprise-scale data environment: over 200 million printers supported, 600+ Databricks users, and a data support burden that previously consumed 20% to 30% of a data team.

3 supporting quotes
“The college intern implemented the end-to-end solution in less than three weeks on Databricks”article, stated
“HP has seen significant operational cost savings compared with their AWS Redshift warehouse, to the tune of 20–30% lower costs.”article, stated
“HP is forecasting significant productivity gains within data teams where practitioners are less frequently needed for manual partner support.”article, stated