Which upload options you see depends on what your organization and the agent you’re talking to have enabled. If an option described here is missing, ask your administrator.
Uploading a File to a Chat
1
Open the attachment picker
Click the attachment icon in the message box, or drag a file directly onto the chat window.
2
Choose where the file comes from
Pick the file from your computer.
3
Choose how the agent should use it
If more than one option applies to your file, WonkaChat asks how to handle it:
- Upload for File Search — index the file’s content so the agent can search it (see below).
- Upload files — attach the file for the Code Interpreter, if that agent has it enabled.
- Upload as Text — run OCR on the file and add the extracted text as context.
- Upload an image — for image files, when no other option applies.
Upload for File Search (Knowledge Search)
Upload for File Search turns a file into searchable knowledge for the conversation. Instead of loading the whole document into the agent’s context, WonkaChat indexes it and lets the agent search it as needed — better suited to long documents or many files at once. Use this when you want the agent to answer questions grounded in a specific document (a policy, a contract, a report) rather than general knowledge.Agent builders can also attach File Search as a permanent Knowledge source when creating an agent, so every conversation with that agent can search the same files. See the agent builder’s Knowledge section.
OCR: Reading Text From Images and Scans
Choosing Upload as Text runs Optical Character Recognition (OCR) on the file and adds the extracted text to the conversation as context. This is the right choice for:- Scanned PDFs that don’t have a text layer
- Photos of documents, whiteboards, or printed pages
- Screenshots containing text you want the agent to read
Files From SharePoint
When you build an agent, you can add files to its knowledge straight from SharePoint instead of downloading them first. In the agent builder, open the Knowledge section, choose From SharePoint, then browse and select your files. This option appears only if your organization has connected SharePoint.SharePoint access follows your own Microsoft permissions — you can only pick files you’re already authorized to see.
Files for Code Interpreter
If the agent you’re using has the Code Interpreter enabled, you can upload files (spreadsheets, CSVs, datasets, scripts) for it to read, transform, or run computations on in a code sandbox. Choose Upload files in the upload picker when this option is available.Code Interpreter is an agent capability — not every agent has it turned on. If you don’t see this option, ask the agent’s builder or your administrator to enable it.
Supported File Types and Size Limits
WonkaChat accepts common document, text, code, image, audio, video, and archive formats, including:Documents
PDF, Word, PowerPoint, Excel, and OpenDocument files
Text & code
Markdown, JSON, YAML, HTML, CSS, and most programming languages
Images
JPEG, PNG, GIF, HEIC/HEIF, and SVG
Audio, video & archives
Common audio and video formats, plus ZIP and TAR archives
- Up to 12 files per message
- Up to 512 MB per file