ChatRequestAssistantMessage 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
ChatRequestAssistantMessage(ChatResponseMessage) |
Initializes a new instance of ChatRequestAssistantMessage from a prior ChatResponseMessage instance from the Assistant. |
ChatRequestAssistantMessage(String) |
Initializes a new instance of ChatRequestAssistantMessage. |
ChatRequestAssistantMessage(ChatResponseMessage)
Initializes a new instance of ChatRequestAssistantMessage from a prior ChatResponseMessage instance from the Assistant.
public ChatRequestAssistantMessage (Azure.AI.OpenAI.ChatResponseMessage responseMessage);
new Azure.AI.OpenAI.ChatRequestAssistantMessage : Azure.AI.OpenAI.ChatResponseMessage -> Azure.AI.OpenAI.ChatRequestAssistantMessage
Public Sub New (responseMessage As ChatResponseMessage)
Parameters
- responseMessage
- ChatResponseMessage
The ChatResponseMessage to replicate from.
Exceptions
responseMessage
is not a valid response message to use.
Applies to
ChatRequestAssistantMessage(String)
Initializes a new instance of ChatRequestAssistantMessage.
public ChatRequestAssistantMessage (string content);
new Azure.AI.OpenAI.ChatRequestAssistantMessage : string -> Azure.AI.OpenAI.ChatRequestAssistantMessage
Public Sub New (content As String)
Parameters
- content
- String
The content of the message.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for