@coasys/ad4m / Exports / RunInterpretationObserveOptions
Interface: RunInterpretationObserveOptions
Opt a one-shot runInterpretation call into the same event streams a
standing watch produces.
Without it the call is silent until it resolves — which, on a local model,
is minutes of a UI having nothing to say. With it the pass reports
runningInterpretation → processed/failed on the DID-scoped stream and
claimed → finished/abandoned on the perspective-scoped one.
Table of contents
Properties
Properties
emitDebugEvents
• Optional emitDebugEvents: boolean
Also emit llmRequestSent / llmResponseReceived with the raw prompt
and response. Default false.
Defined in
core/src/perspectives/AutoProcessor.ts:128 (opens in a new tab)
observationId
• observationId: string
The caller's own id for this pass, echoed back as both processorId and
batchKey on every event it emits.
Supplied by the caller rather than minted by the executor because
runInterpretation is a single blocking call: there is no earlier
response that could hand back a server-side id, so the events would
arrive with nothing to match them against. Any value unique among this
client's in-flight passes will do.
Defined in
core/src/perspectives/AutoProcessor.ts:123 (opens in a new tab)