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
| Property | Type | Description |
|---|---|---|
confidence | number | Confidence score in the range [0, 1] — how certain the agent is that this memory is accurate. |
content | string | Tokenizable | The memory content as a plain string or an existing @nhtio/adk!Tokenizable instance. |
createdAt | string | number | Date | DateTime<boolean> | When this memory was first recorded. |
id | string | Stable unique identifier for this memory entry. |
importance | number | Importance score in the range [0, 1] — how much weight this memory should carry during retrieval. |
updatedAt | string | number | Date | DateTime<boolean> | When this memory was last modified. |