luyie
3 months ago
4 changed files with 33 additions and 34 deletions
@ -0,0 +1,27 @@
|
||||
-- 智谱大模型配置信息 |
||||
CREATE TABLE `hzims_analysis_info` ( |
||||
`ID` bigint(20) NOT NULL COMMENT '主键ID', |
||||
`CODE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '策略编码', |
||||
`NAME` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '策略名称', |
||||
`MODEL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '调用模型名称', |
||||
`REQUEST_CONTENT` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '模型交互内容', |
||||
`REQUEST_CONSTRAINS` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '模型交互约束', |
||||
`REQUEST_OUTPUT_FORMAT` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '模型交互返回格式定义', |
||||
`RESULT_STRATEGY` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结果解析策略', |
||||
`RESULT_TYPE` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结果类型', |
||||
`RESULT_KEY` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结果查询key值', |
||||
`RESULT_CONDITION` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结果对比内容', |
||||
`RESULT_JUDGE_MODEL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '对比方式', |
||||
`CHECK_TYPE_SON` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '对应字典表“AI识别类型”的key值', |
||||
`MESSAGE` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '消息', |
||||
`TENANT_ID` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '租户ID', |
||||
`STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态', |
||||
`CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建单位', |
||||
`CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人', |
||||
`CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', |
||||
`UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '修改人', |
||||
`UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', |
||||
`IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', |
||||
`IS_REQUIRE` tinyint(2) NULL DEFAULT NULL COMMENT '是否必须', |
||||
PRIMARY KEY (`ID`) USING BTREE |
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '大模型分析信息' ROW_FORMAT = Dynamic; |
@ -0,0 +1,5 @@
|
||||
-- 大模型分析增加多选字段 |
||||
ALTER TABLE `hz_st_re_content` ADD COLUMN `MULTI_CHECK_TYPE_SON` VARCHAR ( 255 ) NULL COMMENT '存字典表key 检测类型子类 多个数据之间使用逗号分隔开' AFTER `CHECK_TYPE_SON`; |
||||
ALTER TABLE `hz_st_re_content_definition` ADD COLUMN `MULTI_CHECK_TYPE_SON` VARCHAR ( 255 ) NULL COMMENT '存字典表key 检测类型子类 多个数据之间使用逗号分隔开' AFTER `CHECK_TYPE_SON`; |
||||
ALTER TABLE `hz_st_re_content` ADD COLUMN `ANALYSER_TYPE` VARCHAR ( 255 ) NULL COMMENT 'ai识别分析方式,设备或大模型' AFTER `MULTI_CHECK_TYPE_SON`; |
||||
ALTER TABLE `hz_st_re_content_definition` ADD COLUMN `ANALYSER_TYPE` VARCHAR ( 255 ) NULL COMMENT 'ai识别分析方式,设备或大模型' AFTER `MULTI_CHECK_TYPE_SON`; |
Loading…
Reference in new issue