ExtensionsOpenAIModelFactory.ResponsesOpenApiFunctionDefinitionFunction Method

Definition

The ResponsesOpenApiFunctionDefinitionFunction.

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

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 ResponsesOpenApiFunctionDefinitionFunction instance for mocking.

Applies to