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