Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface ChatSession
Simplest possible conversation session implementation Responsible for keeping its conversation up to date via Conversation.addMessage(), and for sending messages to the OutputChannel.
Link copied to clipboard
Represents a part of a multimodal message. This sealed interface ensures type safety and extensibility for future media types.
Link copied to clipboard
interface Conversation
Conversation shim for agent system. Mutable.
Link copied to clipboard
Format a conversation into a String for inclusion in a prompt. Note that we often prefer to use messages.
Link copied to clipboard
A part of a message containing image data.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
System message - text-only
Link copied to clipboard
A part of a message containing text content.
Link copied to clipboard
Message sent by the user - supports multimodal content
Link copied to clipboard
class UserMessageBuilder
Builder for creating multimodal UserMessages fluently
Link copied to clipboard
class WindowingConversationFormatter constructor(messageFormatter: MessageFormatter = SimpleMessageFormatter, windowSize: Int = 100) : ConversationFormatter
Conversation formatter that shows the last windowSize messages