Package-level declarations
Types
Builder for creating Message.Assistant instances from Java code.
Content of the attachment, check implementation nested classes for supported content types.
Cache control configuration for prompt caching. Indicates that the LLM provider should cache content up to and including the element this is attached to.
Represents a part of a message. Parts can be text ContentPart.Text, images ContentPart.Image, audio ContentPart.Audio, or files ContentPart.File. All attachment parts (all except ContentPart.Text) must implement Attachment interface.
Represents a message exchanged in a chat with LLM. Messages can be categorized by their type and role, denoting the purpose and source of the message.
Entry point for creating Message instances from Java code using the builder pattern.
Meta-information associated with a message in a chat system.
Builder for creating Message.Reasoning instances from Java code.
Represents MessageMetaInfo specific to a request within the system.
Builder for creating RequestMetaInfo instances from Java code.
Represents metadata associated with a response message in a chat system.
Builder for creating ResponseMetaInfo instances from Java code.
Builder for creating Message.System instances from Java code.
Builder for creating Message.Tool.Call instances from Java code.
Builder for creating Message.Tool.Result instances from Java code.
Builder for creating Message.User instances from Java code.
Functions
Creates a new RequestMetaInfoBuilder.
Creates a new ResponseMetaInfoBuilder.
Creates a RequestMetaInfo with a java.time.Instant timestamp.
Creates a ResponseMetaInfo with a java.time.Instant timestamp.
Requires this CacheControl to be of the specified type T, or throws an IllegalStateException.