Enum Class ModelCapability
- All Implemented Interfaces:
Serializable, Comparable<ModelCapability>, Constable
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.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe model supports strict JSON Schema as a response format. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelCapabilityReturns the enum constant of this class with the specified name.static ModelCapability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRUCTURED_OUTPUT
The model supports strict JSON Schema as a response format.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-