ChatRequestAssistantMessage 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 response or action from the assistant.
public class ChatRequestAssistantMessage : Azure.AI.Inference.ChatRequestMessage, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatRequestAssistantMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatRequestAssistantMessage>
type ChatRequestAssistantMessage = class
inherit ChatRequestMessage
interface IJsonModel<ChatRequestAssistantMessage>
interface IPersistableModel<ChatRequestAssistantMessage>
Public Class ChatRequestAssistantMessage
Inherits ChatRequestMessage
Implements IJsonModel(Of ChatRequestAssistantMessage), IPersistableModel(Of ChatRequestAssistantMessage)
- Inheritance
- Implements
Constructors
ChatRequestAssistantMessage(ChatCompletions) |
Creates a new instance of ChatRequestAssistantMessage from a ChatCompletions with
an |
ChatRequestAssistantMessage(IEnumerable<ChatCompletionsToolCall>, String) |
Creates a new instance of ChatRequestAssistantMessage that represents |
ChatRequestAssistantMessage(String) |
Creates a new instance of ChatRequestAssistantMessage that represents ordinary text content and does not feature tool or function calls. |
Properties
Content |
The content of the message. |
ParticipantName |
An optional |
ToolCalls |
The tool calls that must be resolved and have their outputs appended to subsequent input messages for the chat completions request to resolve as configured. Please note ChatCompletionsToolCall is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include Azure.AI.Inference.ChatCompletionsFunctionToolCall. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET