Uses of Record Class
com.vaadin.flow.component.ai.common.AIAttachment
Packages that use AIAttachment
Package
Description
-
Uses of AIAttachment in com.vaadin.flow.component.ai.orchestrator
Methods in com.vaadin.flow.component.ai.orchestrator that return types with arguments of type AIAttachmentModifier and TypeMethodDescriptionAttachmentSubmitListener.AttachmentSubmitEvent.getAttachments()Gets the attachments included with the message.Method parameters in com.vaadin.flow.component.ai.orchestrator with type arguments of type AIAttachmentModifier 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 AIAttachment in com.vaadin.flow.component.ai.provider
Methods in com.vaadin.flow.component.ai.provider that return types with arguments of type AIAttachmentModifier and TypeMethodDescriptionLLMProvider.LLMRequest.attachments()Gets the list of file attachments to include with the request.Method parameters in com.vaadin.flow.component.ai.provider with type arguments of type AIAttachmentModifier 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) -
Uses of AIAttachment in com.vaadin.flow.component.ai.ui
Methods in com.vaadin.flow.component.ai.ui that return types with arguments of type AIAttachmentModifier and TypeMethodDescriptionAIFileReceiver.takeAttachments()Returns all accumulated attachments and clears the internal state.Method parameters in com.vaadin.flow.component.ai.ui with type arguments of type AIAttachmentModifier and TypeMethodDescriptionAIMessageList.addMessage(String text, String userName, List<AIAttachment> attachments) Creates a new message with the given parameters and attachments.