Uses of Class
uno.anahata.ai.ChatMessage
Packages that use ChatMessage
Package
Description
Provides the core, high-level classes that orchestrate the AI chat application.
Provides the core classes and subpackages for managing the chat conversation's state and history.
Manages the persistence of chat sessions.
This package provides a robust framework for managing "stateful resources" local
resources, primarily files, whose state can change independently of the chat
conversation.
Provides a comprehensive and well-structured Swing-based user interface for the AI assistant.
Provides a framework of specialized renderers for displaying different types of message parts.
Provides the core framework for defining and managing local tools (functions) that the AI model can execute.
-
Uses of ChatMessage in uno.anahata.ai
Methods in uno.anahata.ai that return types with arguments of type ChatMessageModifier and TypeMethodDescriptionChat.getContext()Gets the current conversation history as a list ofChatMessageobjects. -
Uses of ChatMessage in uno.anahata.ai.context
Methods in uno.anahata.ai.context that return types with arguments of type ChatMessageModifier and TypeMethodDescriptionContextManager.getChatMessageForPart(com.google.genai.types.Part part) Finds the ChatMessage that contains a specific Part instance.ContextManager.getContext()Returns a copy of the current conversation history.Methods in uno.anahata.ai.context with parameters of type ChatMessageModifier and TypeMethodDescriptionvoidContextManager.add(ChatMessage message) Adds a new message to the conversation context.Method parameters in uno.anahata.ai.context with type arguments of type ChatMessageModifier and TypeMethodDescriptionvoidContextManager.setContext(List<ChatMessage> newContext) Replaces the entire conversation history with a new list of messages. -
Uses of ChatMessage in uno.anahata.ai.context.session
Methods in uno.anahata.ai.context.session with parameters of type ChatMessageModifier and TypeMethodDescriptionSessionManager.summarizeMessage(ChatMessage msg) Summarizes a single ChatMessage into Markdown table rows. -
Uses of ChatMessage in uno.anahata.ai.context.stateful
Methods in uno.anahata.ai.context.stateful with parameters of type ChatMessageModifier and TypeMethodDescriptionResourceTracker.getResourceStatus(com.google.genai.types.Part part, ChatMessage message) Gets the status of a stateful resource associated with a part.voidResourceTracker.handleStatefulReplace(ChatMessage newMessage, ToolManager toolManager) Scans a new message for stateful resources and prunes any older versions of the same resources from the conversation history.booleanResourceTracker.isStatefulPart(com.google.genai.types.Part part, ChatMessage message) Checks if a specific Part is associated with a stateful resource interaction. -
Uses of ChatMessage in uno.anahata.ai.swing
Methods in uno.anahata.ai.swing with parameters of type ChatMessageModifier and TypeMethodDescriptionSwingFunctionPrompter.prompt(ChatMessage modelMessage, Chat chat) Method parameters in uno.anahata.ai.swing with type arguments of type ChatMessageModifier and TypeMethodDescriptionvoidContextHeatmapPanel.updateContext(List<ChatMessage> context) Constructors in uno.anahata.ai.swing with parameters of type ChatMessage -
Uses of ChatMessage in uno.anahata.ai.swing.render
Methods in uno.anahata.ai.swing.render with parameters of type ChatMessage -
Uses of ChatMessage in uno.anahata.ai.tools
Methods in uno.anahata.ai.tools with parameters of type ChatMessageModifier and TypeMethodDescriptionToolManager.processFunctionCalls(ChatMessage modelResponseMessage) Processes a list of function calls proposed by the model.FunctionPrompter.prompt(ChatMessage modelMessage, Chat chat) Prompts the user to confirm a list of function calls from the model's response.
