ReasoningSpec interface

The specification produced by the planning phase. - state: opaque JSON designed by the planning LLM for the evaluation LLM to track temporal context. Norsk does not interpret this. - prompt: the instruction sent to the evaluation LLM alongside each frame and the current state. - explanation: optional reasoning from the planning LLM about its design choices (why it chose certain state fields, etc.) - localAnalysis: optional list of local analysis tools to enable - includeFrame: whether to include JPEG frames in LLM calls (default true) - events: function declarations the evaluation LLM can call. Carried through from the plan phase so the same events are registered at evaluation time.

Internally, the SDK implementation may carry additional handler state but this is not part of the public interface.

Signature:

export interface ReasoningSpec

Properties

Property Type Description

events?

EventDeclaration[]

(Optional)

explanation?

string

(Optional)

includeFrame?

boolean

(Optional)

localAnalysis?

LocalAnalysisConfig[]

(Optional)

prompt

string

state

object