Skip to content

Interface: SourceExcerptDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / SourceExcerptDto

Interface: SourceExcerptDto

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

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:80

Feature (attribute) name.


provenanceType?

optional provenanceType: string | null

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

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


qualityScore?

optional qualityScore: number | null

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

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


sortName

sortName: string

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

Sort (type) of the term.


sourceDocument?

optional sourceDocument: string | null

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

Source document, if applicable.


termId

termId: string

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

ID of the KB term this excerpt comes from.


value

value: string

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

Feature value.