> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supportunicorn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Train with Files

> Upload documents to train your AI agent on your company knowledge

Upload PDF documents and other files to give your AI agent access to your company's knowledge base.

## Supported File Types

<CardGroup cols={3}>
  <Card title="PDF" icon="file-pdf">
    Product manuals, policies, guides
  </Card>

  <Card title="Word" icon="file-word">
    .doc and .docx documents
  </Card>

  <Card title="Text" icon="file-lines">
    Plain text (.txt) files
  </Card>
</CardGroup>

## How to Upload Files

1. Navigate to **AI Agent** → **Train** → **Files**
2. Click **Upload File** or drag and drop your files
3. Wait for processing to complete
4. Your AI agent can now answer questions based on the file content

## Best Practices

<AccordionGroup>
  <Accordion title="Keep files focused">
    Upload files that cover specific topics rather than large, general documents. This helps the AI provide more accurate responses.
  </Accordion>

  <Accordion title="Use clear formatting">
    Well-structured documents with headings and sections are easier for the AI to understand and reference.
  </Accordion>

  <Accordion title="Update regularly">
    Remove outdated files and upload new versions to keep your AI agent's knowledge current.
  </Accordion>
</AccordionGroup>

<Note>
  Files are processed securely and used only to train your AI agent. Large files may take a few minutes to process.
</Note>
