Interface: AddRuleRequest
@kortexya/reasoninglayer / Inference / AddRuleRequest
Interface: AddRuleRequest
Defined in: src/types/inference.ts:309
Request to add a rule to the inference engine.
Remarks
Serialization format: Uses untagged TermInputDto / FeatureInputValueDto.
Properties
aggregator?
optionalaggregator:RuleAggregatorDto|null
Defined in: src/types/inference.ts:323
Optional engine-side aggregator declared on the rule head.
Remarks
When present, the rule’s head term receives an "aggregator" feature containing a
serialized RuleAggregator descriptor. See RuleAggregatorDto.
antecedents?
optionalantecedents:TermInputDto[]
Defined in: src/types/inference.ts:313
Antecedent terms (body of the rule).
certainty?
optionalcertainty:number
Defined in: src/types/inference.ts:315
Certainty factor (default: 1.0).
term
term:
TermInputDto
Defined in: src/types/inference.ts:311
The conclusion term (head of the rule).