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§
- Content
Builder - Fluent builder for
MultiModalContent. - Content
Serializer - Serialize and deserialize
MultiModalContentto/from JSON strings. - Multi
Modal Content - An ordered collection of
ContentPartvalues.
Enums§
- Content
Part - A single piece of content within a multi-modal message.