ExtensionsOpenAIModelFactory.ResponsesAzureFunctionTool 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.Extensions.OpenAI.ResponsesAzureFunctionTool ResponsesAzureFunctionTool(System.Collections.Generic.IDictionary<string,Azure.AI.Extensions.OpenAI.ToolConfig> toolConfigs = default, Azure.AI.Extensions.OpenAI.ResponsesAzureFunctionDefinition azureFunction = default);
static member ResponsesAzureFunctionTool : System.Collections.Generic.IDictionary<string, Azure.AI.Extensions.OpenAI.ToolConfig> * Azure.AI.Extensions.OpenAI.ResponsesAzureFunctionDefinition -> Azure.AI.Extensions.OpenAI.ResponsesAzureFunctionTool
Public Shared Function ResponsesAzureFunctionTool (Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing, Optional azureFunction As ResponsesAzureFunctionDefinition = Nothing) As ResponsesAzureFunctionTool
Parameters
- toolConfigs
- IDictionary<String,ToolConfig>
Deprecated. This property is deprecated and will be removed in a future version.
- azureFunction
- ResponsesAzureFunctionDefinition
The Azure Function Tool definition.
Returns
A new ResponsesAzureFunctionTool instance for mocking.