ExtensionsOpenAIModelFactory.ResponsesAzureFunctionDefinitionFunction Method

Definition

The ResponsesAzureFunctionDefinitionFunction.

public static Azure.AI.Extensions.OpenAI.ResponsesAzureFunctionDefinitionFunction ResponsesAzureFunctionDefinitionFunction(string name = default, string description = default, System.Collections.Generic.IDictionary<string,BinaryData> parameters = default);
static member ResponsesAzureFunctionDefinitionFunction : string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.Extensions.OpenAI.ResponsesAzureFunctionDefinitionFunction
Public Shared Function ResponsesAzureFunctionDefinitionFunction (Optional name As String = Nothing, Optional description As String = Nothing, Optional parameters As IDictionary(Of String, BinaryData) = Nothing) As ResponsesAzureFunctionDefinitionFunction

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
IDictionary<String,BinaryData>

The parameters the functions accepts, described as a JSON Schema object.

Returns

A new ResponsesAzureFunctionDefinitionFunction instance for mocking.

Applies to