Table of Contents

Method ForgetLongTermMemoryAsync

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

ForgetLongTermMemoryAsync(string, string, CancellationToken)

Removes matching text from the long-term index and topic files.

public Task<MemoryForgetResult> ForgetLongTermMemoryAsync(string userId, string entryText, CancellationToken ct = default)

Parameters

userId string

The user whose memory should be updated.

entryText string

The text to remove from matching lines.

ct CancellationToken

A token that can cancel before the final mutation; an admitted update completes.

Returns

Task<MemoryForgetResult>