Skip to content

Interface: CoherenceAnalyzeResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CoherenceAnalyzeResponse

Defined in: src/types/coherence.ts:506

The result of a coherence analysis.

report is the full CoherenceReport: links with evidence, derivations with proofs, flux profile, chains, bundles, verdict and diagnostics. CoherenceSummaryDto is the projection of its headline numbers.

console.log(response.summary.verdict); // 'coherent_certified'
for (const claim of response.claims) {
console.log(claim.index, claim.sort, claim.text);
}

claims: CoherenceClaimDto[]

Defined in: src/types/coherence.ts:508

The analyzed claims, in reading order.


optional documentId?: string | null

Defined in: src/types/coherence.ts:514

Document the claims came from (absent for termIds requests).


report: CoherenceReport

Defined in: src/types/coherence.ts:512

The full coherence report.


summary: CoherenceSummaryDto

Defined in: src/types/coherence.ts:510

Headline numbers of the analysis.


optional warnings?: string[]

Defined in: src/types/coherence.ts:516

Non-fatal diagnostics raised during the analysis.