Taal

ToolApprovalRequestContent(String, ToolCallContent) Constructor

Definitie

Initialiseert een nieuw exemplaar van de ToolApprovalRequestContent klasse.

public:
 ToolApprovalRequestContent(System::String ^ requestId, Microsoft::Extensions::AI::ToolCallContent ^ toolCall);
[System.Text.Json.Serialization.JsonConstructor]
public ToolApprovalRequestContent(string requestId, Microsoft.Extensions.AI.ToolCallContent toolCall);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.Extensions.AI.ToolApprovalRequestContent : string * Microsoft.Extensions.AI.ToolCallContent -> Microsoft.Extensions.AI.ToolApprovalRequestContent
Public Sub New (requestId As String, toolCall As ToolCallContent)

Parameters

requestId
String

De unieke id die deze aanvraag correleert met het bijbehorende antwoord.

toolCall
ToolCallContent

De aanroep van het hulpprogramma waarvoor goedkeuring is vereist voordat deze wordt uitgevoerd.

Kenmerken

Uitzonderingen

toolCall is null.

requestId is leeg of bestaat volledig uit witruimte.

Van toepassing op