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

# DialNexa Knowledge Base Documents And File Limits

> Prepare DialNexa knowledge base documents, including PDF and TXT uploads, title, description, source, document type, file size, and download behavior.

DialNexa knowledge base documents are the files or text records that populate a knowledge base. Document upload supports file content with title, knowledge base id, description, source, document type, file size, file path, and download behavior.

<Warning>
  A document that is outdated but uploaded confidently is still outdated.
</Warning>

## Document Fields

These fields help users understand document records.

| Field             | Purpose                                     |
| ----------------- | ------------------------------------------- |
| Title             | Human-readable document name.               |
| Knowledge base id | Links the document to a knowledge base.     |
| Description       | Optional context for the content.           |
| Content           | Parsed text stored for the document.        |
| Source            | Optional source URL or label.               |
| Document type     | Type of document, such as PDF or TXT.       |
| File size         | Stored size for upload and review.          |
| File path         | Location used for file download or storage. |

## Prepare A Useful Knowledge Document

<Steps>
  <Step title="Use source material you trust">
    Do not upload stale policies or draft copy.
  </Step>

  <Step title="Give it a clear title">
    Future reviewers should know what the document covers.
  </Step>

  <Step title="Keep one topic per document when possible">
    Smaller focused documents are easier to audit.
  </Step>

  <Step title="Review extracted content">
    If parsing changes formatting, update the source file.
  </Step>

  <Step title="Retest the agent">
    Ask questions that require the new document.
  </Step>
</Steps>

## Document Upload Issues

<AccordionGroup>
  <Accordion title="Unsupported file content">
    Use accepted document formats such as PDF or TXT where supported.
  </Accordion>

  <Accordion title="File is too large">
    Split the content into smaller focused documents.
  </Accordion>

  <Accordion title="Poor extraction">
    Try cleaner source formatting and avoid scanned images without text extraction.
  </Accordion>

  <Accordion title="Agent still answers old information">
    Confirm the correct knowledge base is attached to the correct agent version.
  </Accordion>
</AccordionGroup>

## Related Reading

<CardGroup cols={2}>
  <Card title="Knowledge Overview" icon="book-open" href="/knowledge-base/overview">
    Understand knowledge bases.
  </Card>

  <Card title="Managing Documents" icon="files" href="/knowledge-base/managing-documents">
    Update content.
  </Card>

  <Card title="Using Knowledge In Agents" icon="sparkles" href="/knowledge-base/using-knowledge-in-agents">
    Test agent behavior.
  </Card>
</CardGroup>
