Condividi tramite


ChatRequestToolMessage(String, String) Constructor

Definition

Initializes a new instance of ChatRequestToolMessage.

public ChatRequestToolMessage (string content, string toolCallId);
new Azure.AI.Inference.ChatRequestToolMessage : string * string -> Azure.AI.Inference.ChatRequestToolMessage
Public Sub New (content As String, toolCallId As String)

Parameters

content
String

The content of the message.

toolCallId
String

The ID of the tool call resolved by the provided content.

Exceptions

toolCallId is null.

Applies to