Interface: ImageGenerationBrainPrompt
Represents an image generation prompt sent to the brain
Hierarchy
↳
ImageGenerationBrainPrompt
Table of contents
Properties
Properties
attachments
• Optional
attachments: FileAttachment
[]
A list of file attachments
Inherited from
Defined in
expectedResponseType
• expectedResponseType: "base64"
| "url"
| "binary"
How we want the brain to return the image base64: The brain will return the image as a base64 encoded string url: The brain will return the image url binary: The brain will return the image as a binary buffer
Defined in
message
• message: string
The text prompt
Inherited from
Defined in
role
• role: UserRole
The role of the sender (user, brain or system)
Inherited from
Defined in
sentAt
• sentAt: Date
The utc date that the prompt has been sent