data.text
The data.text event can be used to embed textual data within an event message as part of a multimodal message.data.text parameters
The data.text key identifies that this event is a text event.
Contains the text payload and associated metadata.
event_data parameters
event_data parameters
The contents key contains the main body of the text data.
data.text example
data.json
The data.json event can be used to embed a base64 encoded image directly into an event message. The data.json event is used to send images directly as input to a lens.data.json parameters
The data.json key identifies that this event is a json dictonary.
Contains the JSON payload.
data.json example
data.base64_img
The data.base64_img event can be used to embed a base64 encoded image directly into an event message. The data.base64_img event is used to send images directly as input to a lens.data.base64_img parameters
The data.base64_img key identifies that this event is a base64 image event.
Contains the image payload and associated metadata.
event_data parameters
event_data parameters
The base64 encoded image as a byte string.