Uses of Record Class
com.vaadin.flow.component.ai.common.ChatMessage
Packages that use ChatMessage
-
Uses of ChatMessage in com.vaadin.flow.component.ai.orchestrator
Methods in com.vaadin.flow.component.ai.orchestrator that return types with arguments of type ChatMessageMethod parameters in com.vaadin.flow.component.ai.orchestrator with type arguments of type ChatMessageModifier and TypeMethodDescriptionAIOrchestrator.Builder.withHistory(List<ChatMessage> history, Map<String, List<AIAttachment>> attachmentsByMessageId) Sets the conversation history and associated attachments to restore when the orchestrator is built. -
Uses of ChatMessage in com.vaadin.flow.component.ai.provider
Method parameters in com.vaadin.flow.component.ai.provider with type arguments of type ChatMessageModifier and TypeMethodDescriptionvoidLangChain4JLLMProvider.setHistory(List<ChatMessage> history, Map<String, List<AIAttachment>> attachmentsByMessageId) default voidLLMProvider.setHistory(List<ChatMessage> history, Map<String, List<AIAttachment>> attachmentsByMessageId) Restores the provider's conversation memory from a list of chat messages with their associated attachments.voidSpringAILLMProvider.setHistory(List<ChatMessage> history, Map<String, List<AIAttachment>> attachmentsByMessageId)