Skip to content
1 min read · 187 words

Interface: RawMemory

Plain input object supplied to Memory at construction time.

Remarks

Validated against rawMemorySchema before the Memory instance is created. Temporal fields accept any value that Luxon can parse — ISO strings, Unix timestamps, Date objects, or existing DateTime instances.

Properties

PropertyTypeDescription
confidencenumberConfidence score in the range [0, 1] — how certain the agent is that this memory is accurate.
contentstring | TokenizableThe memory content as a plain string or an existing @nhtio/adk!Tokenizable instance.
createdAtstring | number | Date | DateTime<boolean>When this memory was first recorded.
idstringStable unique identifier for this memory entry.
importancenumberImportance score in the range [0, 1] — how much weight this memory should carry during retrieval.
updatedAtstring | number | Date | DateTime<boolean>When this memory was last modified.