ProjectsOpenAIModelFactory.AzureFunctionDefinitionFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The AzureFunctionDefinitionFunction.
public static Azure.AI.Projects.OpenAI.AzureFunctionDefinitionFunction AzureFunctionDefinitionFunction(string name = default, string description = default, BinaryData parameters = default);
static member AzureFunctionDefinitionFunction : string * string * BinaryData -> Azure.AI.Projects.OpenAI.AzureFunctionDefinitionFunction
Public Shared Function AzureFunctionDefinitionFunction (Optional name As String = Nothing, Optional description As String = Nothing, Optional parameters As BinaryData = Nothing) As AzureFunctionDefinitionFunction
Parameters
- name
- String
The name of the function to be called.
- description
- String
A description of what the function does, used by the model to choose when and how to call the function.
- parameters
- BinaryData
The parameters the functions accepts, described as a JSON Schema object.
Returns
A new AzureFunctionDefinitionFunction instance for mocking.