Interface: GenerateDocumentRequest
@kortexya/reasoninglayer / GenerateDocumentRequest
Interface: GenerateDocumentRequest
Section titled “Interface: GenerateDocumentRequest”Defined in: src/types/generation.ts:106
Request body for evidence-grounded document generation.
Remarks
Section titled “Remarks”The pipeline derives a specification from the root term via forward chaining, then generates an artifact using an LLM with evidence grounding.
Properties
Section titled “Properties”metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,string>
Defined in: src/types/generation.ts:108
Additional metadata to guide generation (passed through to the backend).
modality
Section titled “modality”modality:
string
Defined in: src/types/generation.ts:113
Target modality for the output artifact.
Currently only "text" is supported.
rootTermId
Section titled “rootTermId”rootTermId:
string
Defined in: src/types/generation.ts:123
Root term ID describing the artifact to generate.
Remarks
Section titled “Remarks”Must be a data term of this tenant: an absent id, an engine built-in or rule scaffolding answers 404. The artifact covers the root’s material only (the terms it reaches and the terms that reference it), at most 500 terms (more answers 422).
tenantId?
Section titled “tenantId?”
optionaltenantId?:string|null
Defined in: src/types/generation.ts:125
Tenant ID (overridden by X-Tenant-Id header when present).
unconfirmedSupport?
Section titled “unconfirmedSupport?”
optionalunconfirmedSupport?:UnconfirmedSupport
Defined in: src/types/generation.ts:134
What a line resting on words no person confirmed becomes while the engine
holds unproven text. 'refuse' (the default): those words are not
material, so no line rests on them. 'label': they are material, and each
citation of them is marked GenerationProvenanceDto.unconfirmed;
such a text is never verified (a meeting’s minutes right after it).
Ignored while the engine does not hold unproven text.