Header menu logo Nao

WorkingMemoryItem Type

A scratchpad item in working memory with priority/attention weight

Record fields

Record Field Description

AddedAt

Full Usage: AddedAt

Field type: DateTimeOffset

When added to working memory

Field type: DateTimeOffset

Attention

Full Usage: Attention

Field type: float

Priority/attention weight — higher means more relevant to current task

Field type: float

Content

Full Usage: Content

Field type: string
Field type: string

ExpiresAt

Full Usage: ExpiresAt

Field type: DateTimeOffset option

TTL in working memory before auto-decay

Field type: DateTimeOffset option

Key

Full Usage: Key

Field type: string
Field type: string

Pinned

Full Usage: Pinned

Field type: bool

Whether this is pinned (immune to eviction)

Field type: bool

Source

Full Usage: Source

Field type: string

Source of this item (e.g., "tool:search", "memory:long-term", "user:input")

Field type: string

Type something to start searching.