Interface: RuleDraftDto
@kortexya/reasoninglayer / Inference / RuleDraftDto
Interface: RuleDraftDto
Defined in: src/types/inference.ts:989
A single drafted inference rule: a head implied by zero or more antecedents.
Properties
antecedents?
optionalantecedents:RuleTermDraftDto[]
Defined in: src/types/inference.ts:993
Antecedent conditions (the rule body). Absent or empty for a fact.
certainty?
optionalcertainty:number
Defined in: src/types/inference.ts:995
Certainty factor in [0, 1]. Defaults to 1.0 when the model does not qualify the rule.
head
head:
RuleTermDraftDto
Defined in: src/types/inference.ts:991
The conclusion (head) of the rule.