Header menu logo Nao

IMemoryStore Type

Interface for persisting and retrieving agent memories

Instance members

Instance member Description

this.ClearAsync

Full Usage: this.ClearAsync

Parameters:
Returns: Task<unit>
Modifiers: abstract

Clear all memories for an agent

arg0 : AgentId
Returns: Task<unit>

this.ForgetAsync

Full Usage: this.ForgetAsync

Parameters:
Returns: Task<unit>
Modifiers: abstract

Forget (delete) a memory by key

arg0 : AgentId
arg1 : string
Returns: Task<unit>

this.RecallAllAsync

Full Usage: this.RecallAllAsync

Parameters:
Returns: Task<MemoryEntry list>
Modifiers: abstract

Recall all memories for an agent

arg0 : AgentId
Returns: Task<MemoryEntry list>

this.RecallAsync

Full Usage: this.RecallAsync

Parameters:
Returns: Task<MemoryEntry list>
Modifiers: abstract

Recall memories by key prefix match

arg0 : AgentId
arg1 : string
Returns: Task<MemoryEntry list>

this.SaveAsync

Full Usage: this.SaveAsync

Parameters:
Returns: Task<unit>
Modifiers: abstract

Save a memory entry for an agent

arg0 : AgentId
arg1 : MemoryEntry
Returns: Task<unit>

Type something to start searching.