Enum Class FeedbackType

java.lang.Object
java.lang.Enum<FeedbackType>
com.tnsai.learning.FeedbackType
All Implemented Interfaces:
Serializable, Comparable<FeedbackType>, Constable

public enum FeedbackType extends Enum<FeedbackType>
Types of feedback that can be provided on agent output.
  • Enum Constant Details

    • POSITIVE

      public static final FeedbackType POSITIVE
      User approved the output.
    • NEGATIVE

      public static final FeedbackType NEGATIVE
      User disapproved of the output.
    • CORRECTION

      public static final FeedbackType CORRECTION
      User provided a correction or improvement.
    • PREFERENCE

      public static final FeedbackType PREFERENCE
      User expressed a preference for future behavior.
  • Method Details

    • values

      public static FeedbackType[] 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 FeedbackType 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