AzureFunctionDefinitionFunction Constructors
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.
Overloads
| Name | Description |
|---|---|
| AzureFunctionDefinitionFunction() |
Initializes a new instance of AzureFunctionDefinitionFunction for deserialization. |
| AzureFunctionDefinitionFunction(String, BinaryData) |
Initializes a new instance of AzureFunctionDefinitionFunction. |
| AzureFunctionDefinitionFunction(String, String, BinaryData, IDictionary<String,BinaryData>) |
Initializes a new instance of AzureFunctionDefinitionFunction. |
AzureFunctionDefinitionFunction()
Initializes a new instance of AzureFunctionDefinitionFunction for deserialization.
public AzureFunctionDefinitionFunction();
Public Sub New ()
Applies to
AzureFunctionDefinitionFunction(String, BinaryData)
Initializes a new instance of AzureFunctionDefinitionFunction.
public AzureFunctionDefinitionFunction(string name, BinaryData parameters);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionDefinitionFunction : string * BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionDefinitionFunction
Public Sub New (name As String, parameters As BinaryData)
Parameters
- name
- String
The name of the function to be called.
- parameters
- BinaryData
The parameters the functions accepts, described as a JSON Schema object.
Exceptions
name or parameters is null.
Applies to
AzureFunctionDefinitionFunction(String, String, BinaryData, IDictionary<String,BinaryData>)
Initializes a new instance of AzureFunctionDefinitionFunction.
public AzureFunctionDefinitionFunction(string name, string description, BinaryData parameters, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionDefinitionFunction : string * string * BinaryData * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionDefinitionFunction
Public Sub New (name As String, description As String, parameters As BinaryData, serializedAdditionalRawData As IDictionary(Of String, BinaryData))
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
- BinaryData
The parameters the functions accepts, described as a JSON Schema object.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.