Skip to content

LLMDecisionModelOptions

Defined in: src/decisions/llm-decision-model.ts:35

Options for constructing an LLMDecisionModel.

readonly model?: Model;

Defined in: src/decisions/llm-decision-model.ts:42

Underlying vended model; must honor forced toolChoice so the structured-output tool is the only possible response. Defaults to a BedrockModel with strict tool use enabled so answers conform to the schema. When passing your own model, enable your provider’s strict mode (e.g. strictTools: true on BedrockModel).


readonly systemPrompt?: string;

Defined in: src/decisions/llm-decision-model.ts:48

System prompt used to frame the decision for the model. The SDK appends mandatory output and prompt-injection rules that the prompt cannot override. Defaults to a generic decision framing.