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.
Source of the attachment.
Cache control configuration for prompt caching. Indicates that the LLM provider should cache content up to and including the element this is attached to.
A list of Message.Assistant responses representing multiple completion choices from the LLM.
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.
A discrete piece of content within a Message. Parts are typed by their direction and purpose: RequestPart parts go to the LLM, ResponsePart parts come from the LLM, and ContentPart parts (text, attachments) are valid in both directions.
Builder for creating MessagePart.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 MessagePart.Tool.Call instances from Java code.
Builder for creating MessagePart.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.