🧠Brains for Text Agents

Here is the step-by-step guide to create and configure knowledge bases—called Brains—for text agents.

In Dapta agents, knowledge bases are referred to as "Brains", essentially acting as the brain of your AI agent.

In the Settings tab, go to the Brains section.

  • If you already have Brains created, you can select them here.

  • If you don't, you can create a New Brain to serve as a knowledge base.

Create a New Brain

  • Click the Create Brain button.

  • Give your Brain a name.

  • Add one or more sources by clicking + Add Source.

You can add up to 25 sources per Brain, choosing from:

  • Web Pages: Enter the URL you'd like to add as a knowledge base. You can click discover if a sitemap is found.

You can add web pages in two ways:

  • Discover Sitemap:

  • Click Add Source and select Add Web Pages.

    • Enter the website domain (e.g., example.com).

    • Click Discover Pages.

    • If a sitemap is found, a tree of URLs organized by subdomain will appear.

    • Select the pages you want to include using the checkboxes.

    • Use Select All / Deselect All for quick selection.

    • Expand subdomains to select individual pages.

    • Click Add x URLs to confirm your selection.

  • Manual URL Entry:

  • Files:

    • Great for selecting documents from your computer.

    • You can process Documents, spreadsheets, emails, presentations, images, etc.

    • Supported extensions include: .pdf, .doc, .csv, .xls, .ppt, .msg, .html, .xml, .epub, .jpeg, .jpg, .png.

  • Text:

    • Type or paste text directly.

    • Click Save.

  • Once created, the Brain goes through three states:

  1. Pending: The knowledge base is waiting to be processed.

  2. In Process: The knowledge base is being indexed.

  3. Completed: The knowledge base is available for queries.

  4. Error: Processing failed.

After uploading the source you need for your knowledge base,

select the ones you want to add and click Save.

Last updated