Interface: GenerateDocumentRequest
@kortexya/reasoninglayer / Generation / GenerateDocumentRequest
Interface: GenerateDocumentRequest
Defined in: src/types/generation.ts:76
Request body for evidence-grounded document generation.
Remarks
The pipeline derives a specification from the root term via forward chaining, then generates an artifact using an LLM with evidence grounding.
Properties
metadata?
optionalmetadata:Record<string,string>
Defined in: src/types/generation.ts:78
Additional metadata to guide generation (passed through to the backend).
modality
modality:
string
Defined in: src/types/generation.ts:83
Target modality for the output artifact.
Currently only "text" is supported.
rootTermId
rootTermId:
string
Defined in: src/types/generation.ts:85
Root term ID describing the artifact to generate.
tenantId?
optionaltenantId:string|null
Defined in: src/types/generation.ts:87
Tenant ID (overridden by X-Tenant-Id header when present).