Skip to content

Interface: AddRuleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Inference / AddRuleRequest

Interface: AddRuleRequest

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

Request to add a rule to the inference engine.

Remarks

Serialization format: Uses untagged TermInputDto / FeatureInputValueDto.

Properties

antecedents?

optional antecedents: TermInputDto[]

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

Antecedent terms (body of the rule).


certainty?

optional certainty: number

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

Certainty factor (default: 1.0).


term

term: TermInputDto

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

The conclusion term (head of the rule).