mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 04:27:39 +00:00
[improvement][project]Simplify code logic in multiple modules.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user