Skip to content

Interface: SourceExcerptDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / SourceExcerptDto

Interface: SourceExcerptDto

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

A KB record excerpt grounding a claim.

Remarks

This is the conversation-route excerpt (term/feature/value grounding from crates/api/src/dto/conversation.rs), distinct from the context-assembly excerpt (concept/text/document) that shares the same wire name.

Properties

featureName

featureName: string

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

Feature (attribute) name.


provenanceType?

optional provenanceType: string | null

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

Provenance of the grounding record (e.g. “document”, “manual”).


qualityScore?

optional qualityScore: number | null

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

Quality score of the source record (0.0–1.0).


sortName

sortName: string

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

Sort (type) of the term.


sourceDocument?

optional sourceDocument: string | null

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

Source document, if applicable.


termId

termId: string

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

ID of the KB term this excerpt comes from.


value

value: string

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

Feature value.