Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat(web): display similarity threshold as a percentage (#18974)

chanxd83eb1b98cf5
diff --git a/web/src/components/similarity-slider/index.tsx b/web/src/components/similarity-slider/index.tsx
index 3da7694027..0900c2235f 100644
--- a/web/src/components/similarity-slider/index.tsx
+++ b/web/src/components/similarity-slider/index.tsx
@@ -88,6 +88,7 @@ export function SimilaritySliderFormField({
layout={FormLayout.Vertical}
tooltip={isTooltipShown && t('similarityThresholdTip')}
numberInputClassName={numberInputClassName}
+ percentage
></SliderInputFormField>
<FormField
control={form.control}