Skip to content

Interface: ClaimAnnotationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / ClaimAnnotationDto

Interface: ClaimAnnotationDto

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

A claim annotation with provenance information.

Properties

claimType

claimType: string

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

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


confidence

confidence: number

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

Confidence score (0.0-1.0).


derivationSummary?

optional derivationSummary: DerivationSummaryDto | null

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

Derivation chain summary.


osfqlQuery?

optional osfqlQuery: string | null

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

OSFQL query that produced the grounding data.


sourceExcerpts?

optional sourceExcerpts: SourceExcerptDto[]

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

Source data excerpts from the KB.


sourceTermIds?

optional sourceTermIds: string[]

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

Term IDs that ground this claim.


span

span: unknown[]

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

Character offsets (start, end) in the assistant_message.


text

text: string

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

The sentence/phrase text.