mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-06 09:23:02 +08:00
(improvement)(Headless) Add terms management to help the model learn private domain knowledge (#979)
This commit is contained in:
@@ -625,4 +625,16 @@ CREATE TABLE IF NOT EXISTS `s2_query_rule` (
|
||||
`ext` LONGVARCHAR DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_query_rule IS 'tag query rule table';
|
||||
COMMENT ON TABLE s2_query_rule IS 'tag query rule table';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_term_set` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`domain_id` INT ,
|
||||
`terms` varchar(1000),
|
||||
`created_at` TIMESTAMP NOT NULL ,
|
||||
`created_by` varchar(100) NOT NULL ,
|
||||
`updated_at` TIMESTAMP DEFAULT NULL ,
|
||||
`updated_by` varchar(100) DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_term_set IS 'term info';
|
||||
Reference in New Issue
Block a user