mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 21:23:22 +08:00
fix: retrive config cannot enable rerank
This commit is contained in:
parent
6055e27050
commit
f894fb05c1
@ -64,7 +64,7 @@ const RetrievalMethodConfig: FC<Props> = ({
|
|||||||
isActive={
|
isActive={
|
||||||
value.search_method === RETRIEVE_METHOD.semantic
|
value.search_method === RETRIEVE_METHOD.semantic
|
||||||
}
|
}
|
||||||
onClick={() => onChange({
|
onSwitched={() => onChange({
|
||||||
...value,
|
...value,
|
||||||
search_method: RETRIEVE_METHOD.semantic,
|
search_method: RETRIEVE_METHOD.semantic,
|
||||||
})}
|
})}
|
||||||
@ -85,7 +85,7 @@ const RetrievalMethodConfig: FC<Props> = ({
|
|||||||
isActive={
|
isActive={
|
||||||
value.search_method === RETRIEVE_METHOD.fullText
|
value.search_method === RETRIEVE_METHOD.fullText
|
||||||
}
|
}
|
||||||
onClick={() => onChange({
|
onSwitched={() => onChange({
|
||||||
...value,
|
...value,
|
||||||
search_method: RETRIEVE_METHOD.fullText,
|
search_method: RETRIEVE_METHOD.fullText,
|
||||||
})}
|
})}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user