Knowledge Base

Knowledge base
Upload files to the agent knowledge base

The Knowledge Base lets you upload documents that your agent can reference when answering questions. Instead of the AI generating answers from general training data, it searches your uploaded files for relevant information.

Supported file types

TypeExtensionBest for
PDF.pdfProduct manuals, reports, policies, whitepapers
Word.docxDocumentation, SOPs, guides
Plain text.txtFAQs, knowledge articles, scripts
CSV.csvStructured data, product catalogs, pricing tables

Maximum file size: 10MB per file

Uploading files

  1. Go to the Capabilities tab in the Agent Studio
  2. Scroll to Knowledge Base
  3. Click + Add file
  4. Select your file(s)
  5. Watch the processing status:
    • Uploading: file is being transferred
    • Processing: file is being chunked and embedded for search
    • Ready: file is searchable by the agent

How it works

When a user asks a question:

  1. The agent searches the knowledge base for relevant passages
  2. It finds the most relevant chunks across all uploaded files
  3. It uses those chunks as context when generating the answer
  4. The answer is grounded in your actual documents, not hallucinated

This is Retrieval-Augmented Generation (RAG): the agent retrieves relevant information before generating.

Best practices

File organization

ApproachWhy
5 focused files > 1 massive dumpSmaller, topic-specific files give better search results
One topic per file"Setup Guide.pdf" and "Troubleshooting.pdf" > "Everything.pdf"
Clear headingsDocuments with structured headings are easier for the AI to navigate
Updated contentRemove outdated files, upload current versions

Content quality

DoDon't
Include FAQs with clear Q&A formatUpload raw database exports
Use structured headings and sectionsUpload unformatted wall-of-text files
Include specific examples and stepsUpload marketing brochures (too vague)
Keep content factual and currentUpload draft or placeholder content

Testing

After uploading:

  1. Ask your agent questions you know are answered in the files
  2. Check if it cites the correct information
  3. Test edge cases: questions partially covered or not covered at all
  4. Verify it says "I don't know" for questions outside the knowledge base

Limitations

  • No real-time updates: if your data changes, you need to re-upload the file
  • 10MB per file: split large documents into smaller focused files
  • Semantic search: the agent finds conceptually related passages, not exact keyword matches. This is usually better, but sometimes misses exact terms.
  • No web links: the agent can't follow URLs in uploaded documents
Tip

Create a dedicated FAQ document with your top 50 questions and answers. This is the single highest-impact file you can upload, because clear Q&A format gives the AI the best chance of finding the right answer.

Warning

Everything uploaded to the knowledge base is accessible to anyone who interacts with the agent. Don't upload files containing sensitive internal data, credentials, or confidential customer information.