Skip to Content

synthesizeProfile

synthesizeProfile(ctx: RecallContext, options: SynthesizeProfileOptions): Promise<ProfileDoc>

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

Synthesize a shareable ProfileDoc from the user’s vault, on-device.

Stateless: pass options.previous to reuse unchanged sections (delta refresh) and the caller persists the result. On per-facet LLM failure the section falls back to its prior value (marked stale) or an empty section.

Parameters

ParameterType

ctx

RecallContext

options

SynthesizeProfileOptions

Returns

Promise<ProfileDoc>

Last updated on