> ## 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, TXT, and DOCX 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.

## DialNexa Knowledge Base Document Fields And Limits

These fields help users understand document records.

| Field | Purpose |
| - | - |
| Title | Human-readable document name. Dashboard uploads use the file name. |
| Knowledge base id | Links the document to a knowledge base. |
| Description | Optional context for the content. Dashboard uploads set it to `Uploaded via UI` and do not ask for one. To set your own, use the [Upload Knowledge Base Document](https://dialnexa.com/docs/api-reference/v1/knowledge-base/upload-document.md) API. |
| Content | Parsed text stored for the document. |
| Source | Optional source URL or label. Dashboard uploads set it to `web_upload` and do not ask for one. To set your own, use the Upload Knowledge Base Document API. |
| Document type | Type of document, such as PDF, TXT, or DOCX. |
| File size | Stored size for upload and review. |
| File path | Location used for file download or storage. |

## Supported Upload Formats And Limits

Upload PDF, TXT, or DOCX files up to 20 MB (20,971,520 bytes). Legacy `.doc` files are not supported; save them as `.docx` first. Extracted text also has a 20 MB limit. Each knowledge base allows up to 25 non-deleted documents, with a unique title for each document.

Upload acceptance starts background indexing. Wait until the document is ready before testing retrieval. A knowledge base can temporarily reject writes while it is indexing; wait for processing to finish instead of submitting duplicate uploads. See [document processing and failure recovery](https://dialnexa.com/docs/knowledge-base/managing-documents.md#wait-for-document-processing).

## Prepare A Useful Knowledge Document

**1. Use source material you trust**

Do not upload stale policies or draft copy.

**2. Give it a clear title**

Future reviewers should know what the document covers.

**3. Keep one topic per document when possible**

Smaller focused documents are easier to audit.

**4. Review extracted content**

If parsing changes formatting, update the source file.

**5. Retest the agent**

Ask questions that require the new document.

## Document Upload Issues

> [accordion] Unsupported file content
>
> Use accepted document formats such as PDF, TXT, or DOCX where supported.

> [accordion] File is too large
>
> Split the content into smaller focused documents.

> [accordion] Poor extraction
>
> Try cleaner source formatting and avoid scanned images without text extraction.

> [accordion] Agent still answers old information
>
> Confirm the correct knowledge base is attached to the correct agent version.

## Related Reading

> [card] [Knowledge Overview](https://dialnexa.com/docs/knowledge-base/overview.md)
>
> Understand knowledge bases.

> [card] [Managing Documents](https://dialnexa.com/docs/knowledge-base/managing-documents.md)
>
> Update content.

> [card] [Using Knowledge In Agents](https://dialnexa.com/docs/knowledge-base/using-knowledge-in-agents.md)
>
> Test agent behavior.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.