mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-29 04:14:20 +08:00
(improvement)(Headless) Add terms management to help the model learn private domain knowledge (#979)
This commit is contained in:
@@ -293,4 +293,16 @@ alter table s2_metric add column `is_publish` int(10) DEFAULT NULL COMMENT '是
|
||||
update s2_metric set is_publish = 1;
|
||||
|
||||
--20240402
|
||||
alter table s2_dimension add column `ext` varchar(1000) DEFAULT NULL;
|
||||
alter table s2_dimension add column `ext` varchar(1000) DEFAULT NULL;
|
||||
|
||||
--20240510
|
||||
CREATE TABLE IF NOT EXISTS `s2_term_set` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`domain_id` bigint(20),
|
||||
`terms` varchar(1000),
|
||||
`created_at` datetime NOT NULL ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`updated_at` datetime DEFAULT NULL ,
|
||||
`updated_by` varchar(100) DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
Reference in New Issue
Block a user