Documentation
Table of Contents

Namespace IntentSharp.Memory

Classes

InMemorySemanticMemory

Thread-safe in-process memory with an optional size cap; the oldest entries go first. With an embedding provider, recall uses embeddings when available and word overlap otherwise. A failed embedding is logged at Warning and the entry is kept without one.

MemoryEntry

One recorded operation.

MemoryMatch

A recalled entry with its similarity to the query (1.0 is identical).

MemoryStats

Counts over every entry a memory holds.

Interfaces

ISemanticMemory

Stores completed operations and recalls similar ones. The built-in memories use embeddings when available and word overlap otherwise. Implementations must be thread-safe.