Enum Class AiConversationTitleMode

java.lang.Object
java.lang.Enum<AiConversationTitleMode>
io.jmix.aitoolsflowui.view.chat.AiConversationTitleMode
All Implemented Interfaces:
Serializable, Comparable<AiConversationTitleMode>, Constable

public enum AiConversationTitleMode extends Enum<AiConversationTitleMode>
How the title of a new AI conversation is produced.
  • Enum Constant Details

    • FIRST_MESSAGE

      public static final AiConversationTitleMode FIRST_MESSAGE
      The first user message, trimmed. No model call.
    • GENERATED

      public static final AiConversationTitleMode GENERATED
      Generated by the model in the background; the first-message title is shown until it is ready.
    • NONE

      public static final AiConversationTitleMode NONE
      The default title is kept.
  • Method Details

    • values

      public static AiConversationTitleMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AiConversationTitleMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null