[improvement][project]Simplify code logic in multiple modules.

This commit is contained in:
jerryjzhang
2024-11-10 14:31:12 +08:00
parent ca4545bb15
commit 14a19a901f
18 changed files with 65 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
package com.tencent.supersonic.common.pojo.enums;
public enum Text2SQLType {
ONLY_RULE, LLM_OR_RULE;
ONLY_RULE, LLM_OR_RULE, NONE;
public boolean enableLLM() {
return this.equals(LLM_OR_RULE);