Package de.espirit.firstspirit.ai.dto
Interface FunctionCall
- All Superinterfaces:
ToolCall
Instructions for invoking a previously specified
Function
.- Since:
- 5.2.250908
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FunctionCall.Builder
builder()
Creates a new builder for creating aFunctionCall
definition.@NotNull String
Returns the function arguments as JSON string.@NotNull String
getName()
Returns the name of the function to be called.
-
Method Details
-
builder
Creates a new builder for creating aFunctionCall
definition.- Returns:
- The new builder instance.
- Since:
- 5.2.250908
-
getName
Returns the name of the function to be called.- Returns:
- The function name.
- Since:
- 5.2.250908
-
getArguments
Returns the function arguments as JSON string. Maybe chunk-based for streamed responses.- Returns:
- The function arguments.
- Since:
- 5.2.250908
-