Skip to content

Function: toUntaggedFeatures()

@kortexya/reasoninglayer


@kortexya/reasoninglayer / toUntaggedFeatures

toUntaggedFeatures(features): Record<string, FeatureInputValueDto>

Defined in: src/utils/convert.ts:429

Convert a plain feature map to untagged FeatureInputValueDto feature map.

PlainFeatureMap

Plain feature map.

Record<string, FeatureInputValueDto>

Untagged feature map suitable for TermInputDto features.

toUntaggedFeatures({ name: "Alice", score: "?S" })
// { name: "Alice", score: { name: "?S" } }