Skip to Content

StoredTopic

Defined in: src/lib/db/entities/types.ts:62 

One entry in memory_vault.topics — the durable, synced record of a memory’s topics. name carries the CALLER’s display casing, unlike StoredEntity.canonicalName, which normalizeEntityName lowercases and which has no display column: preserving casing here is the point of storing names on the memory row.

Properties

kind?

optional kind: string

Defined in: src/lib/db/entities/types.ts:64 


name

name: string

Defined in: src/lib/db/entities/types.ts:63 


source

source: TopicSource

Defined in: src/lib/db/entities/types.ts:65 


weight?

optional weight: number

Defined in: src/lib/db/entities/types.ts:67 

How central the topic is to the memory, in (0, 1]; read it with topicWeight.

Last updated on