Interface: GroundedGenerateRequest
@kortexya/reasoninglayer / GroundedGenerateRequest
Interface: GroundedGenerateRequest
Section titled “Interface: GroundedGenerateRequest”Defined in: src/types/generation.ts:183
Request body for POST /api/v1/generate/grounded — lattice-grounded anti-hallucination.
Properties
Section titled “Properties”goalDest?
Section titled “goalDest?”
optionalgoalDest?:string|null
Defined in: src/types/generation.ts:185
The goal destination constant (e.g. an on-site location).
goalDistance?
Section titled “goalDistance?”
optionalgoalDistance?:string|null
Defined in: src/types/generation.ts:187
Optional human distance to the destination (supporting prose context only).
goalFeasible?
Section titled “goalFeasible?”
optionalgoalFeasible?:string[]
Defined in: src/types/generation.ts:189
Optional override for the goal-feasible sort names; normally left empty.
goalTarget?
Section titled “goalTarget?”
optionalgoalTarget?:string|null
Defined in: src/types/generation.ts:191
The goal’s target/destination constants (e.g. “TheCar” / “CarWash”).
maxTokens?
Section titled “maxTokens?”
optionalmaxTokens?:number|null
Defined in: src/types/generation.ts:193
Maximum tokens for the free-prose pass (default 96, clamped 1..=512).
optionalmode?:GenMode
Defined in: src/types/generation.ts:195
Anti-hallucination technique (default constrained).
prompt
Section titled “prompt”prompt:
string
Defined in: src/types/generation.ts:197
The user’s free-text prompt/question.
prose?
Section titled “prose?”
optionalprose?:boolean
Defined in: src/types/generation.ts:199
Run the PASS B prose realization (default true).
steerMargin?
Section titled “steerMargin?”
optionalsteerMargin?:number|null
Defined in: src/types/generation.ts:201
steered/certify_prose decision-steer margin in logits (clamped 0..=30).