Skip to content

ChatHistoryState

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The state the chat history provider stores within a session.

public sealed class ChatHistoryState

objectChatHistoryState

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

The type is public because two separate layers read it: the SQL provider (the writer) and conversation branching (the side that links the new conversation opened by IConversationBranchStore to a new session).

public ChatHistoryState()

The identifier of the conversation record holding this session’s messages.

public Guid ConversationId { get; set; }

Guid