(improvement)(Chat)The chat history also returns the time taken for parsing and SQL generation (#1084)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2024-06-03 21:18:32 +08:00
committed by GitHub
parent 5e9c960263
commit 4648e8d875
20 changed files with 69 additions and 2953 deletions

View File

@@ -316,4 +316,7 @@ alter table s2_agent add column `multi_turn_config` varchar(2000) COLLATE utf8_u
alter table s2_model add column `ext` varchar(1000) DEFAULT NULL;
--20240601
alter table s2_sys_parameter rename to s2_system_config;
alter table s2_sys_parameter rename to s2_system_config;
--20240603
alter table s2_chat_query add column `parse_time_cost` varchar(1024);

View File

@@ -38,6 +38,7 @@ CREATE TABLE IF NOT EXISTS `s2_chat_query`
`score` int DEFAULT '0',
`feedback` varchar(1024) DEFAULT '',
`similar_queries` varchar(1024) DEFAULT '',
`parse_time_cost` varchar(1024) DEFAULT '',
PRIMARY KEY (`question_id`)
);

View File

@@ -171,6 +171,7 @@ CREATE TABLE `s2_chat_query`
`score` int(11) DEFAULT '0',
`feedback` varchar(1024) DEFAULT '',
`similar_queries` varchar(1024) DEFAULT '',
`parse_time_cost` varchar(1024) DEFAULT '',
PRIMARY KEY (`question_id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8;