mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-06 17:28:15 +08:00
(fix)(chat) Fix the issue of mapping in the map (#1825)
This commit is contained in:
@@ -385,13 +385,12 @@ CREATE TABLE IF NOT EXISTS `s2_chat_model` (
|
||||
`viewer` varchar(500) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='对话大模型实例表';
|
||||
ALTER TABLE s2_agent RENAME COLUMN config TO tool_config;
|
||||
ALTER TABLE s2_agent RENAME COLUMN model_config TO chat_model_config;
|
||||
|
||||
ALTER TABLE s2_agent CHANGE COLUMN config tool_config text;
|
||||
ALTER TABLE s2_agent CHANGE COLUMN model_config chat_model_config text;
|
||||
--20241011
|
||||
ALTER TABLE s2_agent DROP COLUMN IF EXISTS `prompt_config`;
|
||||
ALTER TABLE s2_agent DROP COLUMN IF EXISTS `multi_turn_config`;
|
||||
ALTER TABLE s2_agent DROP COLUMN IF EXISTS `enable_memory_review`;
|
||||
ALTER TABLE s2_agent DROP COLUMN `prompt_config`;
|
||||
ALTER TABLE s2_agent DROP COLUMN `multi_turn_config`;
|
||||
ALTER TABLE s2_agent DROP COLUMN `enable_memory_review`;
|
||||
|
||||
--20241012
|
||||
alter table s2_agent add column `enable_feedback` tinyint DEFAULT 1;
|
||||
@@ -31,4 +31,14 @@ s2:
|
||||
token:
|
||||
http:
|
||||
header:
|
||||
key: Authorization
|
||||
key: Authorization
|
||||
|
||||
mapper:
|
||||
name:
|
||||
threshold: 0.30
|
||||
min:
|
||||
threshold:value: 0.25
|
||||
value:
|
||||
threshold: 0.5
|
||||
min:
|
||||
threshold: 0.3
|
||||
Reference in New Issue
Block a user