AI-generated Key Takeaways
-
This document details the structure of a file sent from a user to an agent, as represented in JSON format.
-
The file structure includes a
category
field specifying the file type, drawn from theFileCategory
enum. -
An optional
thumbnail
field, detailed as aFileInfo
object, may be present to represent the file, particularly for images and videos. -
The
payload
field, which is aFileInfo
object, contains the actual file data.
A file sent from a user to the agent.
JSON representation |
---|
{ "category": enum ( |
Fields | |
---|---|
category |
The category the file belongs to. |
thumbnail |
(Optional) A thumbnail representing the file. Usually sent alongside image and video files. |
payload |
The file. |