Table of Contents

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.

Task WriteLongTermMemoryAsync(string userId, string memoryContent, CancellationToken ct = default)

Parameters

userId string

The user whose memory should be replaced.

memoryContent string

The complete long-term memory text.

ct CancellationToken

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

Returns

Task