Skip to content

Interface: ClaimAnnotationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / ClaimAnnotationDto

Interface: ClaimAnnotationDto

Defined in: src/types/conversation.ts:81

A claim annotation with provenance information.

Properties

claimType

claimType: string

Defined in: src/types/conversation.ts:87

Claim classification: “kb_grounded”, “derived”, “llm_framing”, “proven”, “contradicted”.


confidence

confidence: number

Defined in: src/types/conversation.ts:89

Confidence score (0.0-1.0).


derivationSummary?

optional derivationSummary: DerivationSummaryDto | null

Defined in: src/types/conversation.ts:97

Derivation chain summary.


osfqlQuery?

optional osfqlQuery: string | null

Defined in: src/types/conversation.ts:95

OSFQL query that produced the grounding data.


sourceExcerpts?

optional sourceExcerpts: SourceExcerptDto[]

Defined in: src/types/conversation.ts:93

Source data excerpts from the KB.


sourceTermIds?

optional sourceTermIds: string[]

Defined in: src/types/conversation.ts:91

Term IDs that ground this claim.


span

span: unknown[]

Defined in: src/types/conversation.ts:85

Character offsets (start, end) in the assistant_message.


text

text: string

Defined in: src/types/conversation.ts:83

The sentence/phrase text.