📚 Knowledge Base

ChatAgentLab's Knowledge Base is the foundation that powers your AI agent’s accuracy and relevance. By uploading structured, business-specific information, (about your business, products, services, and offers) you give the AI the context it needs to answer user questions correctly and confidently.

Your AI agent searches this knowledge base every time it generates a response. The cleaner and more targeted your data, the better your AI will perform.

You can copy/paste text, upload documents, scrape website URLs, and add question & answer (Q/A) pairs to train your AI agent. This ensures the AI has the right context when generating responses.


📝 TEXT:

  • Manually copy and paste content from other sources.
  • Best for quick additions or highly specific information.

📄 FILES  (Document Uploads):

  • Supported file types: .pdf, .txt, .doc, .docx
  • Important: Best for quick additions or highly specific information. Ensure your PDFs contain selectable text, not scanned images or pictures of text.

✅ Tip: Use clear headings and bullet points in your documents to improve AI comprehension.


🌐 WEBSITE:

  • Input the URL of any webpage you want to scrape.
  • Select the number of URLs to scrape if pulling from multiple pages.
  • All text from the scraped page is added to the knowledge base.

⚠️ Note: More data is not always better. Scraping large websites can pull unrelated text that may confuse the AI. Add clean, relevant data for the best results.

✅ Best Practice: Scrape specific pages (FAQ, About, Services) instead of general site-wide scrapes.


❓ Q/A (Question & Answer Pairs):

  • Save knowledge content in a structured Q/A format.
  • Q/A pairs are the most powerful way to train your AI agent for precise responses.
  • This is where updated answers from the Training AI Agent function are stored.

💡 Why Use Q/A Format?

  • Structured for accuracy and efficiency.
  • Easier to manage and update.
  • Ideal for FAQ-style content or when you want highly targeted answers.
  • Less adaptable than other formats but delivers precision for expected queries.

Prioritize clean, relevant data and utilize the Q/A format whenever possible to maximize your AI agent's accuracy and reliability.

💡 Pro Tips for Building a Strong Knowledge Base:

  • Focus on quality over quantity — irrelevant data weakens response accuracy.

  • Prioritize Q/A pairs for critical information.

  • Regularly update your knowledge base as your business or products evolve.

  • Use the Train Better Response tool to improve answers based on real user conversations.

  • Think like a user — add content that directly answers common questions.

  • Avoid "walls of text" or raw web scrapes — too much noise reduces accuracy

  • Structure your uploads: Use bullet points, headings, and Q/A formatting

  • Test regularly with Debug Mode and update knowledge based on feedback

✅ Remember: Your knowledge base is the AI agent’s brain. The better your data, the better your AI will perform — delivering more accurate, helpful, and consistent responses to your customers.