headless integrates knowledge (#722)

This commit is contained in:
daikon
2024-02-05 20:30:57 +08:00
committed by GitHub
parent 74d0ec2b23
commit 9600456bae
174 changed files with 1908 additions and 1817 deletions

View File

@@ -19,8 +19,8 @@ com.tencent.supersonic.chat.core.corrector.SemanticCorrector=\
com.tencent.supersonic.chat.core.corrector.GroupByCorrector, \
com.tencent.supersonic.chat.core.corrector.HavingCorrector
com.tencent.supersonic.chat.core.knowledge.semantic.SemanticInterpreter=\
com.tencent.supersonic.chat.core.knowledge.semantic.RemoteSemanticInterpreter
com.tencent.supersonic.chat.core.query.semantic.SemanticInterpreter=\
com.tencent.supersonic.chat.core.query.semantic.RemoteSemanticInterpreter
com.tencent.supersonic.chat.core.parser.sql.llm.ViewResolver=\
com.tencent.supersonic.chat.core.parser.sql.llm.HeuristicModelResolver

View File

@@ -156,23 +156,23 @@ CREATE TABLE IF NOT EXISTS `s2_user_department` (
);
COMMENT ON TABLE s2_user_department IS 'user_department_info';
CREATE TABLE IF NOT EXISTS `s2_dictionary_task` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL , -- task name
`description` varchar(255) ,
`command`LONGVARCHAR NOT NULL , -- task Request Parameters
`command_md5` varchar(255) NOT NULL , -- task Request Parameters md5
`status` INT NOT NULL , -- the final status of the task
`dimension_ids` varchar(500) NULL ,
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
`created_by` varchar(100) NOT NULL ,
`progress` DOUBLE default 0.00 , -- task real-time progress
`elapsed_ms` bigINT DEFAULT NULL , -- the task takes time in milliseconds
`message` LONGVARCHAR , -- remark related information
PRIMARY KEY (`id`)
);
COMMENT ON TABLE s2_dictionary_task IS 'dictionary task information table';
--
-- CREATE TABLE IF NOT EXISTS `s2_dictionary_task` (
-- `id` INT NOT NULL AUTO_INCREMENT,
-- `name` varchar(255) NOT NULL , -- task name
-- `description` varchar(255) ,
-- `command`LONGVARCHAR NOT NULL , -- task Request Parameters
-- `command_md5` varchar(255) NOT NULL , -- task Request Parameters md5
-- `status` INT NOT NULL , -- the final status of the task
-- `dimension_ids` varchar(500) NULL ,
-- `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
-- `created_by` varchar(100) NOT NULL ,
-- `progress` DOUBLE default 0.00 , -- task real-time progress
-- `elapsed_ms` bigINT DEFAULT NULL , -- the task takes time in milliseconds
-- `message` LONGVARCHAR , -- remark related information
-- PRIMARY KEY (`id`)
-- );
-- COMMENT ON TABLE s2_dictionary_task IS 'dictionary task information table';