Skip to content

Interface: EvidenceItemDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EvidenceItemDto

Defined in: src/types/reasoning.ts:170

A single piece of evidence used in assessment.

contribution: number

Defined in: src/types/reasoning.ts:172

Contribution to the assessment (quality * support direction).


optional description?: string | null

Defined in: src/types/reasoning.ts:185

The evidence term’s own human-readable sentence, e.g. "Aspirin reduces_risk_of Cancer".

termId is a UUID no consumer can render, so without this an evidence row could only be shown as Evidence item <uuid>. The backend resolves it from the term under the same display-name precedence TermDto.displayName uses, so the sentence shown here and the one shown for the term never disagree.

null when talking to a backend that predates evidence descriptions, or when the evidence term carries no description of its own.


qualityWeight: number

Defined in: src/types/reasoning.ts:187

Quality weight of this evidence (0.0-1.0).


supports: boolean

Defined in: src/types/reasoning.ts:189

Whether this evidence supports (true) or contradicts (false) the subject.


termId: string

Defined in: src/types/reasoning.ts:191

Evidence term ID (UUID).