Skip to content

Interface: CreateGoalRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CreateGoalRequest

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

Request to create a new saved goal.

Goals are saved for later reuse via goal_id in backward/forward chain requests. The engine stores a saved goal apart from the tenant’s facts: the goal is not written into the live knowledge base and does not appear in a MATCH.

clauses: TermInputDto[]

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

The clauses that make up the goal (query patterns).


optional constraints?: ConstraintInputDto[]

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

Optional constraints to apply during inference.


optional minDegree?: number | null

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

Minimum certainty threshold for solutions (0.0 to 1.0).