ProjectsOpenAIModelFactory.AzureFunctionAgentTool 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 input definition information for an Azure Function Tool, as used to configure an Agent.
public static Azure.AI.Projects.OpenAI.AzureFunctionAgentTool AzureFunctionAgentTool(Azure.AI.Projects.OpenAI.AzureFunctionDefinition azureFunction = default);
static member AzureFunctionAgentTool : Azure.AI.Projects.OpenAI.AzureFunctionDefinition -> Azure.AI.Projects.OpenAI.AzureFunctionAgentTool
Public Shared Function AzureFunctionAgentTool (Optional azureFunction As AzureFunctionDefinition = Nothing) As AzureFunctionAgentTool
Parameters
- azureFunction
- AzureFunctionDefinition
The Azure Function Tool definition.
Returns
A new AzureFunctionAgentTool instance for mocking.