(fix)(headless)Fix multi-turn conversation issue, recalling history ChatQuery instead of ChatParse.

This commit is contained in:
jerryjzhang
2024-07-30 21:57:44 +08:00
parent 12a504585f
commit 4a5bb9e457
14 changed files with 71 additions and 168 deletions

View File

@@ -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,