File Upload: How to Add Knowledge to Your AI Agent
Your AI Agent's performance depends on the quality of the knowledge you provide. This guide explains how to upload files effectively and optimize them for the best results.
π€ Upload Your Files
Adding knowledge documents is straightforward:
Drag & Drop: Drag your file into the upload area
Click to Select: Click the upload area and browse for your file
βοΈ Upload Restrictions
Make sure your files meet these requirements:
Maximum file size: 100 MB for PDFs, 9 MB for other file types
Allowed formats: PDF, TXT, DOCX, JSON, MD
β Best Practices
How you structure your knowledge documents directly affects your AI Agent's accuracy. Here's what works best:
Use Plain Text with Q&A Structure
The most effective format is plain text (.txt) using a simple Question and Answer pattern:
Q: What is the Qualimero Website URL? A: It is www.qualimero.com
This structure enables the AI to understand context and retrieve accurate answers efficiently.
Optimize PDFs Before Upload
For large PDF files, remove unnecessary elements before uploading:
Strip images and graphics
Remove non-text content
Focus on text-based information only
This minimizes noise and improves semantic understanding.
Keep Everything Text-Based
When possible, use pure text formats (.txt or .md). This ensures:
Better quality and consistency
Efficient indexing in the AI system
Faster processing and retrieval
π‘ Summary
Well-structured, text-based knowledge documents lead to better AI performance. Use the Q&A format, optimize your PDFs, and prioritize plain text for the best results.
