Share via


AgentSessionStore Class

Definition

Defines the contract for storing and retrieving agent conversation threads.

public abstract class AgentSessionStore
type AgentSessionStore = class
Public MustInherit Class AgentSessionStore
Inheritance
AgentSessionStore
Derived

Remarks

Implementations of this interface enable persistent storage of conversation threads, allowing conversations to be resumed across HTTP requests, application restarts, or different service instances in hosted scenarios.

Constructors

Name Description
AgentSessionStore()

Methods

Name Description
GetSessionAsync(AIAgent, String, CancellationToken)

Retrieves a serialized agent session from persistent storage.

SaveSessionAsync(AIAgent, String, AgentSession, CancellationToken)

Saves a serialized agent session to persistent storage.

Applies to