Skip to content

Interface: VerifyRoundTripResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VerifyRoundTripResponse

Defined in: src/types/synthetic.ts:551

Response from round-trip faithfulness verification.

entitiesExpected: number

Defined in: src/types/synthetic.ts:553

Number of ground truth entities.


entitiesExtracted: number

Defined in: src/types/synthetic.ts:555

Number of extracted entities.


entitiesMatched: number

Defined in: src/types/synthetic.ts:557

Number of entities successfully matched.


entityDetails: EntityVerificationDetailDto[]

Defined in: src/types/synthetic.ts:559

Per-entity verification details.


faithfulnessScore: number

Defined in: src/types/synthetic.ts:561

Overall faithfulness score (0.0-1.0).


mismatches: string[]

Defined in: src/types/synthetic.ts:563

Summary of mismatches found.


passed: boolean

Defined in: src/types/synthetic.ts:565

Whether the verification passed all thresholds.


totalFeaturesExpected: number

Defined in: src/types/synthetic.ts:567

Total features expected across all ground truth entities.


totalFeaturesRecovered: number

Defined in: src/types/synthetic.ts:569

Total features successfully recovered.


unmatchedExtracted: string[]

Defined in: src/types/synthetic.ts:571

Extracted entities not matched to any ground truth.


unmatchedGroundTruth: string[]

Defined in: src/types/synthetic.ts:573

Ground truth entities not matched by any extraction.