ExtensionsOpenAIModelFactory.ResponsesOpenApiFunctionDefinitionFunction 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 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.