Package de.espirit.firstspirit.ai.dto
Interface Function
- All Superinterfaces:
Tool
Definition of a function.
- Since:
- 5.2.250908
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for a function definition. -
Field Summary
Fields inherited from interface de.espirit.firstspirit.ai.dto.Tool
TYPE_FUNCTION -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Function.Builderbuilder()Creates a new builder for creating aFunctiondefinition.@NotNull StringA description of what the function does, used by the model to choose when and how to call the function.@NotNull StringgetName()The name of the function.@NotNull List<FunctionParameter>A list of parameters for this function.
-
Method Details
-
builder
Creates a new builder for creating aFunctiondefinition.- Returns:
- The new builder instance.
- Since:
- 5.2.250908
-
getName
The name of the function.- Returns:
- The function name.
- Since:
- 5.2.250908
-
getDescription
A description of what the function does, used by the model to choose when and how to call the function.- Returns:
- The description of the function.
- Since:
- 5.2.250908
-
getParameters
A list of parameters for this function.- Returns:
- The function parameters.
- Since:
- 5.2.250908
-