diff --git a/public/utils/utils.ts b/public/utils/utils.ts index c33a290b..26e64d62 100644 --- a/public/utils/utils.ts +++ b/public/utils/utils.ts @@ -714,17 +714,6 @@ export function getEmbeddingField( break; } } - // if (relevantOutputMapEntry?.value?.transformType === NO_TRANSFORMATION) { - // embeddingField = relevantOutputMapEntry?.key; - // } else if ( - // relevantOutputMapEntry?.value?.transformType === TRANSFORM_TYPE.FIELD - // ) { - // embeddingField = relevantOutputMapEntry?.value?.value; - // } else if ( - // relevantOutputMapEntry?.value?.transformType === TRANSFORM_TYPE.EXPRESSION - // ) { - // embeddingField = get(relevantOutputMapEntry, 'value.nestedVars.0.name'); - // } } return embeddingField; }