Skip to content

Interface: RuleDraftDto

@kortexya/reasoninglayer


@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?

optional antecedents: RuleTermDraftDto[]

Defined in: src/types/inference.ts:993

Antecedent conditions (the rule body). Absent or empty for a fact.


certainty?

optional certainty: 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: RuleTermDraftDto

Defined in: src/types/inference.ts:991

The conclusion (head) of the rule.