Skip to main content

Create Documents and Files

Reading files is half of it. Open Terminal can also write them: a Word document, a PDF, a slide deck, a chart, a script. The AI builds the file with ordinary Python libraries that are already in the image, saves it into your workspace, and can put it straight into the chat with a download button on it.

Nothing has to be set up for this. No plugin, no export service, no copy and paste out of a code block.

What it can produce

TypeFormats
DocumentsWord (.docx), PDF, Markdown, plain text, HTML
SpreadsheetsExcel (.xlsx), CSV
PresentationsPowerPoint (.pptx)
GraphicsSVG, PNG charts, resized and converted images
CodePython, shell scripts, config files, anything else text based

The default image ships python-docx, python-pptx, fpdf, openpyxl, Pillow and matplotlib, which covers all of the above. Anything missing can be installed on the spot.


"Put this in a Word document"

You: Turn the site readings into a one page Word document with a summary and a table of the per site totals, then show it to me.

The AI reads the data, builds the .docx with a heading, a summary paragraph and a real table, and displays it in the chat.

The AI generating a Word document and displaying it in the chat


"Make me a PDF"

You: Make a one page PDF from the same readings, with a title and the per site totals.

The AI generating a PDF and displaying it in the chat

Long documents open at whichever page you ask for. See Files shown in the chat message.


"Turn it into a deck"

You: Build a three slide deck covering the readings: a title slide, the per site totals, and the sites needing attention.

The deck arrives with its slide rail and page controls, so you can page through it without leaving the conversation.

The AI generating a PowerPoint deck and displaying it in the chat


"Draw it as an SVG"

You: Draw the per site output as a bar chart in a plain SVG file, no external assets.

Vector output is written as text, so the AI can edit it afterwards the way it edits any other file. Ask for a different colour or an extra label and it rewrites the shapes rather than regenerating a picture.

The AI generating an SVG chart and displaying it in the chat


"Write me a script for it"

You: Write me a script that rebuilds the survey report from the raw CSV so I can rerun it next quarter.

Code comes back as a file in your workspace rather than a block you have to copy out of the chat, so it is ready to run and ready to edit.

The AI writing a Python script into the workspace


"Write it up for the wiki"

You: Write the survey findings up as markdown for the wiki.

Markdown renders in the preview, so you can read the finished page before you paste it anywhere.

The AI writing the findings up as markdown


Getting the file out

Every file shown in the chat carries a download button in the top right of its card, next to the control that opens it in the file browser.

The download button on a file shown in the chat

The file is also sitting in your workspace, so the file browser has it too, alongside everything else the AI has made. Asking for it in the chat just saves you going to look.

Ask for the format you want

"as a Word document", "as a PDF", "as a deck", "as an SVG" all work in plain language. If you do not say, the AI usually picks Markdown, which is fine for reading and less useful for sending on.


This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.