Skip to content

Interface: GenerateDocumentResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Generation / GenerateDocumentResponse

Interface: GenerateDocumentResponse

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

Response body for evidence-grounded document generation.

Properties

artifact?

optional artifact: ArtifactDto | null

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

The generated artifact (if successful).


diagnostics

diagnostics: DiagnosticDto[]

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

Diagnostic messages from each pipeline stage.


success

success: boolean

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

Whether the pipeline completed successfully.


verification?

optional verification: GenerationVerificationDto | null

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

Verification result (if generation succeeded).