mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
(improvement)(headless)Remove mapper related configs from system configuration UI.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
package com.tencent.supersonic.headless.chat.mapper;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.tencent.supersonic.common.config.ParameterConfig;
|
||||
import com.tencent.supersonic.common.pojo.Parameter;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service("HeadlessMapperConfig")
|
||||
public class MapperConfig extends ParameterConfig {
|
||||
|
||||
@@ -94,17 +91,4 @@ public class MapperConfig extends ParameterConfig {
|
||||
"向量召回相似度阈值在动态调整中的最低值",
|
||||
"number", "Mapper相关配置");
|
||||
|
||||
@Override
|
||||
public List<Parameter> getSysParameters() {
|
||||
return Lists.newArrayList(
|
||||
MAPPER_DETECTION_SIZE,
|
||||
MAPPER_DETECTION_MAX_SIZE,
|
||||
MAPPER_NAME_THRESHOLD,
|
||||
MAPPER_NAME_THRESHOLD_MIN,
|
||||
MAPPER_DIMENSION_VALUE_SIZE,
|
||||
MAPPER_VALUE_THRESHOLD,
|
||||
MAPPER_VALUE_THRESHOLD_MIN
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user