(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

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