Skip to content

Interface: ClaimAnnotationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / ClaimAnnotationDto

Interface: ClaimAnnotationDto

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

A claim annotation with provenance information.

Properties

claimType

claimType: string

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

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


confidence

confidence: number

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

Confidence score (0.0-1.0).


derivationSummary?

optional derivationSummary: DerivationSummaryDto | null

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

Derivation chain summary.


osfqlQuery?

optional osfqlQuery: string | null

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

OSFQL query that produced the grounding data.


sourceExcerpts?

optional sourceExcerpts: SourceExcerptDto[]

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

Source data excerpts from the KB.


sourceTermIds?

optional sourceTermIds: string[]

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

Term IDs that ground this claim.


span

span: unknown[]

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

Character offsets (start, end) in the assistant_message.


text

text: string

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

The sentence/phrase text.