Skip to main content

Module multi_modal

Module multi_modal 

Source
Expand description

Multi-modal content handling for prompts and responses.

MultiModalContent holds an ordered sequence of ContentPart values that can represent text, images, code snippets, data tables, and audio transcripts. A fluent ContentBuilder and a JSON ContentSerializer are also provided.

Structs§

ContentBuilder
Fluent builder for MultiModalContent.
ContentSerializer
Serialize and deserialize MultiModalContent to/from JSON strings.
MultiModalContent
An ordered collection of ContentPart values.

Enums§

ContentPart
A single piece of content within a multi-modal message.