Skip to content

Interface: RuleDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleDto

Defined in: src/types/proof-engine.ts:45

A complete rule in the rule store.

body: RuleClauseDto[]

Defined in: src/types/proof-engine.ts:47

Rule body (conditions).


head: RuleClauseDto

Defined in: src/types/proof-engine.ts:49

Rule head (conclusion).


id: string

Defined in: src/types/proof-engine.ts:51

Rule identifier.


isFact: boolean

Defined in: src/types/proof-engine.ts:53

Whether this rule is a fact (no body conditions).