Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttachmentClickListener(AIMessageList.AttachmentClickCallback) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList
-
Adds a listener that is called when an attachment in the message list is clicked.
- addMessage(String, String, List<AIAttachment>) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList
-
Creates a new message with the given parameters and attachments.
- addSubmitListener(SerializableConsumer<String>) - Method in interface com.vaadin.flow.component.ai.ui.AIInput
-
Adds a listener for submit events.
- AI_COMPONENTS - Static variable in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
-
The AI components feature flag.
- AIAttachment - Record Class in com.vaadin.flow.component.ai.common
-
Represents an attachment that can be sent to an LLM and displayed in messages.
- AIAttachment(String, String, byte[]) - Constructor for record class com.vaadin.flow.component.ai.common.AIAttachment
-
Creates a new attachment.
- AIComponentsExperimentalFeatureException - Exception Class in com.vaadin.flow.component.ai
-
An exception which is thrown when somebody attempts to use AI component features without activating the associated feature flag first.
- AIComponentsExperimentalFeatureException() - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a default message.
- AIComponentsExperimentalFeatureException(String) - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a message that includes the specific component name.
- AIComponentsExperimentalFeatureException(String, String) - Constructor for exception class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
-
Creates a new exception with a message that includes the specific component name and feature flag ID.
- AIComponentsFeatureFlagProvider - Class in com.vaadin.flow.component.ai
-
Provides the AI components feature flag for AI-related features such as AIOrchestrator, modular upload components, and MessageListItem attachments.
- AIComponentsFeatureFlagProvider() - Constructor for class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
- AIFileReceiver - Interface in com.vaadin.flow.component.ai.ui
-
Interface for file upload components that are used in an AI conversation.
- AIInput - Interface in com.vaadin.flow.component.ai.ui
-
Interface for input components that are used in an AI conversation.
- AIMessage - Interface in com.vaadin.flow.component.ai.ui
-
Represents a message in an AI conversation.
- AIMessageList - Interface in com.vaadin.flow.component.ai.ui
-
Interface for message list components that can display AI conversation messages.
- AIMessageList.AttachmentClickCallback - Interface in com.vaadin.flow.component.ai.ui
-
Callback for attachment click events in the message list.
- AIOrchestrator - Class in com.vaadin.flow.component.ai.orchestrator
-
Orchestrator for AI-powered chat interfaces.
- AIOrchestrator.Builder - Class in com.vaadin.flow.component.ai.orchestrator
-
Builder for configuring and creating an
AIOrchestratorinstance. - AIOrchestrator.Reconnector - Class in com.vaadin.flow.component.ai.orchestrator
-
Fluent API for restoring transient dependencies on an
AIOrchestratorafter deserialization. - appendText(String) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Appends text to the existing message content.
- apply() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Applies the reconnection, restoring the provider, tools, and conversation history on the new provider.
- ASSISTANT - Enum constant in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
A message sent by the AI assistant.
- AttachmentClickListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for attachment click events.
- AttachmentClickListener.AttachmentClickEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired when an attachment in the message list is clicked.
- AttachmentContentType - Enum Class in com.vaadin.flow.component.ai.common
-
Supported content type categories for attachments.
- attachments() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the list of file attachments to include with the request.
- AttachmentSubmitListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for attachment submit events.
- AttachmentSubmitListener.AttachmentSubmitEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired when a message with attachments is submitted to the LLM provider.
- AUDIO - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Audio content types (audio/*).
B
- build() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Builds the orchestrator.
- builder(LLMProvider, String) - Static method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Creates a new builder for AIOrchestrator with a system prompt.
C
- ChatMessage - Record Class in com.vaadin.flow.component.ai.common
-
Represents a chat message in a conversation history.
- ChatMessage(ChatMessage.Role, String, String, Instant) - Constructor for record class com.vaadin.flow.component.ai.common.ChatMessage
-
Creates a new chat message.
- ChatMessage.Role - Enum Class in com.vaadin.flow.component.ai.common
-
The role of a message sender in a conversation.
- com.vaadin.flow.component.ai - package com.vaadin.flow.component.ai
- com.vaadin.flow.component.ai.common - package com.vaadin.flow.component.ai.common
- com.vaadin.flow.component.ai.orchestrator - package com.vaadin.flow.component.ai.orchestrator
- com.vaadin.flow.component.ai.provider - package com.vaadin.flow.component.ai.provider
- com.vaadin.flow.component.ai.ui - package com.vaadin.flow.component.ai.ui
- content() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
contentrecord component.
D
- data() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
datarecord component.
E
- equals(Object) - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Indicates whether some other object is "equal to" this one.
F
- FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
-
The feature flag ID for AI components.
- from(ChatModel) - Static method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Creates an
LLMProviderfrom a LangChain4jChatModel. - from(StreamingChatModel) - Static method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Creates an
LLMProviderfrom a LangChain4jStreamingChatModel. - from(ChatClient) - Static method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Creates an
LLMProviderfrom a Spring AIChatClient. - from(ChatModel) - Static method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Creates an
LLMProviderfrom a Spring AIChatModel. - fromMimeType(String) - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Detects the content type category from a MIME type string.
G
- getAttachmentIndex() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener.AttachmentClickEvent
-
Gets the index of the clicked attachment within the message.
- getAttachments() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener.AttachmentSubmitEvent
-
Gets the attachments included with the message.
- getFeatures() - Method in class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
- getHistory() - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Returns the conversation history.
- getMessageId() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener.AttachmentClickEvent
-
Gets the unique identifier for the message containing the clicked attachment.
- getMessageId() - Method in class com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener.AttachmentSubmitEvent
-
Gets the unique identifier for the message that these attachments belong to.
- getResponse() - Method in class com.vaadin.flow.component.ai.orchestrator.ResponseCompleteListener.ResponseCompleteEvent
-
Gets the full text of the assistant's response.
- getText() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the message text.
- getTime() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the timestamp of the message.
- getUserName() - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Gets the name of the message sender.
H
- hashCode() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns a hash code value for this object.
I
- IMAGE - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Image content types (image/*).
L
- LangChain4JLLMProvider - Class in com.vaadin.flow.component.ai.provider
-
LangChain4j implementation of
LLMProvider. - LangChain4JLLMProvider(ChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
-
Constructor with a non-streaming chat model.
- LangChain4JLLMProvider(StreamingChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
-
Constructor with a streaming chat model.
- LLMProvider - Interface in com.vaadin.flow.component.ai.provider
-
Framework-agnostic interface for Large Language Model (LLM) providers.
- LLMProvider.LLMRequest - Interface in com.vaadin.flow.component.ai.provider
-
Represents a request to the LLM containing all necessary context, configuration, and tools.
M
- messageId() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
messageIdrecord component. - mimeType() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
mimeTyperecord component.
N
- name() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns the value of the
namerecord component.
O
- onAttachmentClick(AttachmentClickListener.AttachmentClickEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener
-
Called when an attachment in the message list is clicked.
- onAttachmentClick(AIMessage, int) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList.AttachmentClickCallback
-
Called when an attachment in the message list is clicked.
- onAttachmentSubmit(AttachmentSubmitListener.AttachmentSubmitEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.AttachmentSubmitListener
-
Called when a message with attachments is submitted to the LLM provider.
- onResponseComplete(ResponseCompleteListener.ResponseCompleteEvent) - Method in interface com.vaadin.flow.component.ai.orchestrator.ResponseCompleteListener
-
Called when the assistant's response has been fully streamed and recorded in the conversation history.
P
- PDF - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
PDF content types (application/pdf, application/x-pdf).
- prompt(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Sends a prompt to the AI orchestrator programmatically.
R
- reconnect(LLMProvider) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
-
Returns a
AIOrchestrator.Reconnectorto restore transient dependencies after deserialization. - ResponseCompleteListener - Interface in com.vaadin.flow.component.ai.orchestrator
-
Listener for LLM response completion events.
- ResponseCompleteListener.ResponseCompleteEvent - Class in com.vaadin.flow.component.ai.orchestrator
-
Event fired after the assistant's response has been fully streamed and added to the conversation history.
- role() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
rolerecord component.
S
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Restores the provider's conversation memory from a list of chat messages with their associated attachments.
- setHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
- setStreaming(boolean) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Sets whether to use streaming mode.
- setText(String) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Sets the message text.
- setTime(Instant) - Method in interface com.vaadin.flow.component.ai.ui.AIMessage
-
Sets the timestamp of the message.
- SpringAILLMProvider - Class in com.vaadin.flow.component.ai.provider
-
Spring AI implementation of
LLMProvider. - SpringAILLMProvider(ChatClient) - Constructor for class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Constructor with a chat client.
- SpringAILLMProvider(ChatModel) - Constructor for class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
-
Constructor with a chat model.
- stream(LLMProvider.LLMRequest) - Method in class com.vaadin.flow.component.ai.provider.LangChain4JLLMProvider
- stream(LLMProvider.LLMRequest) - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider
-
Streams a response from the LLM based on the provided request.
- stream(LLMProvider.LLMRequest) - Method in class com.vaadin.flow.component.ai.provider.SpringAILLMProvider
- systemPrompt() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the system prompt for this specific request.
T
- takeAttachments() - Method in interface com.vaadin.flow.component.ai.ui.AIFileReceiver
-
Returns all accumulated attachments and clears the internal state.
- TEXT - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Text content types (text/*).
- time() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns the value of the
timerecord component. - tools() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the tool objects for this request.
- toString() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.component.ai.common.ChatMessage
-
Returns a string representation of this record class.
U
- UNSUPPORTED - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Unsupported or unknown content types.
- USER - Enum constant in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
A message sent by the user.
- userMessage() - Method in interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
Gets the user's message.
V
- valueOf(String) - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.flow.component.ai.common.ChatMessage.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VIDEO - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Video content types (video/*).
W
- withAssistantName(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the display name for AI assistant messages in the message list.
- withAttachmentClickListener(AttachmentClickListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called when an attachment in the message list is clicked.
- withAttachments(Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Sets the file attachments to restore on the new provider's conversation memory.
- withAttachmentSubmitListener(AttachmentSubmitListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called when a message with attachments is submitted to the LLM provider.
- withFileReceiver(AIFileReceiver) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component for file uploads.
- withFileReceiver(Upload) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component using a Flow Upload component.
- withFileReceiver(UploadManager) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the file receiver component using a Flow UploadManager.
- withHistory(List<ChatMessage>, Map<String, List<AIAttachment>>) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the conversation history and associated attachments to restore when the orchestrator is built.
- withInput(AIInput) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the input component.
- withInput(MessageInput) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the input component using a Flow MessageInput component.
- withMessageList(AIMessageList) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the message list component.
- withMessageList(MessageList) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the message list component using a Flow MessageList component.
- withResponseCompleteListener(ResponseCompleteListener) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets a listener that is called after each successful exchange — when the assistant's response has been fully streamed and added to the conversation history.
- withTools(Object...) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the objects containing vendor-specific tool-annotated methods that will be available to the LLM.
- withTools(Object...) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Reconnector
-
Sets the objects containing vendor-specific tool-annotated methods that will be available to the LLM.
- withUserName(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
-
Sets the display name for user messages in the message list.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form