Skip to content

Interface: BayesianPredictRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BayesianPredictRequest

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

Request for Bayesian prediction.

Dual input mode: Provide EITHER goal OR goal_id.

Unlike other inference requests, Bayesian prediction requires an effect_var naming the variable that holds the FuzzyNumber effect.

optional conformal?: number | null

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

Optional conformal coverage (e.g., 0.9 for 90% coverage).


effectVar: string

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

Name of the variable that holds the FuzzyNumber effect.


optional goal?: TermInputDto | null

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

Inline goal (should bind a FuzzyNumber variable). Mutually exclusive with goal_id.


optional goalId?: string | null

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

Saved goal reference. Mutually exclusive with goal.


optional maxDepth?: number

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

Maximum proof depth (default: 100).


optional minDegree?: number

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

Minimum degree threshold.


optional robust?: boolean

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

Use robust aggregation (Student-t/Huber) to downweight outliers.


optional saveGoal?: boolean

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

If true, save the goal for later reuse (returns goal_id in response).