Skip to main content

Knowledge Base (RAG)

To understand the Knowledge Base, it helps to understand a concept called RAG (Retrieval-Augmented Generation).

Think of a standard AI model (like ChatGPT) as a genius student taking a closed-book exam. It relies entirely on its memory of general facts it learned during training. While smart, it cannot answer questions about your specific private data—such as your company's latest presentation schedule or internal financial reports—because it never studied them.

info

The Knowledge Base changes the test to an "Open Book" exam.
By connecting a RAG node, you hand the agent a textbook containing your specific files. Before answering, the agent:

  1. Searches through your uploaded documents for relevant context
  2. Reads the specific details found
  3. Constructs an answer based on your facts, avoiding hallucination

Visual Configuration

In VibeAgent, memory is not a hidden setting; it is a physical component of your graph. You configure it visually by connecting a Knowledgebase Node to your agent.

Add the RAG Node

Locate the Knowledgebase node in your left-hand library and drag it onto the canvas. This node acts as the container for your documents.

Connect to Agent

Draw a connection line from your Agent Node to the Knowledgebase Node.

  • Visual Cue – This explicitly tells the system, "This specific agent has permission to read these specific documents"

Upload Data

Click on the Knowledgebase Node itself to open the upload modal. You have three ways to add data:

  • Select Files – Upload PDFs, Word docs, or text files directly from your computer
  • Add URL – Paste a specific web link; the system will scrape the text and add it to the knowledge base
  • Google Drive – Connect your Drive account to import documents directly from the cloud

Wait for the status to change from "Waiting..." to a green Ready badge before clicking Done.


Supported File Types

VibeAgent supports files up to 50MB in size. The system automatically chunks and indexes text from these formats:

FormatExtensionBest For
PDF.pdfOfficial reports, slide decks, and contracts
Word.docxEditable policies and drafts
Structured Data.csv, .jsonProduct catalogs, contact lists, or raw data exports
Plain Text.txtSimple notes and developer logs

Testing & Verification

To ensure the connection is working, use the Run button to simulate a user query. Ask a question that is specific only to your uploaded document.

Verification Example

Test Question: "When is the presentation scheduled?" (assuming you uploaded a schedule PDF)
Success Criteria: The agent will cite the specific time and date found in your document rather than giving a generic answer.