mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
(fix)(headless)Fix multi-turn conversation issue, recalling history ChatQuery instead of ChatParse.
This commit is contained in:
@@ -359,4 +359,7 @@ alter table s2_agent add `model_config` text null;
|
||||
alter table s2_agent add `enable_memory_review` tinyint DEFAULT 0;
|
||||
|
||||
--20240718
|
||||
alter table s2_chat_memory add `side_info` TEXT DEFAULT NULL COMMENT '辅助信息';
|
||||
alter table s2_chat_memory add `side_info` TEXT DEFAULT NULL COMMENT '辅助信息';
|
||||
|
||||
--20240730
|
||||
alter table s2_chat_parse modify column `chat_id` int(11);
|
||||
@@ -45,7 +45,7 @@ CREATE TABLE IF NOT EXISTS `s2_chat_query`
|
||||
CREATE TABLE IF NOT EXISTS `s2_chat_parse`
|
||||
(
|
||||
`question_id` BIGINT NOT NULL,
|
||||
`chat_id` BIGINT NOT NULL ,
|
||||
`chat_id` INT NOT NULL ,
|
||||
`parse_id` INT NOT NULL ,
|
||||
`create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`query_text` varchar(500),
|
||||
|
||||
@@ -169,8 +169,8 @@ CREATE TABLE IF NOT EXISTS `s2_chat_context` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_chat_parse` (
|
||||
`question_id` bigint(20) NOT NULL,
|
||||
`chat_id` bigint(20) NOT NULL,
|
||||
`question_id` bigint NOT NULL,
|
||||
`chat_id` int(11) NOT NULL,
|
||||
`parse_id` int(11) NOT NULL,
|
||||
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`query_text` varchar(500) DEFAULT NULL,
|
||||
|
||||
@@ -44,8 +44,8 @@ CREATE TABLE IF NOT EXISTS `s2_chat_query`
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `s2_chat_parse`
|
||||
(
|
||||
`question_id` BIGINT NOT NULL,
|
||||
`chat_id` BIGINT NOT NULL ,
|
||||
`question_id` BIGINT NOT NULL,
|
||||
`chat_id` INT NOT NULL ,
|
||||
`parse_id` INT NOT NULL ,
|
||||
`create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`query_text` varchar(500),
|
||||
|
||||
Reference in New Issue
Block a user