Record Class ToolChoice.Required
java.lang.Object
java.lang.Record
smile.llm.ToolChoice.Required
- All Implemented Interfaces:
ToolChoice
- Enclosing interface:
ToolChoice
Model should call at least one tool.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ToolChoice
ToolChoice.Auto, ToolChoice.Named, ToolChoice.None, ToolChoice.Required -
Field Summary
Fields inherited from interface ToolChoice
AUTO, NONE, REQUIRED -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Required
public Required()Creates an instance of aRequiredrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-