Skip to content

Interface: GoalDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Inference / GoalDto

Interface: GoalDto

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

A goal definition used as input for inference queries.

Remarks

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

Properties

features?

optional features: Record<string, unknown>

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

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


sort

sort: string

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

Sort name for the goal.


sortId?

optional sortId: string | null

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

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