Enum Class LearningStrategy

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

public enum LearningStrategy extends Enum<LearningStrategy>
Strategies for learning from feedback.
  • Enum Constant Details

    • PROMPT_ADJUSTMENT

      public static final LearningStrategy PROMPT_ADJUSTMENT
      Adjust system prompt based on feedback patterns.
    • EXAMPLE_COLLECTION

      public static final LearningStrategy EXAMPLE_COLLECTION
      Collect good examples for few-shot prompting.
    • PREFERENCE_LEARNING

      public static final LearningStrategy PREFERENCE_LEARNING
      Learn user preferences for output style, tone, etc.
  • Method Details

    • values

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