Skip to content

Type Alias: RuleDraftFeatureValue

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleDraftFeatureValue

RuleDraftFeatureValue = string | number | boolean

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

One feature value of a drafted rule term: a plain JSON scalar.

Serialization format: Untagged. A string, a number or a boolean; a variable is the string form "?X". An integer stays an integer (18, not 18.0). Never null, an object, an array or a tagged {type, value} envelope: the engine refuses such a draft from the model and re-prompts, and answers 422 when the model keeps producing one.