Uses of Class
com.vaadin.flow.component.ai.orchestrator.AIOrchestrator.Builder
Packages that use AIOrchestrator.Builder
-
Uses of AIOrchestrator.Builder in com.vaadin.flow.component.ai.orchestrator
Methods in com.vaadin.flow.component.ai.orchestrator that return AIOrchestrator.BuilderModifier and TypeMethodDescriptionstatic AIOrchestrator.BuilderAIOrchestrator.builder(LLMProvider provider, String systemPrompt) Creates a new builder for AIOrchestrator with a system prompt.AIOrchestrator.Builder.withAssistantName(String assistantName) Sets the display name for AI assistant messages in the message list.AIOrchestrator.Builder.withAttachmentClickListener(AttachmentClickListener listener) Sets a listener that is called when an attachment in the message list is clicked.AIOrchestrator.Builder.withAttachmentSubmitListener(AttachmentSubmitListener listener) Sets a listener that is called when a message with attachments is submitted to the LLM provider.AIOrchestrator.Builder.withFileReceiver(AIFileReceiver fileReceiver) Sets the file receiver component for file uploads.AIOrchestrator.Builder.withFileReceiver(com.vaadin.flow.component.upload.Upload upload) Sets the file receiver component using a Flow Upload component.AIOrchestrator.Builder.withFileReceiver(com.vaadin.flow.component.upload.UploadManager uploadManager) Sets the file receiver component using a Flow UploadManager.AIOrchestrator.Builder.withHistory(List<ChatMessage> history, Map<String, List<AIAttachment>> attachmentsByMessageId) Sets the conversation history and associated attachments to restore when the orchestrator is built.Sets the input component.AIOrchestrator.Builder.withInput(com.vaadin.flow.component.messages.MessageInput messageInput) Sets the input component using a Flow MessageInput component.AIOrchestrator.Builder.withMessageList(AIMessageList messageList) Sets the message list component.AIOrchestrator.Builder.withMessageList(com.vaadin.flow.component.messages.MessageList messageList) Sets the message list component using a Flow MessageList component.AIOrchestrator.Builder.withResponseCompleteListener(ResponseCompleteListener listener) 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.Sets the objects containing vendor-specific tool-annotated methods that will be available to the LLM.AIOrchestrator.Builder.withUserName(String userName) Sets the display name for user messages in the message list.