Type Alias: RuleDraftFeatureValue
@kortexya/reasoninglayer / RuleDraftFeatureValue
Type Alias: RuleDraftFeatureValue
Section titled “Type Alias: RuleDraftFeatureValue”RuleDraftFeatureValue =
string|number|boolean
Defined in: src/types/inference.ts:1942
One feature value of a drafted rule term: a plain JSON scalar.
Remarks
Section titled “Remarks”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.