Skip to content

Interface: AddCognitiveRuleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Cognitive / AddCognitiveRuleRequest

Interface: AddCognitiveRuleRequest

Defined in: src/types/cognitive.ts:504

Request to add a cognitive rule.

Properties

antecedents?

optional antecedents: CognitiveTermInput[]

Defined in: src/types/cognitive.ts:510

Rule antecedents (conditions) - empty for facts.


certainty?

optional certainty: number

Defined in: src/types/cognitive.ts:512

Rule certainty (0.0 to 1.0, default: 1).


head: CognitiveTermInput

Defined in: src/types/cognitive.ts:508

Rule head (conclusion).


tenantId

tenantId: string

Defined in: src/types/cognitive.ts:506

Tenant ID (UUID).