Uses of Class
com.azure.ai.inference.models.FunctionDefinition
Packages that use FunctionDefinition
-
Uses of FunctionDefinition in com.azure.ai.inference.models
Methods in com.azure.ai.inference.models that return FunctionDefinitionModifier and TypeMethodDescriptionstatic FunctionDefinitionFunctionDefinition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionDefinition from the JsonReader.ChatCompletionsFunctionToolDefinition.getFunction()Get the function property: The function definition details for the function tool.ChatCompletionsToolDefinition.getFunction()Get the function property: The function definition details for the function tool.FunctionDefinition.setDescription(String description) Set the description property: A description of what the function does.FunctionDefinition.setParameters(com.azure.core.util.BinaryData parameters) Set the parameters property: The parameters the function accepts, described as a JSON Schema object.Constructors in com.azure.ai.inference.models with parameters of type FunctionDefinitionModifierConstructorDescriptionCreates an instance of ChatCompletionsFunctionToolDefinition class.Creates an instance of ChatCompletionsToolDefinition class.