ExtensionsOpenAIModelFactory.ResponsesTool(String) 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.
A tool that can be used to generate a response. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesBingGroundingTool, ResponsesMicrosoftFabricPreviewTool, ResponsesSharepointPreviewTool, ResponsesAzureAISearchTool, ResponsesOpenApiTool, ResponsesBingCustomSearchPreviewTool, ResponsesBrowserAutomationPreviewTool, ResponsesAzureFunctionTool, ResponsesCaptureStructuredOutputsTool, ResponsesA2APreviewTool, ResponsesWorkIQPreviewTool, ResponsesFabricIQPreviewTool, ResponsesMemorySearchPreviewTool, ResponsesToolboxSearchPreviewTool, ResponsesWebSearchTool, ResponsesLocalShellToolParam, ResponsesFunctionShellToolParam, ResponsesCustomToolParam, ResponsesComputerTool, ResponsesNamespaceToolParam, and ResponsesToolSearchToolParam.
public static Azure.AI.Extensions.OpenAI.ResponsesTool ResponsesTool(string type = default);
static member ResponsesTool : string -> Azure.AI.Extensions.OpenAI.ResponsesTool
Public Shared Function ResponsesTool (Optional type As String = Nothing) As ResponsesTool
Parameters
- type
- String
Returns
A new ResponsesTool instance for mocking.