reflect
reflect(
query:string,ctx:RecallContext,options:ReflectOptions):Promise<ReflectResult>
Defined in: src/lib/memory/reflect.ts:80
Synthesize a grounded answer to query using the user’s memory as
evidence. On any LLM failure, returns an empty result with the
recalled memory ids — the caller can decide whether to retry or fall
back to a non-grounded response.
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
| |
|
|
Returns
Promise<ReflectResult>
Last updated on