Uses of Class
com.azure.ai.openai.models.FunctionDefinition
Packages that use FunctionDefinition
-
Uses of FunctionDefinition in com.azure.ai.openai.models
Methods in com.azure.ai.openai.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.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.Methods in com.azure.ai.openai.models that return types with arguments of type FunctionDefinitionModifier and TypeMethodDescriptionChatCompletionsOptions.getFunctions()Get the functions property: A list of functions the model may generate JSON inputs for.Method parameters in com.azure.ai.openai.models with type arguments of type FunctionDefinitionModifier and TypeMethodDescriptionChatCompletionsOptions.setFunctions(List<FunctionDefinition> functions) Set the functions property: A list of functions the model may generate JSON inputs for.Constructors in com.azure.ai.openai.models with parameters of type FunctionDefinitionModifierConstructorDescriptionCreates an instance of ChatCompletionsFunctionToolDefinition class.