Interface AiIconProvider

All Known Implementing Classes:
DefaultAiIconProvider

public interface AiIconProvider
Interface for providing AI assistant icon components.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
    Creates the assistant avatar glyph used in timeline message rows next to each assistant (and thinking-indicator) message.
    com.vaadin.flow.component.Component
    Creates the brand mark icon used on the chat hub hero section and on each conversation card (recent list and history panel).
  • Method Details

    • createMarkIcon

      com.vaadin.flow.component.Component createMarkIcon()
      Creates the brand mark icon used on the chat hub hero section and on each conversation card (recent list and history panel).

      Must return a fresh component on every call.

      Returns:
      a new component representing the AI brand mark
    • createAvatarIcon

      com.vaadin.flow.component.Component createAvatarIcon()
      Creates the assistant avatar glyph used in timeline message rows next to each assistant (and thinking-indicator) message.

      Must return a fresh component on every call.

      Returns:
      a new component representing the assistant avatar glyph