Uses of Class
com.azure.ai.openai.assistants.models.FunctionDefinition
Packages that use FunctionDefinition
Package
Description
Package containing the data models for Assistants.
-
Uses of FunctionDefinition in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return FunctionDefinitionModifier and TypeMethodDescriptionstatic FunctionDefinition
FunctionDefinition.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionDefinition from the JsonReader.FunctionToolDefinition.getFunction()
Get the function property: The definition of the concrete function that the function tool should call.FunctionDefinition.setDescription
(String description) Set the description property: A description of what the function does, used by the model to choose when and how to call the function.Constructors in com.azure.ai.openai.assistants.models with parameters of type FunctionDefinitionModifierConstructorDescriptionFunctionToolDefinition
(FunctionDefinition function) Creates an instance of FunctionToolDefinition class.