Serialized Form
-
Package com.vaadin.flow.component.ai
-
Exception Class com.vaadin.flow.component.ai.AIComponentsExperimentalFeatureException
class AIComponentsExperimentalFeatureException extends RuntimeException implements Serializable -
Class com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
class AIComponentsFeatureFlagProvider extends Object implements Serializable
-
-
Package com.vaadin.flow.component.ai.common
-
Record Class com.vaadin.flow.component.ai.common.AIAttachment
class AIAttachment extends Record implements Serializable -
Record Class com.vaadin.flow.component.ai.common.ChatMessage
class ChatMessage extends Record implements Serializable -
Record Class com.vaadin.flow.component.ai.common.PageRegion
class PageRegion extends Record implements Serializable -
Record Class com.vaadin.flow.component.ai.common.Rect
class Rect extends Record implements Serializable -
Record Class com.vaadin.flow.component.ai.common.SourceExtract
class SourceExtract extends Record implements Serializable-
Serialized Fields
-
location
SourceLocation location
The field for thelocationrecord component. -
text
String text
The field for thetextrecord component.
-
-
-
Record Class com.vaadin.flow.component.ai.common.ValueSource
class ValueSource extends Record implements Serializable-
Serialized Fields
-
confidence
ConfidenceLevel confidence
The field for theconfidencerecord component. -
extracts
List<SourceExtract> extracts
The field for theextractsrecord component.
-
-
-
-
Package com.vaadin.flow.component.ai.orchestrator
-
Class com.vaadin.flow.component.ai.orchestrator.AIOrchestrator
class AIOrchestrator extends Object implements Serializable-
Serialized Fields
-
assistantName
String assistantName
-
attachmentClickListener
AttachmentClickListener attachmentClickListener
-
contextSupplier
com.vaadin.flow.function.SerializableSupplier<String> contextSupplier
-
conversationHistory
List<ChatMessage> conversationHistory
-
featureFlagChecked
AtomicBoolean featureFlagChecked
-
fileReceiver
AIFileReceiver fileReceiver
-
input
AIInput input
-
isProcessing
AtomicBoolean isProcessing
Busy guard: claimed bydoPrompt's CAS, and every downstream path must release it exactly once — thedoPromptcatch (sync failures), the verdict-drop paths, the stream'sdoFinally, the postponement abort/resume/detach handlers (including their release-then-rethrow catches), andReconnector#apply()after deserialization. When adding a new path out of a prompt, decide which of these owns the release; a missed release blocks all later prompts. -
itemToMessageId
Map<AIMessage,
String> itemToMessageId -
messageList
AIMessageList messageList
-
requestInterceptor
RequestInterceptor requestInterceptor
-
requestListener
RequestListener requestListener
-
responseListener
ResponseListener responseListener
-
systemPrompt
String systemPrompt
-
userName
String userName
-
-
-
Class com.vaadin.flow.component.ai.orchestrator.AttachmentClickListener.AttachmentClickEvent
class AttachmentClickEvent extends Object implements Serializable-
Serialized Fields
-
attachmentIndex
int attachmentIndex
-
messageId
String messageId
-
-
-
Class com.vaadin.flow.component.ai.orchestrator.RequestInterceptor.RequestContinuation
class RequestContinuation extends Object implements Serializable -
Class com.vaadin.flow.component.ai.orchestrator.RequestInterceptor.RequestInterceptEvent
class RequestInterceptEvent extends Object implements Serializable-
Serialized Fields
-
attachments
List<AIAttachment> attachments
-
continuation
RequestInterceptor.RequestContinuation continuation
-
originalAttachments
List<AIAttachment> originalAttachments
-
originalUserMessage
String originalUserMessage
-
rejected
boolean rejected
-
rejectionMessage
String rejectionMessage
-
userMessage
String userMessage
-
-
-
Class com.vaadin.flow.component.ai.orchestrator.RequestListener.RequestEvent
class RequestEvent extends Object implements Serializable-
Serialized Fields
-
attachments
List<AIAttachment> attachments
-
messageId
String messageId
-
userMessage
String userMessage
-
-
-
Class com.vaadin.flow.component.ai.orchestrator.ResponseListener.ResponseEvent
class ResponseEvent extends Object implements Serializable-
Serialized Fields
-
error
Throwable error
-
metadata
ResponseMetadata metadata
-
response
String response
-
-
-
-
Package com.vaadin.flow.component.ai.provider
-
Record Class com.vaadin.flow.component.ai.provider.ResponseMetadata
class ResponseMetadata extends Record implements Serializable-
Serialized Fields
-
finishReason
String finishReason
The field for thefinishReasonrecord component. -
tokenUsage
ResponseMetadata.TokenUsage tokenUsage
The field for thetokenUsagerecord component.
-
-
-
Record Class com.vaadin.flow.component.ai.provider.ResponseMetadata.TokenUsage
class TokenUsage extends Record implements Serializable-
Serialized Fields
-
inputTokens
Integer inputTokens
The field for theinputTokensrecord component. -
outputTokens
Integer outputTokens
The field for theoutputTokensrecord component. -
totalTokens
Integer totalTokens
The field for thetotalTokensrecord component.
-
-
-
Exception Class com.vaadin.flow.component.ai.provider.ToolCallLimitExceededException
class ToolCallLimitExceededException extends RuntimeException implements Serializable -
Exception Class com.vaadin.flow.component.ai.provider.ToolException
class ToolException extends RuntimeException implements Serializable
-
-
Package com.vaadin.flow.component.ai.ui