|
@@ -279,7 +279,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
setIsVisibleCus(!isVisibleCus); //自定义回答风格
|
|
setIsVisibleCus(!isVisibleCus); //自定义回答风格
|
|
|
}
|
|
}
|
|
|
if (data_info.rerank_status === true) {
|
|
if (data_info.rerank_status === true) {
|
|
|
- setIsVisibleRerank(!isVisibleRerank) //模型
|
|
|
|
|
|
|
+ setIsVisibleRerank(data_info.rerank_status) //模型
|
|
|
}
|
|
}
|
|
|
//召回切片数量
|
|
//召回切片数量
|
|
|
if (data_info.slice_config_type === 'fixed') {
|
|
if (data_info.slice_config_type === 'fixed') {
|
|
@@ -322,7 +322,7 @@ const QuestionAnswerInfo: React.FC = () => {
|
|
|
show_recall_result: data_info.show_recall_result, //是否展示召回结果
|
|
show_recall_result: data_info.show_recall_result, //是否展示召回结果
|
|
|
recall_method: data_info.recall_method, //召回方式
|
|
recall_method: data_info.recall_method, //召回方式
|
|
|
rerank_status: data_info.rerank_status, //开启rerank
|
|
rerank_status: data_info.rerank_status, //开启rerank
|
|
|
- rerank_model_name: data_info.rerank_model_name, //模型名称
|
|
|
|
|
|
|
+ rerank_model_name: 'rerank', //模型名称
|
|
|
slice_config_type: data_info.slice_config_type, // 召回切片数量
|
|
slice_config_type: data_info.slice_config_type, // 召回切片数量
|
|
|
slice_count: data_info.slice_count, // 切片数量
|
|
slice_count: data_info.slice_count, // 切片数量
|
|
|
recall_slice_splicing_method: data_info.recall_slice_splicing_method, // 切片内容
|
|
recall_slice_splicing_method: data_info.recall_slice_splicing_method, // 切片内容
|