- Searches for relevant parts of your files
- Selects a few matching sections
- Uses those sections to generate an answer
Why document structure matters
If your document is structured poorly, your AI will return wrong or incomplete answers. This is because your AI only uses small sections of your document to generate responses. Well-structured content helps your AI:- Find the right information faster
- Understand what each section is about
- Give accurate and consistent answers
- Wrong sections being selected
- Missing important details
- Incomplete or confusing answers
Checklist before uploading a file
Before uploading, make sure your document follows these rules:- Use one topic per file (e.g. returns, pricing, onboarding)
- Include multiple related questions within that topic
- Use clear, question-style headings
- Keep paragraphs short (max ~5 lines)
- Make each section understandable on its own
- Repeat key conditions instead of referencing other sections
- Avoid complex layouts (e.g. multi-column PDFs)
Example of a well-structured document
Below is an example of how to structure your content so your AI Agent can understand and use it effectively. Bad example:ReturnsYou can return items within 30 days of receiving them. Contact support to start a return. Items must be unused and in original condition. Refunds are processed after inspection.
RefundsRefunds are processed after we receive the returned product and check it.
Damaged productsIf your product is damaged, contact support.
What to avoid
Avoid uploading files like:- ❌ One document with multiple topics (e.g. FAQ + pricing + onboarding)
→ Your AI Agent may retrieve the wrong topic - ❌ Long reports or 20+ page policy documents
→ Your AI Agent cannot retrieve the right section - ❌ Marketing or blog-style content without direct answers
→ Your AI Agent struggles to find clear answers - ❌ PDFs with complex layouts (columns, heavy formatting)
→ Your AI Agent may read text in the wrong order - ❌ Large tables (e.g. product lists, article numbers)
→ Your AI Agent struggles to interpret structured data correctly
Why your AI Agent might give wrong answers
If your AI Agent gives incorrect or incomplete answers, it’s usually due to how your document is structured:- ❌ Information is split across sections
→ Your AI Agent only sees one part - ❌ Important conditions are not repeated
→ Your AI Agent misses key details - ❌ Headings are unclear or too generic
→ Your AI Agent selects the wrong section - ❌ Multiple topics are mixed in one document
→ Your AI Agent returns irrelevant answers
File limits and requirements
- Supported formats: .pdf, .docx, .txt
- Maximum file size: 20MB
- Files must contain selectable text (no scanned images)

