AzureFunctionToolDefinition Constructor
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.
Initializes a new instance of AzureFunctionDefinition.
public AzureFunctionToolDefinition (string name, string description, Azure.AI.Projects.AzureFunctionBinding inputBinding, Azure.AI.Projects.AzureFunctionBinding outputBinding, BinaryData parameters);
new Azure.AI.Projects.AzureFunctionToolDefinition : string * string * Azure.AI.Projects.AzureFunctionBinding * Azure.AI.Projects.AzureFunctionBinding * BinaryData -> Azure.AI.Projects.AzureFunctionToolDefinition
Public Sub New (name As String, description As String, inputBinding As AzureFunctionBinding, outputBinding As AzureFunctionBinding, parameters As BinaryData)
Parameters
- name
- String
The name of the Azure function to be called.
- description
- String
A description of what the Azure function does, used by the model to choose when and how to call the function.
- inputBinding
- AzureFunctionBinding
Input storage queue.
- outputBinding
- AzureFunctionBinding
Output storage queue.
- parameters
- BinaryData
The parameters the Azure functions accepts, described as a JSON Schema object.
Exceptions
name
, description
or parameters
is null.