Class FunctionName
java.lang.Object
nl.dannyj.mistral.models.completion.tool.FunctionName
Represents the name of a function, used when specifying a particular function for tool_choice.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FunctionName
public FunctionName() -
FunctionName
Creates a newFunctionName
instance.- Parameters:
name
- The name of the function.
-
-
Method Details
-
getName
The name of the function. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.- Returns:
- The name of the function.
-
setName
The name of the function. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.- Parameters:
name
- The name of the function.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-