mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
[improvement](chat) Support frontend configuration for S2SQL generation method. (#520)
This commit is contained in:
@@ -87,10 +87,10 @@ public class SysParameter {
|
||||
parameters.add(new Parameter("llm.temperature", "0.0",
|
||||
"温度值", "number", "Parser相关配置"));
|
||||
|
||||
Parameter s2SQLParameter = new Parameter("s2SQL.generation", "2_pass_auto_cot_self_consistency",
|
||||
Parameter s2SQLParameter = new Parameter("s2SQL.generation", "TWO_PASS_AUTO_COT",
|
||||
"S2SQL生成方式", "list", "Parser相关配置");
|
||||
s2SQLParameter.setCandidateValues(Lists.newArrayList("1_pass_auto_cot", "1_pass_auto_cot_self_consistency",
|
||||
"2_pass_auto_cot", "2_pass_auto_cot_self_consistency"));
|
||||
s2SQLParameter.setCandidateValues(Lists.newArrayList("ONE_PASS_AUTO_COT", "ONE_PASS_AUTO_COT_SELF_CONSISTENCY",
|
||||
"TWO_PASS_AUTO_COT", "TWO_PASS_AUTO_COT_SELF_CONSISTENCY"));
|
||||
parameters.add(s2SQLParameter);
|
||||
parameters.add(new Parameter("s2SQL.linking.value.switch", "true",
|
||||
"是否将Mapper探测识别到的维度值提供给大模型", "为了数据安全考虑, 这里可进行开关选择",
|
||||
|
||||
Reference in New Issue
Block a user