Skip to content

Interface: GroundedGenerateRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GroundedGenerateRequest

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

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

optional goalDest?: string | null

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

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


optional goalDistance?: string | null

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

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


optional goalFeasible?: string[]

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

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


optional goalTarget?: string | null

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

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


optional maxTokens?: number | null

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

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


optional mode?: GenMode

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

Anti-hallucination technique (default constrained).


prompt: string

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

The user’s free-text prompt/question.


optional prose?: boolean

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

Run the PASS B prose realization (default true).


optional steerMargin?: number | null

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

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