Overview
Dust agents can generate files from text content and convert files between different formats using the File Generation capability. This allows your agents to create downloadable documents in formats like Word, Excel, PowerPoint, and more.Supported Formats
The File Generation capability supports the following output formats:PDFs are created with Computer, not with File Generation. Just ask your agent for a PDF and it will create it there. If Computer isn’t available in your workspace, File Generation creates PDFs instead.
How to Enable File Generation
When creating or editing an agent:- In the Agent Builder, click on Add Tools
- Select the File Generation capability
- Save your agent
How It Works
Generating Files
The agent can generate files from text content you provide or content it creates. When generating files for binary formats (DOCX, XLSX, PPTX), the agent can accept content in:Converting Files
The agent can also convert files between different formats. For example:- Convert a Markdown file to Word
- Convert HTML to Word document
- Convert CSV to Excel
Example Use Cases
Creating a Report:Limitations
- Maximum file content size is 64,000 characters for generated content
- Complex formatting in source content may not always convert perfectly between formats
- For interactive data visualizations, consider using Frames instead