Interface: GenerationVerificationDto
@kortexya/reasoninglayer / GenerationVerificationDto
Interface: GenerationVerificationDto
Section titled “Interface: GenerationVerificationDto”Defined in: src/types/generation.ts:73
Verification result for a generated document.
Properties
Section titled “Properties”checks
Section titled “checks”checks:
ConstraintCheckDto[]
Defined in: src/types/generation.ts:75
Individual constraint check results.
coverage
Section titled “coverage”coverage:
number
Defined in: src/types/generation.ts:77
Citation coverage ratio (0.0-1.0).
passed
Section titled “passed”passed:
boolean
Defined in: src/types/generation.ts:83
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
Section titled “softConstraintScore”softConstraintScore:
number
Defined in: src/types/generation.ts:85
Soft constraint satisfaction score (0.0-1.0).
violations
Section titled “violations”violations:
ViolationDto[]
Defined in: src/types/generation.ts:87
Violations found during verification.