Top Hat
  • About Top Hat
    • AI Agent Creation
    • HAT V2: The Biggest Upgrade to Top Hat Since Launch
    • $HAT Tokenomics
    • Requests For Agents
    • Useful Links
  • Features
    • Prompt Engineering
    • Write a Good Prompt For An Agent
    • Safe, Neutral and NSFW Modes
    • Optional Tokenization and Verification
    • Credits System
    • Community Top-Ups
    • Telegram and Discord Interactions (Compulsory)
    • Autonomous Tweeting
    • TikTok Connections
    • Multi-agent Swarm
    • 3D Renders and IP
    • Image Recognition
    • Onchain Actions and Asset Management
    • Sandbox Testing Environment
  • ADVANCED
    • Knowledge Base and RAG Support
    • Webpage Uploads
    • API and Plug-in Store (Developers)
    • Function Calling (Developers)
    • Hooks and Multi-Agent Workflow (Developers)
  • Resources
    • Branding
Powered by GitBook
On this page
  • 🧠 What is Knowledge Base?
  • 🧠 What is RAG?
  1. ADVANCED

Knowledge Base and RAG Support

🧠 What is Knowledge Base?

A knowledge base is similar to an agent's personal library, containing all the information he needs to understand and respond to users effectively. It includes facts, rules, and context that help the agent answer questions, solve problems, and engage in meaningful conversations.

While the knowledge base is optional, Top Hat recommends adding project-specific information (10K characters max) if agent creators are using the agent(s) for their project. Regularly updating the knowledge base ensures that each agent can provide accurate, relevant, and personalized responses, making interactions smooth and helpful for users.

🧠 What is RAG?

Retrieval-Augmented Generation (RAG) enhances the AI agents by allowing them to search for and gather relevant information before crafting their responses. When a user asks a question, the agent first looks up the best information from his knowledge base or other sources and then uses that information to provide a clear and accurate answer.

Top Hat has RAG natively integrated to ensure the agents deliver more reliable and up-to-date information, making interactions smoother and more helpful for everyone. No action is required from the creator to implement RAG.

PreviousSandbox Testing EnvironmentNextWebpage Uploads

Last updated 4 months ago