你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChatRequestToolMessage Class
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.
A request chat message representing requested output from a configured tool.
public class ChatRequestToolMessage : Azure.AI.Inference.ChatRequestMessage, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatRequestToolMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatRequestToolMessage>
type ChatRequestToolMessage = class
inherit ChatRequestMessage
interface IJsonModel<ChatRequestToolMessage>
interface IPersistableModel<ChatRequestToolMessage>
Public Class ChatRequestToolMessage
Inherits ChatRequestMessage
Implements IJsonModel(Of ChatRequestToolMessage), IPersistableModel(Of ChatRequestToolMessage)
- Inheritance
- Implements
Constructors
ChatRequestToolMessage(String, String) |
Initializes a new instance of ChatRequestToolMessage. |
ChatRequestToolMessage(String) |
Initializes a new instance of ChatRequestToolMessage. |
Properties
Content |
The content of the message. |
ToolCallId |
The ID of the tool call resolved by the provided content. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |