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
userIdstring-
The user whose memory should be updated.
entryTextstring-
The text to remove from matching lines.
ctCancellationToken-
A token that can cancel before the final mutation; an admitted update completes.