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