Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addFileRemovedListener(Consumer<String>) - Method in interface com.vaadin.flow.component.ai.component.AiFileReceiver
-
Adds a listener for file removed events.
- addMessage(AiMessage) - Method in interface com.vaadin.flow.component.ai.component.AiMessageList
-
Adds a message to the list.
- addSubmitListener(InputSubmitListener) - Method in interface com.vaadin.flow.component.ai.component.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.component
-
Interface for file upload components that are used in an AI conversation.
- AiInput - Interface in com.vaadin.flow.component.ai.component
-
Interface for input components that are used in an AI conversation.
- AiMessage - Interface in com.vaadin.flow.component.ai.component
-
Represents a message in an AI conversation.
- AiMessageList - Interface in com.vaadin.flow.component.ai.component
-
Interface for message list components that can display AI conversation messages.
- 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 AiOrchestrator.
- appendText(String) - Method in interface com.vaadin.flow.component.ai.component.AiMessage
-
Appends text to the existing message content.
- 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.
- 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) - Static method in class com.vaadin.flow.component.ai.orchestrator.AiOrchestrator
-
Creates a new builder for AiOrchestrator.
- 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
- clearFileList() - Method in interface com.vaadin.flow.component.ai.component.AiFileReceiver
-
Clears the list of uploaded files.
- 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.component - package com.vaadin.flow.component.ai.component
- 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
- createMessage(String, String, List<AiAttachment>) - Method in interface com.vaadin.flow.component.ai.component.AiMessageList
-
Creates a new message with the given parameters and attachments.
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.
F
- FEATURE_FLAG_ID - Static variable in class com.vaadin.flow.component.ai.AiComponentsFeatureFlagProvider
-
The feature flag ID for AI components.
- 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
- getFeatures() - Method in class com.vaadin.flow.component.ai.AiComponentsFeatureFlagProvider
- getText() - Method in interface com.vaadin.flow.component.ai.component.AiMessage
-
Gets the message text.
- getTime() - Method in interface com.vaadin.flow.component.ai.component.AiMessage
-
Gets the timestamp of the message.
- getUserName() - Method in interface com.vaadin.flow.component.ai.component.AiMessage
-
Gets the name of the message sender.
- getValue() - Method in interface com.vaadin.flow.component.ai.component.InputSubmitEvent
-
Gets the submitted value.
H
- hashCode() - Method in record class com.vaadin.flow.component.ai.common.AiAttachment
-
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/*).
- InputSubmitEvent - Interface in com.vaadin.flow.component.ai.component
-
Event fired when a user submits input.
- InputSubmitListener - Interface in com.vaadin.flow.component.ai.component
-
Listener for input submit events.
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
- 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
- onSubmit(InputSubmitEvent) - Method in interface com.vaadin.flow.component.ai.component.InputSubmitListener
-
Called when the user submits input.
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.
S
- 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.component.AiMessage
-
Sets the message text.
- setUploadHandler(UploadHandler) - Method in interface com.vaadin.flow.component.ai.component.AiFileReceiver
-
Sets the upload handler for this file receiver.
- 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
- TEXT - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Text content types (text/*).
- 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.
U
- UNSUPPORTED - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Unsupported or unknown content types.
- 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.
- 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.
- VIDEO - Enum constant in enum class com.vaadin.flow.component.ai.common.AttachmentContentType
-
Video content types (video/*).
W
- withAiName(String) - Method in class com.vaadin.flow.component.ai.orchestrator.AiOrchestrator.Builder
-
Sets the display name for AI assistant messages in the message list.
- withFileReceiver(AiFileReceiver) - Method in class com.vaadin.flow.component.ai.orchestrator.AiOrchestrator.Builder
-
Sets the file receiver component for file uploads.
- withFileReceiver(UploadManager) - Method in class com.vaadin.flow.component.ai.orchestrator.AiOrchestrator.Builder
-
Sets the file receiver component using a Flow UploadManager component.
- 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.
- 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.
- 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