Package com.azure.ai.openai.models
Class FunctionCallConfig
java.lang.Object
com.azure.ai.openai.models.FunctionCallConfig
The name and arguments of a function that should be called, as generated by the model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionCallConfigAUTO will indicate the service to call any functions that are necessary for text completion generation.static final FunctionCallConfigNONE will indicate the service to not call nay of the functions that may have been provided with the request for text completion generation. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionCallConfig(String name) Creates an instance of FunctionCallConfig class. -
Method Summary
-
Field Details
-
AUTO
AUTO will indicate the service to call any functions that are necessary for text completion generation. -
NONE
NONE will indicate the service to not call nay of the functions that may have been provided with the request for text completion generation.
-
-
Constructor Details
-
FunctionCallConfig
Creates an instance of FunctionCallConfig class.- Parameters:
name- the name value to set.
-
-
Method Details
-
getName
Get the name property: The name of the function to call.- Returns:
- the name value.
-