Function: toUntaggedFeatures()
@kortexya/reasoninglayer / toUntaggedFeatures
Function: toUntaggedFeatures()
Section titled “Function: toUntaggedFeatures()”toUntaggedFeatures(
features):Record<string,FeatureInputValueDto>
Defined in: src/utils/convert.ts:429
Convert a plain feature map to untagged FeatureInputValueDto feature map.
Parameters
Section titled “Parameters”features
Section titled “features”Plain feature map.
Returns
Section titled “Returns”Record<string, FeatureInputValueDto>
Untagged feature map suitable for TermInputDto features.
Example
Section titled “Example”toUntaggedFeatures({ name: "Alice", score: "?S" })// { name: "Alice", score: { name: "?S" } }