Skip to content

Commit

Permalink
fix: default rerank model check (langgenius#6917)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh authored Aug 2, 2024
1 parent f97a51c commit 6feea0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/app/components/datasets/common/check-rerank-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const ensureRerankModelSelected = ({
indexMethod === 'high_quality'
&& (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
&& !rerankModel
&& rerankDefaultModel
) {
return {
...retrievalConfig,
Expand Down

0 comments on commit 6feea0d

Please sign in to comment.