Skip to content

Type Alias: PlainFeatureMap

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PlainValues / PlainFeatureMap

Type Alias: PlainFeatureMap

PlainFeatureMap = Record<string, PlainFeatureValue>

Defined in: src/types/plain-values.ts:140

A feature map using plain JavaScript values.

Remarks

Pass this to resource client methods. The SDK converts to the appropriate wire format (tagged or untagged) based on which method is called.

Example

const features: PlainFeatureMap = {
name: "Alice",
age: 30,
active: true,
salary: null, // uninstantiated
};