Index

A B C D E F G H I L M N O P S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addMessage(AIMessage) - Method in interface com.vaadin.flow.component.ai.ui.AIMessageList
Adds a message to the list.
addSubmitListener(InputSubmitListener) - 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.
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 AIOrchestrator instance.
appendText(String) - Method in interface com.vaadin.flow.component.ai.ui.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, String) - Static method in class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
Creates a new builder for AIOrchestrator with a system prompt.

C

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
 
createMessage(String, String, List<AIAttachment>) - Method in interface com.vaadin.flow.component.ai.ui.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 data record 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.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.
getValue() - Method in interface com.vaadin.flow.component.ai.ui.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.ui
Event fired when a user submits input.
InputSubmitListener - Interface in com.vaadin.flow.component.ai.ui
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 mimeType record component.

N

name() - Method in record class com.vaadin.flow.component.ai.common.AIAttachment
Returns the value of the name record component.

O

onSubmit(InputSubmitEvent) - Method in interface com.vaadin.flow.component.ai.ui.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.ui.AIMessage
Sets the message text.
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/*).
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

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.
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.
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.
A B C D E F G H I L M N O P S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form