ChatRequestToolMessage 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
ChatRequestToolMessage(String) |
Initializes a new instance of ChatRequestToolMessage. |
ChatRequestToolMessage(String, String) |
Initializes a new instance of ChatRequestToolMessage. |
ChatRequestToolMessage(String)
- Source:
- ChatRequestToolMessage.cs
Initializes a new instance of ChatRequestToolMessage.
public ChatRequestToolMessage(string toolCallId);
new Azure.AI.Inference.ChatRequestToolMessage : string -> Azure.AI.Inference.ChatRequestToolMessage
Public Sub New (toolCallId As String)
Parameters
- toolCallId
- String
The ID of the tool call resolved by the provided content.
Exceptions
toolCallId
is null.
Applies to
ChatRequestToolMessage(String, String)
- Source:
- ChatRequestToolMessage.cs
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET