ResponsesOpenApiFunctionDefinition Constructor
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.
Initializes a new instance of ResponsesOpenApiFunctionDefinition.
public ResponsesOpenApiFunctionDefinition(string name, System.Collections.Generic.IDictionary<string,BinaryData> specification, Azure.AI.Extensions.OpenAI.ResponsesOpenApiAuthDetails auth);
new Azure.AI.Extensions.OpenAI.ResponsesOpenApiFunctionDefinition : string * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.Extensions.OpenAI.ResponsesOpenApiAuthDetails -> Azure.AI.Extensions.OpenAI.ResponsesOpenApiFunctionDefinition
Public Sub New (name As String, specification As IDictionary(Of String, BinaryData), auth As ResponsesOpenApiAuthDetails)
Parameters
- name
- String
The name of the function to be called.
- specification
- IDictionary<String,BinaryData>
The openapi function shape, described as a JSON Schema object.
Open API authentication details.
Exceptions
name, specification or auth is null.