Enum Class ModelCapability

java.lang.Object
java.lang.Enum<ModelCapability>
com.inductiveautomation.ignition.common.ai.ModelCapability
All Implemented Interfaces:
Serializable, Comparable<ModelCapability>, Constable

public enum ModelCapability extends Enum<ModelCapability>
Ignition-side mirror of langchain4j's dev.langchain4j.model.chat.Capability. The mirror keeps Platform/common free of langchain4j imports; translation to the framework type happens at the Designer-side ProxyChatModel.
  • Enum Constant Details

    • STRUCTURED_OUTPUT

      public static final ModelCapability STRUCTURED_OUTPUT
      The model supports strict JSON Schema as a response format.
  • Method Details

    • values

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