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