You've already forked DataMate
feat: add file copying functionality to dataset directory and update base path configuration
This commit is contained in:
@@ -23,8 +23,8 @@ CREATE TABLE IF NOT EXISTS t_sys_param
|
||||
id VARCHAR(36) PRIMARY KEY COMMENT '主键ID',
|
||||
param_key VARCHAR(100) NOT NULL COMMENT '设置项键',
|
||||
param_value TEXT NOT NULL COMMENT '设置项值',
|
||||
param_type VARCHAR(50) DEFAULT 'string' COMMENT '设置项类型(如 string、integer、boolean)',
|
||||
option_list TEXT COMMENT '选项列表(如 JSON 格式,仅对 enum 类型有效)',
|
||||
param_type VARCHAR(50) DEFAULT 'string' COMMENT '设置项类型(仅 string、number、boolean 三种类型)',
|
||||
option_list TEXT COMMENT '选项列表(逗号分隔,仅对 enum 类型有效)',
|
||||
description VARCHAR(255) DEFAULT '' COMMENT '设置项描述',
|
||||
is_built_in TINYINT DEFAULT 0 COMMENT '是否内置:1-是,0-否',
|
||||
can_modify TINYINT DEFAULT 1 COMMENT '是否可修改:1-可修改,0-不可修改',
|
||||
@@ -37,10 +37,14 @@ CREATE TABLE IF NOT EXISTS t_sys_param
|
||||
) ENGINE = InnoDB
|
||||
DEFAULT CHARSET = utf8mb4 COMMENT ='设置管理表';
|
||||
|
||||
insert ignore into t_sys_param (id, param_key, param_value, param_type, option_list, description, is_built_in, can_modify,
|
||||
is_enabled, created_by, updated_by)
|
||||
values ('1', 'sys.knowledge.base.count', '200', 'integer', '', '知识库最大数量', 1, 1, 1, 'system', 'system'),
|
||||
insert ignore into t_sys_param (id, param_key, param_value, param_type, option_list, description, is_built_in,
|
||||
can_modify,
|
||||
is_enabled, created_by, updated_by)
|
||||
values ('1', 'sys.knowledge.base.count', '200', 'number', '10,200,500', '知识库最大数量', 1, 1, 1, 'system', 'system'),
|
||||
('2', 'SEARCH_API', 'tavily', 'string', '', 'deer-flow使用的搜索引擎', 1, 1, 1, 'system', 'system'),
|
||||
('3', 'TAVILY_API_KEY', 'tvly-dev-xxx', 'string', '', 'deer-flow使用的搜索引擎所需的apiKey', 1, 1, 1, 'system', 'system'),
|
||||
('4', 'BRAVE_SEARCH_API_KEY', 'api-xxx', 'string', '', 'deer-flow使用的搜索引擎所需的apiKey', 1, 1, 1, 'system', 'system'),
|
||||
('5', 'JINA_API_KEY', '', 'string', '', 'deer-flow使用的JINA搜索引擎所需的apiKey', 1, 1, 1, 'system', 'system');
|
||||
('3', 'TAVILY_API_KEY', 'tvly-dev-xxx', 'string', '', 'deer-flow使用的搜索引擎所需的apiKey', 1, 1, 1, 'system',
|
||||
'system'),
|
||||
('4', 'BRAVE_SEARCH_API_KEY', 'api-xxx', 'string', '', 'deer-flow使用的搜索引擎所需的apiKey', 1, 1, 1, 'system',
|
||||
'system'),
|
||||
('5', 'JINA_API_KEY', '', 'string', '', 'deer-flow使用的JINA搜索引擎所需的apiKey', 1, 1, 1, 'system', 'system'),
|
||||
('6', 'test_bool', 'true', 'boolean', '', '测试布尔值', 1, 1, 1, 'system', 'system');
|
||||
|
||||
Reference in New Issue
Block a user