Documentation
Table of Contents

Method RecordAsync

Namespace
IntentSharp.Memory
Assembly
IntentSharp.dll

RecordAsync(MemoryEntry, CancellationToken)

Writes the entry to the database, first embedding its intent when an embedding provider is set and the entry has no embedding.

public Task RecordAsync(MemoryEntry entry, CancellationToken cancellationToken = default)

Parameters

entry MemoryEntry
cancellationToken CancellationToken

Returns

Task