Skip to content

Interface: AddRuleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Inference / AddRuleRequest

Interface: AddRuleRequest

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

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:242

Antecedent terms (body of the rule).


certainty?

optional certainty: number

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

Certainty factor (default: 1.0).


term

term: TermInputDto

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

The conclusion term (head of the rule).