Interface: CoherenceAnalyzeResponse
@kortexya/reasoninglayer / CoherenceAnalyzeResponse
Interface: CoherenceAnalyzeResponse
Section titled “Interface: CoherenceAnalyzeResponse”Defined in: src/types/coherence.ts:506
The result of a coherence analysis.
Remarks
Section titled “Remarks”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.
Example
Section titled “Example”console.log(response.summary.verdict); // 'coherent_certified'for (const claim of response.claims) { console.log(claim.index, claim.sort, claim.text);}Properties
Section titled “Properties”claims
Section titled “claims”claims:
CoherenceClaimDto[]
Defined in: src/types/coherence.ts:508
The analyzed claims, in reading order.
documentId?
Section titled “documentId?”
optionaldocumentId?:string|null
Defined in: src/types/coherence.ts:514
Document the claims came from (absent for termIds requests).
report
Section titled “report”report:
CoherenceReport
Defined in: src/types/coherence.ts:512
The full coherence report.
summary
Section titled “summary”summary:
CoherenceSummaryDto
Defined in: src/types/coherence.ts:510
Headline numbers of the analysis.
warnings?
Section titled “warnings?”
optionalwarnings?:string[]
Defined in: src/types/coherence.ts:516
Non-fatal diagnostics raised during the analysis.