Skip to content

Interface: GenerationVerificationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GenerationVerificationDto

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

Verification result for a generated document.

checks: ConstraintCheckDto[]

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

Individual constraint check results.


coverage: number

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

Citation coverage ratio (0.0-1.0).


passed: boolean

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

Whether all hard constraints are satisfied. Includes the checks No malformed citation markers and At least one component cited, so it is never true at 0 % coverage or with a malformed marker.


softConstraintScore: number

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

Soft constraint satisfaction score (0.0-1.0).


violations: ViolationDto[]

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

Violations found during verification.