FunctionApprovalRequestContent(String, FunctionCallContent) 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 the FunctionApprovalRequestContent class.
public:
FunctionApprovalRequestContent(System::String ^ id, Microsoft::Extensions::AI::FunctionCallContent ^ functionCall);
public FunctionApprovalRequestContent(string id, Microsoft.Extensions.AI.FunctionCallContent functionCall);
new Microsoft.Extensions.AI.FunctionApprovalRequestContent : string * Microsoft.Extensions.AI.FunctionCallContent -> Microsoft.Extensions.AI.FunctionApprovalRequestContent
Public Sub New (id As String, functionCall As FunctionCallContent)
Parameters
- id
- String
The ID that uniquely identifies the function approval request/response pair.
- functionCall
- FunctionCallContent
The function call that requires user approval.
Exceptions
functionCall is null.
id is empty or composed entirely of whitespace.