Interface: ConstrainedGenerateResponse
@kortexya/reasoninglayer / ConstrainedGenerateResponse
Interface: ConstrainedGenerateResponse
Section titled “Interface: ConstrainedGenerateResponse”Defined in: src/types/generation.ts:157
Response of POST /api/v1/constrained/generate.
Properties
Section titled “Properties”allowed
Section titled “allowed”allowed:
string[]
Defined in: src/types/generation.ts:159
Echo of the allowed set the decode was masked to.
answer
Section titled “answer”answer:
string
Defined in: src/types/generation.ts:161
The decoded answer (guaranteed inside allowed).
maskedOut
Section titled “maskedOut”maskedOut:
string[]
Defined in: src/types/generation.ts:163
Allowed alternatives the masked decode did not pick (informational).
tokens
Section titled “tokens”tokens:
string[]
Defined in: src/types/generation.ts:165
Per-step decoded token deltas, in emission order.