Skip to content

Interface: GoalDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GoalDto

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

A goal definition used as input for inference queries.

Unlike the saved goal concept in CreateGoalRequest, this represents the structural content of a goal pattern with sort and features.

optional features?: Record<string, unknown>

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

Features as key-value pairs (raw JSON values).


sort: string

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

Sort name for the goal.


optional sortId?: string | null

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

Sort ID (optional, takes precedence over sort name if provided).