-
-
- {t('nodes.knowledgeRetrieval.metadata.title', { ns: 'workflow' })}
-
-
- {t('nodes.knowledgeRetrieval.metadata.tip', { ns: 'workflow' })}
-
- {collapseIcon}
-
-
+ >
+
+
+
+ {t('nodes.knowledgeRetrieval.metadata.title', { ns: 'workflow' })}
+
+ {metadataFilterMode === MetadataFilteringModeEnum.automatic && }
+
+
+ {t('nodes.knowledgeRetrieval.metadata.tip', { ns: 'workflow' })}
+
+
+
- {
- metadataFilterMode === MetadataFilteringModeEnum.manual && (
-
-
-
- )
- }
+ {metadataFilterMode === MetadataFilteringModeEnum.manual && (
+
+
+
+ )}
-
- )}
- >
- <>
- {
- metadataFilterMode === MetadataFilteringModeEnum.automatic && (
- <>
-
- {t('nodes.knowledgeRetrieval.metadata.options.automatic.desc', { ns: 'workflow' })}
-
-
-
-
- >
- )
- }
- >
+
+
+
+ {metadataFilterMode === MetadataFilteringModeEnum.automatic && (
+ <>
+
+ {t('nodes.knowledgeRetrieval.metadata.options.automatic.desc', { ns: 'workflow' })}
+
+
+
+
+ >
+ )}
+
)
}