Method WriteLongTermMemoryAsync
- Namespace
- Oscova.Agents.Memory
- Assembly
- Oscova.Agents.dll
WriteLongTermMemoryAsync(string, string, CancellationToken)
Replaces the user's long-term memory with the supplied content.
public Task WriteLongTermMemoryAsync(string userId, string memoryContent, CancellationToken ct = default)Parameters
userIdstring-
The user whose memory should be replaced.
memoryContentstring-
The complete long-term memory text.
ctCancellationToken-
A token that can cancel before the final mutation; an admitted write completes.