mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
[improvement][launcher]Refactor unit tests and demo data. (#1935)
This commit is contained in:
@@ -17,5 +17,7 @@ public class DbSchema {
|
||||
|
||||
private String sql;
|
||||
|
||||
private String ddl;
|
||||
|
||||
private List<DBColumn> dbColumns;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.request;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.ChatModelConfig;
|
||||
import com.tencent.supersonic.headless.api.pojo.DbSchema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@@ -10,12 +11,16 @@ public class ModelBuildReq {
|
||||
|
||||
private Long databaseId;
|
||||
|
||||
private Long domainId;
|
||||
|
||||
private String sql;
|
||||
|
||||
private String db;
|
||||
|
||||
private List<String> tables;
|
||||
|
||||
private List<DbSchema> dbSchemas;
|
||||
|
||||
private boolean buildByLLM;
|
||||
|
||||
private Integer chatModelId;
|
||||
|
||||
Reference in New Issue
Block a user