Skip to content

Interface: VerifyRoundTripResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Synthetic / VerifyRoundTripResponse

Interface: VerifyRoundTripResponse

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

Response from round-trip faithfulness verification.

Properties

entitiesExpected

entitiesExpected: number

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

Number of ground truth entities.


entitiesExtracted

entitiesExtracted: number

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

Number of extracted entities.


entitiesMatched

entitiesMatched: number

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

Number of entities successfully matched.


entityDetails

entityDetails: EntityVerificationDetailDto[]

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

Per-entity verification details.


faithfulnessScore

faithfulnessScore: number

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

Overall faithfulness score (0.0-1.0).


mismatches

mismatches: string[]

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

Summary of mismatches found.


passed

passed: boolean

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

Whether the verification passed all thresholds.


totalFeaturesExpected

totalFeaturesExpected: number

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

Total features expected across all ground truth entities.


totalFeaturesRecovered

totalFeaturesRecovered: number

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

Total features successfully recovered.


unmatchedExtracted

unmatchedExtracted: string[]

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

Extracted entities not matched to any ground truth.


unmatchedGroundTruth

unmatchedGroundTruth: string[]

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

Ground truth entities not matched by any extraction.