Method RecordAsync
- Namespace
- IntentSharp.Memory
- Assembly
- IntentSharp.dll
RecordAsync(MemoryEntry, CancellationToken)
Stores the entry, first embedding its intent when an embedding provider is set and the entry has no embedding. When the memory is full, the entry recorded first is removed.
public Task RecordAsync(MemoryEntry entry, CancellationToken cancellationToken = default)
Parameters
entryMemoryEntrycancellationTokenCancellationToken
Returns
- Task