InMemoryChatInteractionStore

Models & Types · AiDotNet.Agentic.Pipeline

A process-local IChatInteractionStore holding recorded chat interactions in memory. Ideal for tests and within-process record/replay; contents are lost when the process exits.

Implements: IChatInteractionStore

Constructors

Constructor Summary
InMemoryChatInteractionStore()

Properties

Property Summary
int Count { get; }

Methods

Method Summary
bool TryGet(string key, ChatResponse response)
void Save(string key, ChatResponse response)