(improvement)(Headless) Dataset supports query mode settings, and the chat layer supports tag mode (#802)

This commit is contained in:
lexluo09
2024-03-12 12:15:21 +08:00
committed by GitHub
parent 1d91a972da
commit ae7acb4817
26 changed files with 171 additions and 207 deletions

View File

@@ -248,4 +248,7 @@ COMMENT ON TABLE s2_dictionary_task IS 'dictionary task information table';
alter table s2_view rename to s2_data_set;
alter table s2_query_stat_info change view_id data_set_id bigint;
alter table s2_plugin change `view` data_set varchar(200);
alter table s2_data_set change view_detail data_set_detail text;
alter table s2_data_set change view_detail data_set_detail text;
--20240311
alter table s2_data_set add column query_type varchar(100) DEFAULT NULL;

View File

@@ -0,0 +1,3 @@
内地 _4_1_tv 100
欧美 _4_1_tv 100
港台 _4_1_tv 100

View File

@@ -0,0 +1,2 @@
流行 _4_2_tv 100
国风 _4_2_tv 100

View File

@@ -571,7 +571,8 @@ CREATE TABLE IF NOT EXISTS `s2_data_set` (
updated_by VARCHAR(255),
query_config VARCHAR(3000),
`admin` varchar(3000) DEFAULT NULL,
`admin_org` varchar(3000) DEFAULT NULL
`admin_org` varchar(3000) DEFAULT NULL,
`query_type` varchar(100) DEFAULT NULL
);
CREATE TABLE IF NOT EXISTS `s2_tag` (

View File

@@ -0,0 +1,3 @@
内地 _4_1_tv 100
欧美 _4_1_tv 100
港台 _4_1_tv 100

View File

@@ -0,0 +1,2 @@
流行 _4_2_tv 100
国风 _4_2_tv 100

View File

@@ -572,7 +572,8 @@ CREATE TABLE IF NOT EXISTS `s2_data_set` (
updated_by VARCHAR(255),
query_config VARCHAR(3000),
`admin` varchar(3000) DEFAULT NULL,
`admin_org` varchar(3000) DEFAULT NULL
`admin_org` varchar(3000) DEFAULT NULL,
`query_type` varchar(100) DEFAULT NULL
);
CREATE TABLE IF NOT EXISTS `s2_tag` (