Interface: ClaimCitation
@kortexya/reasoninglayer / Guardrail / ClaimCitation
Interface: ClaimCitation
Defined in: src/types/guardrail.ts:48
One supporting source recovered from a certified claim’s proof.
Remarks
features holds the caller-requested citation features
(see GuardrailRequest.citationFeatures) resolved from the supporting
leaf fact. via is the derivation path: the ids of derived facts sitting
between the matched fact and this leaf (empty when the match is itself a base
fact).
Example
const citation: ClaimCitation = { sort: 'clinical_note', termId: '9f1c...-...', sourceUri: 's3://corpus/notes/42.pdf', features: { document_id: '42', page: 3 }, via: [],};Properties
features?
optionalfeatures:JsonValue
Defined in: src/types/guardrail.ts:53
Caller-requested citation features resolved from the fact, as an opaque feature map keyed by the names given in GuardrailRequest.citationFeatures.
sort
sort:
string
Defined in: src/types/guardrail.ts:55
Sort name of the supporting fact.
sourceUri?
optionalsourceUri:string|null
Defined in: src/types/guardrail.ts:57
The fact’s source_uri feature, when present.
termId
termId:
string
Defined in: src/types/guardrail.ts:59
Id of the supporting Psi-term (a leaf fact after provenance resolution).
via?
optionalvia:string[]
Defined in: src/types/guardrail.ts:64
Derivation path: derived-fact ids between the matched fact and this leaf (empty when the match is itself a base fact).