diff --git a/web/src/components/similarity-slider/index.tsx b/web/src/components/similarity-slider/index.tsx index 7f6019991..a70dfcb56 100644 --- a/web/src/components/similarity-slider/index.tsx +++ b/web/src/components/similarity-slider/index.tsx @@ -15,7 +15,10 @@ const SimilaritySlider = ({ isTooltipShown = false }: IProps) => { label="Similarity threshold" name={'similarity_threshold'} - tooltip={isTooltipShown && 'coming soon'} + tooltip={isTooltipShown && `We use hybrid similarity score to evaluate distance between two lines of text. + It\'s weighted keywords similarity and vector cosine similarity. + If the similarity between query and chunk is less than this threshold, the chunk will be filtered out.` + } initialValue={0.2} > @@ -24,7 +27,10 @@ const SimilaritySlider = ({ isTooltipShown = false }: IProps) => { label="Vector similarity weight" name={'vector_similarity_weight'} initialValue={0.3} - tooltip={isTooltipShown && 'coming soon'} + tooltip={isTooltipShown && `We use hybrid similarity score to evaluate distance between two lines of text. + It\'s weighted keywords similarity and vector cosine similarity. + The sum of both weights is 1.0. + `} > diff --git a/web/src/pages/add-knowledge/components/knowledge-setting/category-panel.tsx b/web/src/pages/add-knowledge/components/knowledge-setting/category-panel.tsx index 84af184f1..8b6168e81 100644 --- a/web/src/pages/add-knowledge/components/knowledge-setting/category-panel.tsx +++ b/web/src/pages/add-knowledge/components/knowledge-setting/category-panel.tsx @@ -33,16 +33,16 @@ const CategoryPanel = ({ chunkMethod }: { chunkMethod: string }) => { {imageList.length > 0 ? ( <> - {item.title} Category + "{item.title}" Chunking Method Description

- {item.title} Image Examples + "{item.title}" Examples - We've prepared detailed visual guides to make understanding easier + This visual guides is in order to make understanding easier for you. diff --git a/web/src/pages/add-knowledge/components/knowledge-setting/configuration.tsx b/web/src/pages/add-knowledge/components/knowledge-setting/configuration.tsx index f69f631f7..fc8d056aa 100644 --- a/web/src/pages/add-knowledge/components/knowledge-setting/configuration.tsx +++ b/web/src/pages/add-knowledge/components/knowledge-setting/configuration.tsx @@ -83,7 +83,7 @@ const ConfigurationForm = ({ form }: { form: FormInstance }) => { @@ -93,22 +93,22 @@ const ConfigurationForm = ({ form }: { form: FormInstance }) => { - {parserList.map((x) => (