Browse Source

fix: default rerank model check (#6917)

tags/0.6.16
zxhlyh 1 year ago
parent
commit
6feea0d75b
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      web/app/components/datasets/common/check-rerank-model.ts

+ 1
- 0
web/app/components/datasets/common/check-rerank-model.ts View File

indexMethod === 'high_quality' indexMethod === 'high_quality'
&& (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid) && (retrievalConfig.reranking_enable || retrievalConfig.search_method === RETRIEVE_METHOD.hybrid)
&& !rerankModel && !rerankModel
&& rerankDefaultModel
) { ) {
return { return {
...retrievalConfig, ...retrievalConfig,

Loading…
Cancel
Save