Skip to content

Interface: GroundedGenerateRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Generation / GroundedGenerateRequest

Interface: GroundedGenerateRequest

Defined in: src/types/generation.ts:154

Request body for POST /api/v1/generate/grounded — lattice-grounded anti-hallucination.

Properties

goalDest?

optional goalDest: string | null

Defined in: src/types/generation.ts:156

The goal destination constant (e.g. an on-site location).


goalDistance?

optional goalDistance: string | null

Defined in: src/types/generation.ts:158

Optional human distance to the destination (supporting prose context only).


goalFeasible?

optional goalFeasible: string[]

Defined in: src/types/generation.ts:160

Optional override for the goal-feasible sort names; normally left empty.


goalTarget?

optional goalTarget: string | null

Defined in: src/types/generation.ts:162

The goal’s target/destination constants (e.g. “TheCar” / “CarWash”).


maxTokens?

optional maxTokens: number | null

Defined in: src/types/generation.ts:164

Maximum tokens for the free-prose pass (default 96, clamped 1..=512).


mode?

optional mode: GenMode

Defined in: src/types/generation.ts:166

Anti-hallucination technique (default constrained).


prompt

prompt: string

Defined in: src/types/generation.ts:168

The user’s free-text prompt/question.


prose?

optional prose: boolean

Defined in: src/types/generation.ts:170

Run the PASS B prose realization (default true).


steerMargin?

optional steerMargin: number | null

Defined in: src/types/generation.ts:172

steered/certify_prose decision-steer margin in logits (clamped 0..=30).