AgentChatSerializer 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.
Serializes and deserializes an AgentChat.
public sealed class AgentChatSerializer
type AgentChatSerializer = class
Public NotInheritable Class AgentChatSerializer
- Inheritance
-
AgentChatSerializer
Properties
Participants |
Gets the participants of the original AgentChat so that the caller can include them in the restored AgentChat. |
Methods
DeserializeAsync(Stream, JsonSerializerOptions) |
Provides a AgentChatSerializer that's able to restore an AgentChat. |
DeserializeAsync<TChat>(TChat) |
Restores the AgentChat to the previously captured state. |
SerializeAsync<TChat>(TChat, Stream, JsonSerializerOptions) |
Serializes the provided AgentChat to the target stream. |