Skip to Content

ProfileSection

Defined in: src/lib/memory/synthesizeProfile.ts:172 

A synthesized profile section, grounded in specific vault facts.

Properties

generatedAt

generatedAt: number

Defined in: src/lib/memory/synthesizeProfile.ts:199 

Unix ms this section was generated.


interests?

optional interests: string[]

Defined in: src/lib/memory/synthesizeProfile.ts:197 

Structured interests — the interests facet only. Discrete entries, trimmed and deduped case- and space-insensitively (first spelling wins), at most 12 items of at most 40 code points each, ready for a profile store’s interests column. Absent when nothing survived normalization.


key

key: ProfileFacetKey

Defined in: src/lib/memory/synthesizeProfile.ts:173 


label

label: string

Defined in: src/lib/memory/synthesizeProfile.ts:174 


occupation?

optional occupation: string

Defined in: src/lib/memory/synthesizeProfile.ts:190 

Structured occupation — the work_role facet only. A short role phrase (at most 80 code points, PII-gated alongside ProfileSection.text) that a profile store’s occupation column takes verbatim.

Absent when the facet found no evidence, when the model didn’t return one, or when the value it returned couldn’t be made publishable. text is unaffected either way, so the prose is never blocked on this.


sourceMemoryContentHashes?

optional sourceMemoryContentHashes: Record<string, string>

Defined in: src/lib/memory/synthesizeProfile.ts:180 


sourceMemoryIds

sourceMemoryIds: string[]

Defined in: src/lib/memory/synthesizeProfile.ts:179 

Vault memory ids this section was grounded on — provenance + delta refresh.


stale?

optional stale: boolean

Defined in: src/lib/memory/synthesizeProfile.ts:201 

True when regeneration failed (e.g. LLM returned empty) — the caller may choose to retry.


text

text: string

Defined in: src/lib/memory/synthesizeProfile.ts:177 

Synthesized prose (PII-redacted when a redactor is supplied). Empty when the vault has no evidence for this facet.

Last updated on