From 7b8c6170b73c6675fa98d89432bcf59b2342c058 Mon Sep 17 00:00:00 2001 From: wuayee Date: Wed, 7 May 2025 11:02:41 +0800 Subject: [PATCH] =?UTF-8?q?[appBuilder]=20=E5=BD=92=E6=A1=A3sql=E5=86=85?= =?UTF-8?q?=E7=BD=AE=E8=AF=AD=E5=8F=A5=EF=BC=8C=E5=B9=B6=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Aipp/aipp/aipp_inst_file_create_table.sql | 8 - .../Aipp/aipp/aipp_inst_log_create_table.sql | 13 - .../sql/Aipp/form/form_data_create_table.sql | 21 - .../app_builder_app_create_table.sql | 16 - .../app_builder_component_create_table.sql | 14 - .../app_builder_config_create_table.sql | 11 - ...p_builder_config_property_create_table.sql | 7 - .../app_builder_flow_graph_create_table.sql | 10 - .../app_builder_form_create_table.sql | 12 - ...app_builder_form_property_create_table.sql | 12 - .../dataengine/dataengine.postgres.create.sql | 18 - .../taskcenter.owner.to.list.create.sql | 39 - .../taskcenter/taskcenter.postgres.create.sql | 837 ---------------- ...ter.postgres.create_compatible_with_h2.sql | 66 -- .../taskcenter/taskcenter.postgres.data.sql | 18 - .../taskcenter.postgres.function.sql | 147 --- ...askcenter.postgres.taskrelation.create.sql | 13 - .../taskcenter.templateExtend.create.sql | 45 - .../jane/jober/sql/jade/02_general_create.sql | 910 ------------------ .../taskcenter.add_wide_text_column.sql | 18 - ...askcenter.postgres.update_202402171055.sql | 18 - ...askcenter.postgres.update_202403011554.sql | 6 - ...askcenter.postgres.update_202405091900.sql | 3 - .../resources/sql/data/appbuilder_insert.sql} | 26 - .../resources/sql/data/tr_t_interview.sql | 70 ++ .../create_tables/appbuilder_create.sql} | 0 .../schema/create_tables/general_create.sql} | 144 ++- .../resources/sql/data/tr_init_models.sql | 3 + .../resources/sql/data/tr_t_model_import.sql | 66 ++ .../aipp_custom_model_center.sql | 8 +- .../main/resources/sql/data/tr_t_wenjie.sql | 59 ++ .../app_engine_announcement_create_table.sql | 0 .../create_tables/app_base_create_table.sql} | 0 .../app_engine_metrics_create_table.sql | 0 .../create_tables}/app_eval_create_table.sql | 0 .../create_tables}/app_task_create_table.sql | 10 +- .../simple_id_generator_create_sequence.sql} | 0 .../sql/data/tr_t_knowledge_config.sql | 72 ++ .../create_tables}/aipp_user_knowledge.sql | 4 +- .../create_tables}/definition-group.sql | 4 +- .../{ => schema/create_tables}/definition.sql | 4 +- .../create_tables}/schema-tool.sql | 4 +- .../{ => schema/create_tables}/tool-group.sql | 4 +- .../sql/{ => schema/function}/function.sql | 0 .../sql/{ => schema/trigger}/trigger-tool.sql | 0 .../resources/sql/create/definition-group.sql | 4 +- .../test/resources/sql/create/definition.sql | 4 +- .../test/resources/sql/create/tool-group.sql | 4 +- .../src/test/resources/sql/create/tool.sql | 4 +- examples/app-demo/sql/insert.sql | 45 - shell/sql_exec.sh | 214 ++++ .../main/resources/sql/data/tr_init_tools.sql | 188 ++++ .../create_tables}/schema-app.sql | 0 .../create_tables}/schema-collection.sql | 0 .../create_tables}/schema-model.sql | 0 .../create_tables}/schema-plugin-tool.sql | 0 .../create_tables}/schema-plugin.sql | 0 .../create_tables}/schema-tag.sql | 0 .../create_tables}/schema-task.sql | 0 .../sql/{ => schema}/trigger/trigger-app.sql | 0 .../trigger/trigger-collection.sql | 0 .../{ => schema}/trigger/trigger-model.sql | 0 .../trigger/trigger-plugin-tool.sql | 0 .../{ => schema}/trigger/trigger-plugin.sql | 0 .../sql/{ => schema}/trigger/trigger-tag.sql | 0 .../sql/{ => schema}/trigger/trigger-task.sql | 0 .../test/resources/sql/create/definition.sql | 4 +- 67 files changed, 815 insertions(+), 2392 deletions(-) delete mode 100644 app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_file_create_table.sql delete mode 100644 app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_log_create_table.sql delete mode 100644 app-builder/jane/jober/sql/Aipp/form/form_data_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_app_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_component_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_config_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_config_property_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_flow_graph_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_form_create_table.sql delete mode 100644 app-builder/jane/jober/sql/appbuilder/app_builder_form_property_create_table.sql delete mode 100644 app-builder/jane/jober/sql/create/dataengine/dataengine.postgres.create.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.owner.to.list.create.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create_compatible_with_h2.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.data.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.function.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.taskrelation.create.sql delete mode 100644 app-builder/jane/jober/sql/create/taskcenter/taskcenter.templateExtend.create.sql delete mode 100644 app-builder/jane/jober/sql/jade/02_general_create.sql delete mode 100644 app-builder/jane/jober/sql/update/taskcenter/taskcenter.add_wide_text_column.sql delete mode 100644 app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202402171055.sql delete mode 100644 app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202403011554.sql delete mode 100644 app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202405091900.sql rename app-builder/jane/{jober/sql/jade/06_appbuilder_insert.sql => plugins/aipp-plugin/src/main/resources/sql/data/appbuilder_insert.sql} (97%) create mode 100644 app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/tr_t_interview.sql rename app-builder/jane/{jober/sql/jade/02_appbuilder_create.sql => plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/appbuilder_create.sql} (100%) rename app-builder/jane/{jober/sql/create/flowsengine/flowsengine.postgres.create.sql => plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/general_create.sql} (66%) create mode 100644 app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_init_models.sql create mode 100644 app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_t_model_import.sql rename app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/{ => schema/create_tables}/aipp_custom_model_center.sql (91%) create mode 100644 app-builder/plugins/plugins-show-case-parent/aito-data/src/main/resources/sql/data/tr_t_wenjie.sql rename app-engine/plugins/app-announcement/src/main/resources/sql/{ => schema/create_tables}/app_engine_announcement_create_table.sql (100%) rename app-engine/plugins/app-base/src/main/resources/sql/{07_app_base_creat_table.sql => schema/create_tables/app_base_create_table.sql} (100%) rename app-engine/plugins/app-metrics/src/main/resources/sql/{ => schema/create_tables}/app_engine_metrics_create_table.sql (100%) rename app-eval/plugins/eval-dataset/src/main/resources/sql/{ => schema/create_tables}/app_eval_create_table.sql (100%) rename app-eval/plugins/eval-task/src/main/resources/sql/{ => schema/create_tables}/app_task_create_table.sql (94%) rename app-eval/plugins/simple-uid-generator/src/main/resources/sql/{simple_id_generator_create_table.sql => schema/sequence/simple_id_generator_create_sequence.sql} (100%) create mode 100644 app-knowledge/plugins/knowledge-manager/src/main/resources/sql/data/tr_t_knowledge_config.sql rename app-knowledge/plugins/knowledge-manager/src/main/resources/sql/{ => schema/create_tables}/aipp_user_knowledge.sql (92%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/create_tables}/definition-group.sql (89%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/create_tables}/definition.sql (88%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/create_tables}/schema-tool.sql (93%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/create_tables}/tool-group.sql (90%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/function}/function.sql (100%) rename carver/plugins/tool-repository-postgresql/src/main/resources/sql/{ => schema/trigger}/trigger-tool.sql (100%) delete mode 100644 examples/app-demo/sql/insert.sql create mode 100644 shell/sql_exec.sh create mode 100644 store/plugins/store-repository-postgresql/src/main/resources/sql/data/tr_init_tools.sql rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-app.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-collection.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-model.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-plugin-tool.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-plugin.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-tag.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{create => schema/create_tables}/schema-task.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-app.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-collection.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-model.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-plugin-tool.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-plugin.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-tag.sql (100%) rename store/plugins/store-repository-postgresql/src/main/resources/sql/{ => schema}/trigger/trigger-task.sql (100%) diff --git a/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_file_create_table.sql b/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_file_create_table.sql deleted file mode 100644 index ddceb4e1f9..0000000000 --- a/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_file_create_table.sql +++ /dev/null @@ -1,8 +0,0 @@ -create table if not exists aipp_instance_file -( - file_id bigserial not null primary key, - aipp_id varchar(255) not null, - filename varchar(255) not null, - create_at timestamp not null default current_timestamp, - create_by varchar(64) not null -); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_log_create_table.sql b/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_log_create_table.sql deleted file mode 100644 index 951f290849..0000000000 --- a/app-builder/jane/jober/sql/Aipp/aipp/aipp_inst_log_create_table.sql +++ /dev/null @@ -1,13 +0,0 @@ -create table if not exists aipp_instance_log -( - log_id bigserial not null primary key, - aipp_id varchar(255) not null, - version varchar(255), - aipp_type varchar(64), - instance_id varchar(255) not null, - log_data json not null, - log_type varchar(64) not null, - create_at timestamp default current_timestamp, - create_by varchar(64) not null, - reserve json -); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/Aipp/form/form_data_create_table.sql b/app-builder/jane/jober/sql/Aipp/form/form_data_create_table.sql deleted file mode 100644 index b1eb7b15f6..0000000000 --- a/app-builder/jane/jober/sql/Aipp/form/form_data_create_table.sql +++ /dev/null @@ -1,21 +0,0 @@ -create table if not exists form_data( - form_id varchar(64) not null COMMENT '表单id', - form_version varchar(32) not null COMMENT '表单版本', - form_name varchar(256) not null COMMENT '表单名称', - tenant_id varchar(64) COMMENT '租户id', - update_time timestamp COMMENT '更新时间', - update_user varchar(64) COMMENT '更新人', - create_time timestamp not null COMMENT '创建时间', - create_user varchar(64) COMMENT '创建人', - constraint form_pkey primary key (form_id, form_version) COMMENT '主键' -) COMMENT '表单数据表'; - - -create or replace function update_time() returns trigger as $$ -begin - NEW.update_time = now(); - return NEW; -end; -$$ language plpgsql; - -create trigger form_data_updater before UPDATE on form_data for each row execute function update_time(); diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_app_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_app_create_table.sql deleted file mode 100644 index 46b0cc8c45..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_app_create_table.sql +++ /dev/null @@ -1,16 +0,0 @@ -create table if not exists app_builder_app -( - id varchar(64) not null primary key comment '主键id', - name varchar(255) not null comment 'app名称', - create_by varchar(64) not null comment '创建人', - create_at timestamp not null default current_timestamp comment '创建时间', - update_by varchar(64) not null comment '更新人', - update_at timestamp not null default current_timestamp comment '更新时间', - config_id varchar(255) not null comment '关联配置表id', - flow_graph_id varchar(255) not null comment '关联流程图表id', - tenant_id varchar(255) not null comment '租户id', - type varchar(255) not null comment 'app类型', - attributes json not null default '{}' comment '属性', - state varchar(255) not null comment '状态', - app_built_type varchar(8) not null default 'basic' comment '应用构建类型' -) comment 'app主表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_component_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_component_create_table.sql deleted file mode 100644 index e5fe159861..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_component_create_table.sql +++ /dev/null @@ -1,14 +0,0 @@ -create table if not exists app_builder_component -( - id varchar(64) not null primary key COMMENT '主键id', - name varchar(255) not null COMMENT '名称', - type varchar(255) not null COMMENT '类型', - description varchar(255) not null COMMENT '描述', - form_id varchar(255) not null COMMENT '表单id', - service_id varchar(255) not null COMMENT '服务id', - tenant_id varchar(255) not null COMMENT '租户id', - create_by varchar(64) not null COMMENT '创建人', - create_at timestamp not null default current_timestamp COMMENT '创建时间', - update_by varchar(64) not null COMMENT '更新人', - update_at timestamp not null default current_timestamp COMMENT '更新时间' -) COMMENT 'app组件表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_config_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_config_create_table.sql deleted file mode 100644 index 05c6d3c33d..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_config_create_table.sql +++ /dev/null @@ -1,11 +0,0 @@ -create table if not exists app_builder_config -( - id varchar(64) not null primary key COMMENT '主键id', - form_id varchar(255) not null COMMENT '表单表id', - app_id varchar(255) not null COMMENT 'app应用id', - tenant_id varchar(255) not null COMMENT '租户id', - create_by varchar(64) not null COMMENT '创建人', - create_at timestamp not null default current_timestamp COMMENT '创建时间', - update_by varchar(64) not null COMMENT '更新人', - update_at timestamp not null default current_timestamp COMMENT '更新时间' -) COMMENT 'app配置表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_config_property_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_config_property_create_table.sql deleted file mode 100644 index 424f202caa..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_config_property_create_table.sql +++ /dev/null @@ -1,7 +0,0 @@ -create table if not exists app_builder_config_property -( - id varchar(64) not null primary key COMMENT '主键id', - node_id varchar(255) COMMENT 'node_id', - form_property_id varchar(255) not null COMMENT '配置表单项id', - config_id varchar(64) not null COMMENT '关联配置表id' -) COMMENT 'app配置项表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_flow_graph_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_flow_graph_create_table.sql deleted file mode 100644 index 275871c25d..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_flow_graph_create_table.sql +++ /dev/null @@ -1,10 +0,0 @@ -create table if not exists app_builder_flow_graph -( - id varchar(64) not null primary key COMMENT '主键id', - name varchar(255) not null COMMENT '名称', - create_by varchar(64) not null COMMENT '创建人', - create_at timestamp not null default current_timestamp COMMENT '创建时间', - update_by varchar(64) not null COMMENT '更新人', - update_at timestamp not null default current_timestamp COMMENT '更新时间', - appearance TEXT COMMENT '描述' -) COMMENT 'app流程图表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_form_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_form_create_table.sql deleted file mode 100644 index e55af5c12b..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_form_create_table.sql +++ /dev/null @@ -1,12 +0,0 @@ -create table if not exists app_builder_form -( - id varchar(64) not null primary key COMMENT '主键id', - name varchar(255) not null COMMENT '名称', - tenant_id varchar(255) not null COMMENT '租户id', - appearance TEXT COMMENT '描述', - type varchar(64) not null COMMENT '类型', - create_by varchar(64) not null COMMENT '创建人', - create_at timestamp not null default current_timestamp COMMENT '创建时间', - update_by varchar(64) not null COMMENT '更新人', - update_at timestamp not null default current_timestamp COMMENT '更新时间' -) COMMENT 'app表单表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/appbuilder/app_builder_form_property_create_table.sql b/app-builder/jane/jober/sql/appbuilder/app_builder_form_property_create_table.sql deleted file mode 100644 index 501532c314..0000000000 --- a/app-builder/jane/jober/sql/appbuilder/app_builder_form_property_create_table.sql +++ /dev/null @@ -1,12 +0,0 @@ -create table if not exists app_builder_form_property -( - id varchar(64) not null primary key comment '主键id', - form_id varchar(255) not null comment '表单id', - name varchar(255) not null comment '名称', - data_type varchar(255) not null comment '数据类型', - default_value text comment '默认值', - data_from varchar(8) not null comment '数据来源', - in_group varchar(8) not null comment '应用所属的组', - description varchar(64) not null comment '应用描述', - is_deleted smallint default 0 comment '应用是否删除' -) comment 'app表单项表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/dataengine/dataengine.postgres.create.sql b/app-builder/jane/jober/sql/create/dataengine/dataengine.postgres.create.sql deleted file mode 100644 index 0ed35effde..0000000000 --- a/app-builder/jane/jober/sql/create/dataengine/dataengine.postgres.create.sql +++ /dev/null @@ -1,18 +0,0 @@ -CREATE TABLE IF NOT EXISTS time_scheduler -( - scheduler_id VARCHAR(32) PRIMARY KEY, - task_definition_id VARCHAR(32) NOT NULL, - task_source_id VARCHAR(32) NOT NULL, - scheduler_data_type VARCHAR(63) NOT NULL, - source_app VARCHAR(63) NOT NULL, - create_time BIGINT NOT NULL, - end_time BIGINT NOT NULL, - scheduler_interval BIGINT NOT NULL, - latest_executor_time BIGINT NOT NULL, - filter JSONB, - properties JSONB, - modify_time BIGINT NOT NULL, - owner_address VARCHAR(32), - task_type_id VARCHAR(32) -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_SOURCE_ID ON time_scheduler (task_source_id); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.owner.to.list.create.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.owner.to.list.create.sql deleted file mode 100644 index 676d6aa14c..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.owner.to.list.create.sql +++ /dev/null @@ -1,39 +0,0 @@ ---将wide表中的text_4(owner)转为列表,序列 -CREATE SEQUENCE "list_index" START 1 INCREMENT 1; -INSERT INTO list_text(id,instance_id,property_id,index,value) -SELECT generate_uuid_text() AS id, w.id AS instance_id, - (SELECT id FROM task_property WHERE template_id IN (SELECT id FROM task_template_property WHERE task_template_id = '4f91b69973d1453aadf384d508aed894' AND name = 'owner') AND task_id=w.task_id) AS property_id, - CASE - WHEN row_number() OVER (PARTITION BY w.id ORDER BY w.id,s.index)=1 - THEN - SETVAL('list_index', 1) - ELSE - NEXTVAL('list_index') - END AS index, s.value -from task_instance_wide w, - regexp_split_to_table(w.text_4, ',') WITH ORDINALITY AS s(value, index) where w.id in (SELECT s.id from task_instance_wide s INNER JOIN task t ON s.task_id=t.id WHERE t.template_id IN (SELECT find_template_children('4f91b69973d1453aadf384d508aed894') AS id)); -DROP SEQUENCE "list_index"; - ---验证数量是否正确 -SELECT DISTINCT ON (instance_id) id FROM list_text; -SELECT count(1) FROM task_instance_wide; - ---将普通任务模板中的处理人和审批任务中的审批人属性的值.将属性的数据类型修改为LIST_TEXT,sequence修改为0 ---修改task_template_property和task_property表中owner对应的类型 - -UPDATE task_template_property SET data_type='LIST_TEXT',sequence=0 WHERE name='owner'; -UPDATE task_property SET data_type='LIST_TEXT',sequence=0 WHERE template_id = (SELECT id FROM task_template_property WHERE name='owner'); - ---将List_text中的值除index,添加到index_text中 -INSERT INTO index_text(id,instance_id,property_id,value) -SELECT generate_uuid_text(),instance_id,property_id,value -FROM list_text; - - ---回退:清空list_text表中所有数据 -TRUNCATE TABLE list_text; ---回退task_template_property和task_property表 -UPDATE task_template_property SET data_type='TEXT',sequence=4 WHERE name='owner'; -UPDATE task_property SET data_type='TEXT',sequence=4 WHERE template_id = (SELECT id FROM task_template_property WHERE name='owner'); ---回退index_text表 -DELETE FROM index_text WHERE instance_id IN (SELECT instance_id FROM list_text); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create.sql deleted file mode 100644 index fcbfa7de0b..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create.sql +++ /dev/null @@ -1,837 +0,0 @@ -CREATE TABLE IF NOT EXISTS task_tree -( - tree_id VARCHAR(32) PRIMARY KEY, - tree_name VARCHAR(255) NOT NULL, - tenant VARCHAR(255) NOT NULL, - is_deleted BOOLEAN DEFAULT FALSE, - created_by VARCHAR(127) NOT NULL, - updated_by VARCHAR(127), - deleted_by VARCHAR(32), - created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone, - deleted_at timestamp without time zone -); -CREATE UNIQUE INDEX IF NOT EXISTS idx_task_tree_name_tenant_deleted_at ON task_tree (tree_name, tenant, deleted_at); - -CREATE TABLE IF NOT EXISTS task_tree_node -( - node_id VARCHAR(32) PRIMARY KEY, - node_name VARCHAR(255) NOT NULL, - tree_id VARCHAR(32) NOT NULL, - parent_id VARCHAR(32), - node_level INT NOT NULL, - is_deleted BOOLEAN DEFAULT FALSE, - created_by VARCHAR(127) NOT NULL, - updated_by VARCHAR(127), - deleted_by VARCHAR(32), - created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone, - deleted_at timestamp without time zone -); - -CREATE TABLE IF NOT EXISTS task_definition -( - definition_id VARCHAR(32) PRIMARY KEY, - reference_id VARCHAR(32) NOT NULL, - task_detail TEXT, - task_type VARCHAR(127) NOT NULL, - version INT NOT NULL, - tenant VARCHAR(255) NOT NULL, - is_deleted BOOLEAN DEFAULT FALSE, - created_by VARCHAR(127) NOT NULL, - updated_by VARCHAR(127), - deleted_by VARCHAR(32), - created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone, - deleted_at timestamp without time zone -); - -CREATE TABLE IF NOT EXISTS task_definition_props -( - props_id VARCHAR(32) PRIMARY KEY, - definition_id VARCHAR(32) NOT NULL, - props_name VARCHAR(63) NOT NULL, - props_key VARCHAR(63) NOT NULL, - props_icon VARCHAR(63), - props_description VARCHAR(255), - props_value_type VARCHAR(63) NOT NULL, - props_value JSONB, - props_type VARCHAR(127) NOT NULL, - props_order INT NOT NULL, - is_required BOOLEAN DEFAULT TRUE, - is_deleted BOOLEAN DEFAULT FALSE, - display_props JSONB -); - -CREATE TABLE IF NOT EXISTS task_definition_props_handler -( - handler_id VARCHAR(32) PRIMARY KEY, - props_id VARCHAR(32) NOT NULL, - definition_source_id VARCHAR(32) NOT NULL, - props_updated_event VARCHAR(127), - props_updated_api VARCHAR(255), - is_deleted BOOLEAN DEFAULT FALSE -); - -CREATE TABLE IF NOT EXISTS task_definition_source -( - source_id VARCHAR(32) PRIMARY KEY, - definition_id VARCHAR(32) NOT NULL, - source_app VARCHAR(63) NOT NULL, - source_api VARCHAR(255), - source_handler VARCHAR(63) NOT NULL, - properties TEXT, - is_deleted BOOLEAN DEFAULT FALSE -); - -CREATE TABLE IF NOT EXISTS task_instance -( - instance_id VARCHAR(32) PRIMARY KEY, - definition_id VARCHAR(32) NOT NULL, - source_definition_id VARCHAR(32) NOT NULL, - field_value_1 TEXT, - field_value_2 TEXT, - field_value_3 TEXT, - field_value_4 TEXT, - field_value_5 TEXT, - field_value_6 TEXT, - field_value_7 TEXT, - field_value_8 TEXT, - field_value_9 TEXT, - field_value_10 TEXT, - field_value_11 TEXT, - field_value_12 TEXT, - field_value_13 TEXT, - field_value_14 TEXT, - field_value_15 TEXT, - field_value_16 TEXT, - field_value_17 TEXT, - field_value_18 TEXT, - field_value_19 TEXT, - field_value_20 TEXT, - field_value_21 TEXT, - field_value_22 TEXT, - field_value_23 TEXT, - field_value_24 TEXT, - field_value_25 TEXT, - field_value_26 TEXT, - field_value_27 TEXT, - field_value_28 TEXT, - field_value_29 TEXT, - field_value_30 TEXT, - field_value_31 TEXT, - field_value_32 TEXT, - field_value_33 TEXT, - field_value_34 TEXT, - field_value_35 TEXT, - field_value_36 TEXT, - field_value_37 TEXT, - field_value_38 TEXT, - field_value_39 TEXT, - field_value_40 TEXT, - field_value_41 TEXT, - field_value_42 TEXT, - field_value_43 TEXT, - field_value_44 TEXT, - field_value_45 TEXT, - field_value_46 TEXT, - field_value_47 TEXT, - field_value_48 TEXT, - field_value_49 TEXT, - field_value_50 TEXT, - field_value_51 TEXT, - field_value_52 TEXT, - field_value_53 TEXT, - field_value_54 TEXT, - field_value_55 TEXT, - field_value_56 TEXT, - field_value_57 TEXT, - field_value_58 TEXT, - field_value_59 TEXT, - field_value_60 TEXT, - field_value_61 TEXT, - field_value_62 TEXT, - field_value_63 TEXT, - field_value_64 TEXT, - field_value_65 TEXT, - field_value_66 TEXT, - field_value_67 TEXT, - field_value_68 TEXT, - field_value_69 TEXT, - field_value_70 TEXT, - field_value_71 TEXT, - field_value_72 TEXT, - field_value_73 TEXT, - field_value_74 TEXT, - field_value_75 TEXT, - field_value_76 TEXT, - field_value_77 TEXT, - field_value_78 TEXT, - field_value_79 TEXT, - field_value_80 TEXT, - field_value_81 TEXT, - field_value_82 TEXT, - field_value_83 TEXT, - field_value_84 TEXT, - field_value_85 TEXT, - field_value_86 TEXT, - field_value_87 TEXT, - field_value_88 TEXT, - field_value_89 TEXT, - field_value_90 TEXT, - field_value_91 TEXT, - field_value_92 TEXT, - field_value_93 TEXT, - field_value_94 TEXT, - field_value_95 TEXT, - field_value_96 TEXT, - field_value_97 TEXT, - field_value_98 TEXT, - field_value_99 TEXT, - field_value_100 TEXT, - is_deleted BOOLEAN DEFAULT FALSE -); - -CREATE TABLE IF NOT EXISTS task_tag -( - tag_id VARCHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - tenant VARCHAR(255) NOT NULL -); - -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_NAME_TENANT ON task_tag (name, tenant); - -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('41d00a31a9b34aa39b606d80fc426c2e', '未开始', 'public'); -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('8d038441b7514f5b99ea18992126cfa8', '进行中', 'public'); -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('4c4ddb220bfe4fe98374aff710afb3eb', '已完成', 'public'); -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('ad31edc774e24bfbb15e87084744e259', '有风险', 'public'); -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('e72a94b24e704e5abcffc920394f4a19', '无风险', 'public'); - - -CREATE TABLE IF NOT EXISTS task_source_schedule -( - id CHAR(32) PRIMARY KEY, - fitable_id CHAR(32) NOT NULL, - "interval" INTEGER NOT NULL, - filter VARCHAR(512) NOT NULL -); - -CREATE TABLE IF NOT EXISTS task_source -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - app VARCHAR(64) NOT NULL, - type VARCHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_SOURCE ON task_source (task_id, name, app); -CREATE INDEX IF NOT EXISTS IDX_TASK_SOURCE_TASK ON task_source (task_id); - -CREATE TABLE IF NOT EXISTS task_property_trigger -( - id CHAR(32) PRIMARY KEY, - task_source_id CHAR(32) NOT NULL, - task_property_id CHAR(32) NOT NULL, - fitable_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_PROPERTY_TRIGGER ON task_property_trigger (task_source_id, task_property_id, fitable_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_SOURCE ON task_property_trigger (task_source_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_PROPERTY ON task_property_trigger (task_property_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_FITABLE ON task_property_trigger (fitable_id); - -CREATE TABLE IF NOT EXISTS task_property -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - required BOOLEAN NOT NULL, - identifiable BOOLEAN NOT NULL, - description VARCHAR(512) NOT NULL, - scope VARCHAR(16) NOT NULL, - data_type VARCHAR(16) NOT NULL, - sequence INTEGER NOT NULL, - appearance JSON NOT NULL, - template_id CHAR(32) NOT NULL DEFAULT '00000000000000000000000000000000' -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_PROPERTY ON task_property (task_id, name); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_DATA_SEQUENCE ON task_property (task_id, data_type, sequence); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TASK ON task_property (task_id); - -CREATE TABLE IF NOT EXISTS task -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - tenant_id CHAR(32) NOT NULL, - attributes JSON NOT NULL DEFAULT '{}', - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP(9) NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP(9) NOT NULL, - template_id CHAR(32) NOT NULL DEFAULT '00000000000000000000000000000000', - category VARCHAR(32) NOT NULL DEFAULT 'TASK' -); -CREATE UNIQUE INDEX IF NOT EXISTS idx_task_id_name ON task (id, name); - -CREATE TABLE IF NOT EXISTS task_tree_task -( - id CHAR(32) PRIMARY KEY, - tree_id CHAR(32) NOT NULL, - task_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TREE_TASK_TREE_TASK ON task_tree_task (tree_id, task_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TREE_TASK_TREE ON task_tree_task (tree_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TREE_TASK_TASK ON task_tree_task (task_id); - -CREATE TABLE IF NOT EXISTS task_tree_v2 -( - id char(32) PRIMARY KEY, - name varchar(64) NOT NULL, - created_by varchar(127) NOT NULL, - created_at timestamp(6) NOT NULL, - updated_by varchar(127) NOT NULL, - updated_at timestamp(6) NOT NULL -); - -CREATE TABLE IF NOT EXISTS task_instance_wide -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - task_type_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - text_1 TEXT, - text_2 TEXT, - text_3 TEXT, - text_4 TEXT, - text_5 TEXT, - text_6 TEXT, - text_7 TEXT, - text_8 TEXT, - text_9 TEXT, - text_10 TEXT, - text_11 TEXT, - text_12 TEXT, - text_13 TEXT, - text_14 TEXT, - text_15 TEXT, - text_16 TEXT, - text_17 TEXT, - text_18 TEXT, - text_19 TEXT, - text_20 TEXT, - text_21 TEXT, - text_22 TEXT, - text_23 TEXT, - text_24 TEXT, - text_25 TEXT, - text_26 TEXT, - text_27 TEXT, - text_28 TEXT, - text_29 TEXT, - text_30 TEXT, - text_31 TEXT, - text_32 TEXT, - text_33 TEXT, - text_34 TEXT, - text_35 TEXT, - text_36 TEXT, - text_37 TEXT, - text_38 TEXT, - text_39 TEXT, - text_40 TEXT, - text_41 TEXT, - text_42 TEXT, - text_43 TEXT, - text_44 TEXT, - text_45 TEXT, - text_46 TEXT, - text_47 TEXT, - text_48 TEXT, - text_49 TEXT, - text_50 TEXT, - integer_1 INTEGER, - integer_2 INTEGER, - integer_3 INTEGER, - integer_4 INTEGER, - integer_5 INTEGER, - integer_6 INTEGER, - integer_7 INTEGER, - integer_8 INTEGER, - integer_9 INTEGER, - integer_10 INTEGER, - integer_11 INTEGER, - integer_12 INTEGER, - integer_13 INTEGER, - integer_14 INTEGER, - integer_15 INTEGER, - integer_16 INTEGER, - integer_17 INTEGER, - integer_18 INTEGER, - integer_19 INTEGER, - integer_20 INTEGER, - datetime_1 TIMESTAMP, - datetime_2 TIMESTAMP, - datetime_3 TIMESTAMP, - datetime_4 TIMESTAMP, - datetime_5 TIMESTAMP, - datetime_6 TIMESTAMP, - datetime_7 TIMESTAMP, - datetime_8 TIMESTAMP, - datetime_9 TIMESTAMP, - datetime_10 TIMESTAMP, - datetime_11 TIMESTAMP, - datetime_12 TIMESTAMP, - datetime_13 TIMESTAMP, - datetime_14 TIMESTAMP, - datetime_15 TIMESTAMP, - datetime_16 TIMESTAMP, - datetime_17 TIMESTAMP, - datetime_18 TIMESTAMP, - datetime_19 TIMESTAMP, - datetime_20 TIMESTAMP, - boolean_1 BOOLEAN, - boolean_2 BOOLEAN, - boolean_3 BOOLEAN, - boolean_4 BOOLEAN, - boolean_5 BOOLEAN, - boolean_6 BOOLEAN, - boolean_7 BOOLEAN, - boolean_8 BOOLEAN, - boolean_9 BOOLEAN, - boolean_10 BOOLEAN, - boolean_11 BOOLEAN, - boolean_12 BOOLEAN, - boolean_13 BOOLEAN, - boolean_14 BOOLEAN, - boolean_15 BOOLEAN, - boolean_16 BOOLEAN, - boolean_17 BOOLEAN, - boolean_18 BOOLEAN, - boolean_19 BOOLEAN, - boolean_20 BOOLEAN -); - -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_TASK ON task_instance_wide (task_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_SOURCE ON task_instance_wide (source_id); - -CREATE TABLE IF NOT EXISTS task_type -( - id CHAR(32) PRIMARY KEY, - tree_id CHAR(32) NOT NULL, - parent_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL, - task_id CHAR(32) -); -CREATE INDEX IF NOT EXISTS IDX_TASK_TYPE_TREE ON task_type (tree_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TYPE_PARENT ON task_type (parent_id); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TYPE_NAME ON task_type (task_id, name); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TYPE_TREE_NAME ON task_type (tree_id, name); - -CREATE TABLE IF NOT EXISTS task_node_source -( - id CHAR(32) PRIMARY KEY, - node_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_NODE_SOURCE ON task_node_source (node_id, source_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_NODE_SOURCE_NODE ON task_node_source (node_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_NODE_SOURCE_SOURCE ON task_node_source (source_id); - -CREATE TABLE IF NOT EXISTS tag -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG ON tag (name); - -CREATE TABLE IF NOT EXISTS tag_usage -( - id CHAR(32) PRIMARY KEY, - tag_id CHAR(32) NOT NULL, - object_type VARCHAR(16) NOT NULL, - object_id CHAR(32) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG_USAGE ON tag_usage (tag_id, object_id, object_type); -CREATE INDEX IF NOT EXISTS IDX_TAG_OBJECT_ID ON tag_usage (object_id); - -CREATE TABLE IF NOT EXISTS task_category_trigger -( - "id" CHAR(32) PRIMARY KEY, - "task_id" CHAR(32) NOT NULL, - "category_id" CHAR(32) NOT NULL, - "fitable_id" CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS "UK_TASK_CATEGORY_TRIGGER" ON task_category_trigger ("task_id", "category_id", "fitable_id"); -CREATE INDEX IF NOT EXISTS "IDX_TASK_CATEGORY_TRIGGER_TASK" ON task_category_trigger ("task_id"); - -CREATE TABLE IF NOT EXISTS category_group -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_GROUP_NAME ON category_group (name); - -CREATE TABLE IF NOT EXISTS category -( - id CHAR(32) PRIMARY KEY, - category_group_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -comment on table category is '类目'; -comment on column category.id is '表示类目的唯一标识。由32位16进制字符组成。'; -comment on column category.category_group_id is '表示类目组的唯一标识。'; -comment on column category.name is '表示类目的名称类型。'; -comment on column category.description is '表示类目的描述信息。'; -comment on column category.created_by is '表示创建人。'; -comment on column category.created_at is '表示创建时间。'; -comment on column category.updated_by is '表示最近的修改人。未被修改时与创建人相同。'; -comment on column category.updated_at is '表示最近的修改时间。未被修改时与创建时间相同。'; - -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_GROUP ON category (category_group_id); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_NAME ON category (name); - -CREATE TABLE IF NOT EXISTS category_matcher -( - id CHAR(32) PRIMARY KEY, - category_id CHAR(32) NOT NULL, - property_id CHAR(32) NOT NULL, - "value" TEXT NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_MATCHER ON category_matcher (category_id, property_id, "value"); -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_MATCHER_CATEGORY ON category_matcher (category_id); -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_MATCHER_PROPERTY ON category_matcher (property_id); - -CREATE TABLE IF NOT EXISTS task_instance_event ( - id CHAR(32) PRIMARY KEY, - source_id CHAR(32) NOT NULL, - event_type VARCHAR(16) NOT NULL, - fitable_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_INSTANCE_EVENT ON task_instance_event(source_id, event_type, fitable_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_EVENT_SOURCE ON task_instance_event(source_id); - -CREATE TABLE IF NOT EXISTS tenant -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(255) NOT NULL, - description TEXT, - avatar_id CHAR(32), - created_by VARCHAR(127) NOT NULL, - updated_by VARCHAR(127), - created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone, - access_level VARCHAR(32) DEFAULT 'PRIVATE' -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TENANT ON tenant (name); - -CREATE TABLE IF NOT EXISTS tenant_member -( - id CHAR(32) PRIMARY KEY, - tenant_id CHAR(32) NOT NULL, - user_id VARCHAR(127) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at timestamp without time zone NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TENANT_ID_USER_ID ON tenant_member (tenant_id, user_id); -CREATE INDEX IF NOT EXISTS IDX_TENANT_ID_TENANT_MEMBER ON tenant_member (tenant_id); - -CREATE TABLE IF NOT EXISTS file -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(127) NOT NULL, - content BYTEA, - created_by VARCHAR(127) NOT NULL, - created_at timestamp without time zone NOT NULL, - type VARCHAR(32) -); - -CREATE TABLE IF NOT EXISTS task_source_refresh_in_time ( - id CHAR(32) PRIMARY KEY, - metadata JSONB NOT NULL, - create_fitable_id CHAR(32) NOT NULL, - patch_fitable_id CHAR(32) NOT NULL, - delete_fitable_id CHAR(32) NOT NULL, - retrieve_fitable_id CHAR(32) NOT NULL, - list_fitable_id CHAR(32) NOT NULL -); - -CREATE TABLE "authorization" ( - "id" CHAR(32) PRIMARY KEY, - "system" VARCHAR(64) NOT NULL, - "user" VARCHAR(127) NOT NULL, - "token" TEXT NOT NULL, - "expiration" INT8 NOT NULL, - "created_by" VARCHAR(127) NOT NULL, - "created_at" TIMESTAMP NOT NULL, - "updated_by" VARCHAR(127) NOT NULL, - "updated_at" TIMESTAMP NOT NULL -); - -CREATE TABLE IF NOT EXISTS task_instance_deleted -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - task_type_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - text_1 TEXT, - text_2 TEXT, - text_3 TEXT, - text_4 TEXT, - text_5 TEXT, - text_6 TEXT, - text_7 TEXT, - text_8 TEXT, - text_9 TEXT, - text_10 TEXT, - text_11 TEXT, - text_12 TEXT, - text_13 TEXT, - text_14 TEXT, - text_15 TEXT, - text_16 TEXT, - text_17 TEXT, - text_18 TEXT, - text_19 TEXT, - text_20 TEXT, - text_21 TEXT, - text_22 TEXT, - text_23 TEXT, - text_24 TEXT, - text_25 TEXT, - text_26 TEXT, - text_27 TEXT, - text_28 TEXT, - text_29 TEXT, - text_30 TEXT, - text_31 TEXT, - text_32 TEXT, - text_33 TEXT, - text_34 TEXT, - text_35 TEXT, - text_36 TEXT, - text_37 TEXT, - text_38 TEXT, - text_39 TEXT, - text_40 TEXT, - text_41 TEXT, - text_42 TEXT, - text_43 TEXT, - text_44 TEXT, - text_45 TEXT, - text_46 TEXT, - text_47 TEXT, - text_48 TEXT, - text_49 TEXT, - text_50 TEXT, - integer_1 INTEGER, - integer_2 INTEGER, - integer_3 INTEGER, - integer_4 INTEGER, - integer_5 INTEGER, - integer_6 INTEGER, - integer_7 INTEGER, - integer_8 INTEGER, - integer_9 INTEGER, - integer_10 INTEGER, - integer_11 INTEGER, - integer_12 INTEGER, - integer_13 INTEGER, - integer_14 INTEGER, - integer_15 INTEGER, - integer_16 INTEGER, - integer_17 INTEGER, - integer_18 INTEGER, - integer_19 INTEGER, - integer_20 INTEGER, - datetime_1 TIMESTAMP, - datetime_2 TIMESTAMP, - datetime_3 TIMESTAMP, - datetime_4 TIMESTAMP, - datetime_5 TIMESTAMP, - datetime_6 TIMESTAMP, - datetime_7 TIMESTAMP, - datetime_8 TIMESTAMP, - datetime_9 TIMESTAMP, - datetime_10 TIMESTAMP, - datetime_11 TIMESTAMP, - datetime_12 TIMESTAMP, - datetime_13 TIMESTAMP, - datetime_14 TIMESTAMP, - datetime_15 TIMESTAMP, - datetime_16 TIMESTAMP, - datetime_17 TIMESTAMP, - datetime_18 TIMESTAMP, - datetime_19 TIMESTAMP, - datetime_20 TIMESTAMP, - boolean_1 BOOLEAN, - boolean_2 BOOLEAN, - boolean_3 BOOLEAN, - boolean_4 BOOLEAN, - boolean_5 BOOLEAN, - boolean_6 BOOLEAN, - boolean_7 BOOLEAN, - boolean_8 BOOLEAN, - boolean_9 BOOLEAN, - boolean_10 BOOLEAN, - boolean_11 BOOLEAN, - boolean_12 BOOLEAN, - boolean_13 BOOLEAN, - boolean_14 BOOLEAN, - boolean_15 BOOLEAN, - boolean_16 BOOLEAN, - boolean_17 BOOLEAN, - boolean_18 BOOLEAN, - boolean_19 BOOLEAN, - boolean_20 BOOLEAN - ); - -CREATE TABLE IF NOT EXISTS operation_record -( - id char(32) PRIMARY KEY, - object_type varchar(25) NOT NULL, - object_id char(32) NOT NULL, - operator varchar(127) NOT NULL, - operated_time timestamp without time zone, - message TEXT NOT NULL, - operate char(7) NOT NULL -); - -CREATE INDEX IDX_OPERATION_RECORD_OBJECT_TYPE_OBJECT_ID_OPERATED_TIME ON operation_record (object_type,object_id,operated_time); - -CREATE TABLE IF NOT EXISTS task_source_refresh_in_time ( - id CHAR(32) PRIMARY KEY, - metadata JSONB NOT NULL, - create_fitable_id CHAR(32) NOT NULL, - patch_fitable_id CHAR(32) NOT NULL, - delete_fitable_id CHAR(32) NOT NULL, - retrieve_fitable_id CHAR(32) NOT NULL, - list_fitable_id CHAR(32) NOT NULL - ); - -CREATE TABLE IF NOT EXISTS "category_usage" ( - "id" CHAR(32) PRIMARY KEY, - "object_type" VARCHAR(16) NOT NULL, - "object_id" CHAR(32) NOT NULL, - "category_group_id" CHAR(32) NOT NULL, - "category_id" CHAR(32) NOT NULL, - "created_by" VARCHAR(127) NOT NULL, - "created_at" TIMESTAMP NOT NULL, - "updated_by" VARCHAR(127) NOT NULL, - "updated_at" TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX "UK_CATEGORY_USAGE" ON "category_usage"("object_id", "category_group_id", "object_type"); -CREATE INDEX "IDX_CATEGORY_USAGE_OBJECT_ID" ON "category_usage"("object_id"); - -/* 创建任务模板表 */ -CREATE TABLE IF NOT EXISTS task_template -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL -); -CREATE UNIQUE INDEX UK_TASK_TEMPLATE_NAME ON task_template (name); -COMMENT on column task_template.id is '主键Id'; -COMMENT on column task_template.name is '任务模板名称'; -COMMENT on column task_template.description is '任务模板描述'; - -/* 创建任务模板属性表 */ -CREATE TABLE IF NOT EXISTS task_template_property -( - id CHAR(32) PRIMARY KEY, - task_template_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - data_type VARCHAR(16) NOT NULL, - sequence INTEGER NOT NULL -); -CREATE UNIQUE INDEX UK_TASK_TEMPLATE_PROPERTY_NAME ON task_template_property (task_template_id, name); -CREATE UNIQUE INDEX UK_TASK_TEMPLATE_PROPERTY_COLUMN ON task_template_property (task_template_id, data_type, sequence); - -COMMENT on column task_template_property.id is '主键Id'; -COMMENT on column task_template_property.task_template_id is '任务模板Id'; -COMMENT on column task_template_property.name is '任务模板属性名称'; -COMMENT on column task_template_property.data_type is '任务模板属性数据类型'; -COMMENT on column task_template_property.sequence is '任务模板属性在当前数据类型中的序号'; - -CREATE TABLE "index" ( - "id" CHAR(32) PRIMARY KEY, - "task_id" CHAR(32) NOT NULL, - "name" VARCHAR(128) NOT NULL, - "created_by" VARCHAR(127) NOT NULL, - "created_at" TIMESTAMP NOT NULL, - "updated_by" VARCHAR(127) NOT NULL, - "updated_at" TIMESTAMP NOT NULL -); - -CREATE TABLE "index_property" ( - "id" CHAR(32) PRIMARY KEY, - "index_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL -); -CREATE INDEX "idx_index_property_index" ON "index_property"("index_id"); - -CREATE TABLE "index_text" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" TEXT -); -CREATE INDEX "idx_index_text_instance" ON "index_text"("instance_id"); -CREATE INDEX "idx_index_text_property" ON "index_text"("property_id"); -CREATE INDEX "idx_index_text_value" ON "index_text"("value"); - -CREATE TABLE "index_integer" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" BIGINT -); -CREATE INDEX "idx_index_integer_instance" ON "index_integer"("instance_id"); -CREATE INDEX "idx_index_integer_property" ON "index_integer"("property_id"); -CREATE INDEX "idx_index_integer_value" ON "index_integer"("value"); - -CREATE TABLE "index_datetime" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" TIMESTAMP -); -CREATE INDEX "idx_index_datetime_instance" ON "index_datetime"("instance_id"); -CREATE INDEX "idx_index_datetime_property" ON "index_datetime"("property_id"); -CREATE INDEX "idx_index_datetime_value" ON "index_datetime"("value"); - -CREATE TABLE "list_text" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "index" BIGINT NOT NULL, - "value" TEXT -); -CREATE INDEX "IDX_LIST_TEXT_INSTANCE" ON "list_text"("instance_id"); -CREATE INDEX "IDX_LIST_TEXT_PROPERTY" ON "list_text"("property_id"); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create_compatible_with_h2.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create_compatible_with_h2.sql deleted file mode 100644 index 984bfe1f97..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.create_compatible_with_h2.sql +++ /dev/null @@ -1,66 +0,0 @@ -CREATE -OR REPLACE FUNCTION generate_uuid_text() -RETURNS CHAR(32) AS $$ -BEGIN -RETURN md5(random()::text || clock_timestamp()::text); -END; -$$ -LANGUAGE plpgsql; - -CREATE -OR REPLACE FUNCTION now_utc() -RETURNS TIMESTAMP AS $$ -BEGIN -RETURN CURRENT_TIMESTAMP AT TIME ZONE 'UTC'; -END; -$$ -LANGUAGE plpgsql; - -INSERT INTO category_group(id, name, description, created_by, created_at, updated_by, updated_at) -VALUES (generate_uuid_text(), 'status', '表示系统级别的状态定义。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), 'health', '表示系统级别的健康度定义。', 'admin', now_utc(), 'admin', now_utc()); - -INSERT INTO category(id, category_group_id, name, description, created_by, created_at, updated_by, - updated_at) -VALUES (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '未开始', - '表示任务尚未开始处理。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '处理中', - '表示任务正在处理中。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '已完成', - '表示任务已闭环完成。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'health'), '无风险', - '表示当前任务的进展不存在风险。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'health'), '风险', - '表示当前任务存在风险。', 'admin', now_utc(), 'admin', now_utc()); - -UPDATE task_type -SET task_id = '2479308f35ab4cc492892aea265b2025' -WHERE tree_id = '6a5db7109bb546109f2887347cf42054' -UPDATE task_type -SET task_id = '265520c71c534393af4678129ac90719' -WHERE tree_id = '2abeca128a194064a2777f1882ea2967' - -UPDATE task_type -SET parent_id = tree_id -WHERE parent_id = '00000000000000000000000000000000'; - -CREATE TABLE IF NOT EXISTS task_source_refresh_in_time ( - id CHAR(32) PRIMARY KEY COMMENT '主键id', - create_fitable_id CHAR(32) NOT NULL COMMENT 'create_fitable_id', - patch_fitable_id CHAR(32) NOT NULL COMMENT 'patch_fitable_id', - delete_fitable_id CHAR(32) NOT NULL COMMENT 'delete_fitable_id', - retrieve_fitable_id CHAR(32) NOT NULL COMMENT 'retrieve_fitable_id', - list_fitable_id CHAR(32) NOT NULL COMMENT 'list_fitable_id' -) COMMENT '任务源刷新表'; - -CREATE TABLE `authorization` ( - `id` CHAR(32) PRIMARY KEY COMMENT '主键id', - `system` VARCHAR(64) NOT NULL COMMENT '系统', - `user` VARCHAR(127) NOT NULL COMMENT '用户', - `token` TEXT NOT NULL COMMENT 'token', - `expiration` INTEGER NOT NULL COMMENT '过期时间', - `created_by` VARCHAR(127) NOT NULL COMMENT '创建人', - `created_at` TIMESTAMP NOT NULL COMMENT '创建时间', - `updated_by` VARCHAR(127) NOT NULL COMMENT '更新人', - `updated_at` TIMESTAMP NOT NULL COMMENT '更新时间' -) COMMENT '权限表'; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.data.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.data.sql deleted file mode 100644 index 56be7b64b7..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.data.sql +++ /dev/null @@ -1,18 +0,0 @@ -INSERT INTO task_template ("id", "name", "description") VALUES ('4f91b69973d1453aadf384d508aed894', '普通任务', '最基础的默认模板'); -INSERT INTO task_template ("id", "name", "description") VALUES ('00000000000000000000000000000000', 'empty', 'empty'); - -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('08f8fc32484d408aacbcff35bf8be687', '4f91b69973d1453aadf384d508aed894', 'id', 'TEXT', 1); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('abb064f84f36496bb769321b1f3443c9', '4f91b69973d1453aadf384d508aed894', 'decomposed_from', 'TEXT', 2); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('be686a0325694aadb688539f7523f88a', '4f91b69973d1453aadf384d508aed894', 'title', 'TEXT', 3); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('59e0d16c3fe541899778beb76e56b0e3', '4f91b69973d1453aadf384d508aed894', 'owner', 'TEXT', 4); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('e2af84d4a8714ce8a87be79d19a5eb88', '4f91b69973d1453aadf384d508aed894', 'created_by', 'TEXT', 5); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('4aebbf316cf443d791e0280f56f435d6', '4f91b69973d1453aadf384d508aed894', 'created_date', 'DATETIME', 1); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('387c16ae70ac49f68f670f54e4456fc8', '4f91b69973d1453aadf384d508aed894', 'modified_by', 'TEXT', 6); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('354944b0e9234429aabfbafb08059c2e', '4f91b69973d1453aadf384d508aed894', 'modified_date', 'DATETIME', 2); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('c41b4da4013e484ead6fc8b03192dee2', '4f91b69973d1453aadf384d508aed894', 'status', 'TEXT', 7); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('34a33a519dd64dc5aa4b3c98c70a5989', '4f91b69973d1453aadf384d508aed894', 'target_url', 'TEXT', 8); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('456bc8b7b9754708828c68221af977c9', '4f91b69973d1453aadf384d508aed894', 'progress_feedback', 'TEXT', 9); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('d8e5fad3feed41fe8400bd2f35048abe', '4f91b69973d1453aadf384d508aed894', 'risk', 'TEXT', 10); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('e8cf80fdb51a4d4e9c9a9c660714efc7', '4f91b69973d1453aadf384d508aed894', 'priority', 'TEXT', 11); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('819adccd6214437fadec3936b297007b', '4f91b69973d1453aadf384d508aed894', 'finish_time', 'DATETIME', 3); -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('aac65de27f014c3895228fdb5d32573e', '4f91b69973d1453aadf384d508aed894', 'tag', 'TEXT', 12); diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.function.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.function.sql deleted file mode 100644 index 24482bacb6..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.function.sql +++ /dev/null @@ -1,147 +0,0 @@ --- 移动property_old表的数据到新的property --- 移动instance_old表的数据到新的instance -CREATE OR REPLACE FUNCTION move_old_data_to_new_table(p_task_id CHAR(32)) RETURNS void AS -$BODY$ -DECLARE -d_cur_properties CURSOR (c_task_id CHAR(32)) FOR SELECT * FROM task_property_old WHERE task_id = c_task_id; -d_record_property RECORD; - d_record_template RECORD; - d_sql_insert_into VARCHAR := '('; - d_sql_values VARCHAR := 'SELECT '; - d_index INTEGER := 0; - d_count INTEGER ; - d_TEXT_SEQUENCE INTEGER := 13; - d_DATETIME_SEQUENCE INTEGER := 4; - d_other_SEQUWNCE INTEGER := 1; - d_data_type VARCHAR; - d_sequence INTEGER; - d_template_id CHAR(32); -BEGIN -SELECT COUNT(task_id) INTO d_count FROM task_property_old WHERE task_id = p_task_id; -RAISE NOTICE 'task_id=%, has % properties.',p_task_id, d_count; -OPEN d_cur_properties(p_task_id); -WHILE d_index < d_count LOOP - FETCH NEXT FROM d_cur_properties INTO d_record_property; - d_sql_values := d_sql_values || d_record_property.data_type || '_' || d_record_property.sequence || ','; -SELECT * INTO d_record_template from task_template_property where name = d_record_property.name; -if d_record_template is not null THEN - d_data_type := d_record_template.data_type; - d_sequence := d_record_template.sequence; - d_template_id := d_record_template.id; -ELSE - d_data_type := d_record_property.data_type; - d_template_id := '00000000000000000000000000000000'; - if d_record_property.data_type = 'TEXT' THEN - d_sequence := d_TEXT_SEQUENCE; - d_TEXT_SEQUENCE := d_TEXT_SEQUENCE + 1; - ELSIF d_record_property.data_type = 'DATETIME' THEN - d_sequence := d_DATETIME_SEQUENCE; - d_DATETIME_SEQUENCE := d_DATETIME_SEQUENCE + 1; -ELSE - d_sequence := d_other_SEQUWNCE; - d_other_SEQUWNCE := d_other_SEQUWNCE + 1; -end if; -end if; - RAISE NOTICE 'EXECUTE sql move property to new table, id=%. [%/%]', d_record_property.id, d_index+1, d_count; -INSERT INTO task_property(id, task_id, name, required, description, scope, data_type, sequence, appearance, identifiable, template_id) -VALUES (d_record_property.id, d_record_property.task_id, d_record_property.name, d_record_property.required, - d_record_property.description, d_record_property.scope, d_data_type, d_sequence, - d_record_property.appearance, d_record_property.identifiable, d_template_id); -d_sql_insert_into := d_sql_insert_into || d_data_type || '_' || d_sequence || ','; - d_index := d_index+1; -end loop; -CLOSE d_cur_properties; -d_sql_insert_into := d_sql_insert_into || 'id, task_id, task_type_id, source_id)'; - d_sql_values := d_sql_values ||'id, task_id, task_type_id, source_id '; - - RAISE NOTICE 'EXECUTE sql move instance to new table : % %.', d_sql_insert_into, d_sql_values; -EXECUTE ('INSERT INTO task_instance_wide' || d_sql_insert_into || d_sql_values || 'from task_instance_wide_old where task_id = ''' || - p_task_id || ''''); -RAISE NOTICE 'EXECUTE sql move instance_delete to new table : % %.', d_sql_insert_into, d_sql_values; -EXECUTE ('INSERT INTO task_instance_deleted' || d_sql_insert_into || d_sql_values || 'from task_instance_deleted_old where task_id = ''' || - p_task_id || ''''); -end; - -$BODY$ LANGUAGE plpgsql; - - - --- 修改原有instance表和property表,并创建新表 -CREATE OR REPLACE FUNCTION back_table_and_create_new() RETURNS void as -$$ -DECLARE -alter_table_instance VARCHAR := 'ALTER TABLE task_instance_wide rename to task_instance_wide_old'; - alter_table_instance_delete VARCHAR := 'ALTER TABLE task_instance_deleted rename to task_instance_deleted_old'; - alter_table_property VARCHAR := 'ALTER TABLE task_property rename to task_property_old'; - create_table_instance VARCHAR := 'CREATE TABLE task_instance_wide (LIKE task_instance_wide_old INCLUDING INDEXES INCLUDING COMMENTS);'; - create_table_property VARCHAR := 'CREATE TABLE task_property (LIKE task_property_old INCLUDING INDEXES INCLUDING COMMENTS);'; - create_table_instance_delete VARCHAR := 'CREATE TABLE task_instance_deleted (LIKE task_instance_deleted_old INCLUDING INDEXES INCLUDING COMMENTS);'; - -BEGIN - RAISE NOTICE 'Execute alter table task_instance_wide: "%".', alter_table_instance; -EXECUTE (alter_table_instance); -RAISE NOTICE 'Execute alter table task_property: "%".', alter_table_property; -EXECUTE (alter_table_property); -RAISE NOTICE 'Execute alter table task_instance_deleted: "%".', alter_table_instance_delete; -EXECUTE (alter_table_instance_delete); -RAISE NOTICE 'Execute create table task_instance_wide: "%".', create_table_instance; -EXECUTE (create_table_instance); -RAISE NOTICE 'Execute create table task_property: "%".', create_table_property; -EXECUTE (create_table_property); -RAISE NOTICE 'Execute create table task_instance_deleted: "%".', create_table_instance_delete; -EXECUTE (create_table_instance_delete); -end; - -$$ LANGUAGE plpgsql; - --- 修改task表的template为默认模板 -CREATE OR REPLACE FUNCTION modify_task_add_template() RETURNS void as -$$ -DECLARE -d_cur_task_ids CURSOR FOR SELECT id - FROM task; -d_task_id CHAR(32); - d_task_count INTEGER; - d_task_index INTEGER := 0; - d_template_id CHAR(32); -BEGIN - PERFORM back_table_and_create_new(); -SELECT COUNT(id) into d_task_count FROM task; -SELECT id into d_template_id from task_template where name = '普通任务'; -OPEN d_cur_task_ids; -WHILE d_task_index < d_task_count LOOP - FETCH NEXT FROM d_cur_task_ids INTO d_task_id; -UPDATE task set template_id = d_template_id where CURRENT OF d_cur_task_ids; -d_task_index := d_task_index + 1; - RAISE NOTICE 'Add template to task "%". [%/%]', d_task_id, d_task_index, d_task_count; - PERFORM move_old_data_to_new_table(d_task_id); -END LOOP; -END; - -$$ LANGUAGE plpgsql; - -CREATE OR REPLACE FUNCTION rollback_template_update() RETURNS void as -$$ -DECLARE -alter_table_instance VARCHAR := 'ALTER TABLE task_instance_wide rename to task_instance_wide_error'; - alter_table_instance_delete VARCHAR := 'ALTER TABLE task_instance_deleted rename to task_instance_deleted_error'; - alter_table_property VARCHAR := 'ALTER TABLE task_property rename to task_property_error'; - alter_table_instance_r VARCHAR := 'ALTER TABLE task_instance_wide_old rename to task_instance_wide'; - alter_table_instance_delete_r VARCHAR := 'ALTER TABLE task_instance_deleted_old rename to task_instance_deleted'; - alter_table_property_r VARCHAR := 'ALTER TABLE task_property_old rename to task_property'; -BEGIN - RAISE NOTICE 'Execute rollback sql.'; -DROP TABLE IF EXISTS task_instance_wide_error; -DROP TABLE IF EXISTS task_instance_deleted_error; -DROP TABLE IF EXISTS task_property_error; -EXECUTE (alter_table_instance); -EXECUTE (alter_table_instance_delete); -EXECUTE (alter_table_property); -EXECUTE (alter_table_instance_r); -EXECUTE (alter_table_instance_delete_r); -EXECUTE (alter_table_property_r); -UPDATE task set template_id = '00000000000000000000000000000000'; -end; -$$ LANGUAGE plpgsql; - -select modify_task_add_template(); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.taskrelation.create.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.taskrelation.create.sql deleted file mode 100644 index 3dc1a7a5ce..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.postgres.taskrelation.create.sql +++ /dev/null @@ -1,13 +0,0 @@ -CREATE TABLE IF NOT EXISTS jane_relation ( - id CHAR(32) PRIMARY KEY COMMENT '主键id', - object_id1 CHAR(32) NOT NULL COMMENT 'object的id1', - object_type1 VARCHAR(16) NOT NULL COMMENT 'obje的type1', - object_id2 CHAR(32) NOT NULL COMMENT 'object的id2', - object_type2 VARCHAR(16) NOT NULL COMMENT 'object的type2', - relation_type VARCHAR(16) NOT NULL COMMENT '关系类型', - created_by VARCHAR(127) NOT NULL COMMENT '创建人', - created_at TIMESTAMP NOT NULL COMMENT '创建时间' - ) COMMENT '任务关系表'; -CREATE INDEX IF NOT EXISTS IDX_JANE_RELATION_OBJECT_ID1 ON jane_relation(object_id1); -CREATE INDEX IF NOT EXISTS IDX_JANE_RELATION_OBJECT_ID2 ON jane_relation(object_id2); -CREATE UNIQUE INDEX IF NOT EXISTS UK_IDX_JANE_RELATION_OBJECT_ID1_OBJECT_ID2 ON jane_relation(object_id1,object_id2); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.templateExtend.create.sql b/app-builder/jane/jober/sql/create/taskcenter/taskcenter.templateExtend.create.sql deleted file mode 100644 index b32e324427..0000000000 --- a/app-builder/jane/jober/sql/create/taskcenter/taskcenter.templateExtend.create.sql +++ /dev/null @@ -1,45 +0,0 @@ ---模板继承表 -CREATE TABLE IF NOT EXISTS extend_table -( - id VARCHAR(32) PRIMARY KEY COMMENT '主键id', - parent_id VARCHAR(32) NOT NULL COMMENT '父任务id' -) COMMENT '模板继承表'; - ---根据子任务查询所有父任务的id -CREATE OR REPLACE FUNCTION find_template_parents(input_id varchar) - RETURNS TABLE(template_parents_id varchar) AS $BODY$ -BEGIN -RETURN QUERY WITH RECURSIVE dump_parents(id, parent_id) AS ( - SELECT id, parent_id FROM extend_table WHERE id = input_id - UNION ALL - SELECT p.id, p.parent_id FROM dump_parents AS c, extend_table AS p WHERE c.parent_id = p.id - ) -SELECT input_id -UNION ALL -SELECT parent_id FROM dump_parents WHERE parent_id IS NOT NULL - AND parent_id != '00000000000000000000000000000000'; -RETURN; -END; - $BODY$ -LANGUAGE plpgsql VOLATILE - COST 100 - ROWS 1000; - ---根据父任务查询所有子任务的id -CREATE OR REPLACE FUNCTION find_template_children(input_id varchar) - RETURNS TABLE(children_template_id varchar) AS $BODY$ -BEGIN -RETURN QUERY WITH RECURSIVE dump_children(id) AS ( - SELECT id FROM extend_table WHERE parent_id = input_id - UNION ALL - SELECT c.id FROM dump_children AS p, extend_table AS c WHERE c.parent_id = p.id - ) -SELECT input_id -UNION ALL -SELECT id FROM dump_children; -RETURN; -END; - $BODY$ -LANGUAGE plpgsql VOLATILE - COST 100 - ROWS 1000; \ No newline at end of file diff --git a/app-builder/jane/jober/sql/jade/02_general_create.sql b/app-builder/jane/jober/sql/jade/02_general_create.sql deleted file mode 100644 index a23b9667b8..0000000000 --- a/app-builder/jane/jober/sql/jade/02_general_create.sql +++ /dev/null @@ -1,910 +0,0 @@ --- 流程相关 -CREATE TABLE IF NOT EXISTS flow_definition -( - definition_id VARCHAR(32) PRIMARY KEY, - meta_id VARCHAR(32) NOT NULL, - name VARCHAR(256) NOT NULL, - tenant VARCHAR(32) NOT NULL, - version VARCHAR(16) NOT NULL, - status VARCHAR(32) NOT NULL, - graph JSONB NOT NULL, - created_by VARCHAR(32) NOT NULL, - created_at timestamp without time zone NOT NULL -); - -comment on table flow_definition is '流程定义'; -comment on column flow_definition.definition_id is '表示流程定义的唯一标识。由32位16进制字符组成。'; -comment on column flow_definition.meta_id is '表示流程定义的元数据标识。由32位16进制字符组成。'; -comment on column flow_definition.name is '表示流程定义的元数据标识。'; -comment on column flow_definition.tenant is '表示流程定义的租户标识。'; -comment on column flow_definition.version is '表示流程定义的版本标识。'; -comment on column flow_definition.status is '表示流程定义的状态标识。'; -comment on column flow_definition.graph is '表示流程定义的元数据信息。'; -comment on column flow_definition.created_by is '表示创建人。'; -comment on column flow_definition.created_at is '表示创建时间。'; - -CREATE UNIQUE INDEX IF NOT EXISTS UK_FLOW_NAME_VERSION ON flow_definition (name, version); -CREATE UNIQUE INDEX IF NOT EXISTS UK_FLOW_META_ID_VERSION ON flow_definition (meta_id, version); - -CREATE TABLE IF NOT EXISTS flow_context -( - context_id VARCHAR(32) NOT NULL PRIMARY KEY, - trace_id VARCHAR(32) NOT NULL, - trans_id VARCHAR(32) NOT NULL, - root_id VARCHAR(32) NOT NULL, - stream_id VARCHAR(64) NOT NULL, - flow_data JSONB NOT NULL, - position_id VARCHAR(32) NOT NULL, - joined BOOLEAN, - status VARCHAR(10) NOT NULL, - parallel VARCHAR(32), - parallel_mode VARCHAR(10), - previous VARCHAR(32), - batch_id VARCHAR(32), - from_batch VARCHAR(32), - to_batch VARCHAR(32), - sent BOOLEAN DEFAULT FALSE, - create_at timestamp without time zone NOT NULL, - update_at timestamp without time zone, - archived_at timestamp without time zone -); - -comment on table flow_context is '流程实例上下文'; -comment on column flow_context.context_id is '表示流程实例上下文的唯一标识'; -comment on column flow_context.trace_id is '表示流程实例轨迹唯一标识。'; -comment on column flow_context.trans_id is '表示流程实例运行唯一标识。'; -comment on column flow_context.root_id is '表示流程实例根节点唯一标识。'; -comment on column flow_context.stream_id is '表示流程元数据标识和版本唯一标识。'; -comment on column flow_context.flow_data is '表示流程实例运行上下文数据。'; -comment on column flow_context.position_id is '表示流程实例上下文所处节点位置。'; -comment on column flow_context.joined is '表示流程实例上下文是否由平行节点合并。'; -comment on column flow_context.status is '表示流程实例上下文状态。'; -comment on column flow_context.parallel is '表示流程实例上下文处于哪个平行节点。'; -comment on column flow_context.parallel_mode is '表示流程实例上下文所处平行节点状态。'; -comment on column flow_context.previous is '表示流程实例上下文来源哪个上下文。'; -comment on column flow_context.batch_id is '表示流程实例上下文所处批次标识。'; -comment on column flow_context.from_batch is '表示流程实例上下文来源批次标识。'; -comment on column flow_context.to_batch is '表示流程实例上下文指向批次标识。'; -comment on column flow_context.sent is '表示流程实例上下文是否已被事件发送。'; -comment on column flow_context.create_at is '表示流程实例上下文创建时间。'; -comment on column flow_context.update_at is '表示流程实例上下文更新时间。'; -comment on column flow_context.archived_at is '表示流程实例上下文完成时间。'; - -CREATE INDEX IF NOT EXISTS INDEX_FLOW_STREAM_ID ON flow_context (stream_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_ID ON flow_context (trace_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRANS_ID_POSITION_ID ON flow_context (trans_id, position_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_BATCH_ID ON flow_context (batch_id, from_batch, to_batch); - -CREATE TABLE IF NOT EXISTS flow_trace -( - trace_id VARCHAR(32) NOT NULL PRIMARY KEY, - stream_id VARCHAR(64) NOT NULL, - operator VARCHAR(32) NOT NULL, - application_name VARCHAR(32) NOT NULL, - start_node VARCHAR(32) NOT NULL, - cur_nodes TEXT NOT NULL, - start_time timestamp without time zone NOT NULL, - end_time timestamp without time zone, - merged_to VARCHAR(32) -); - -comment on table flow_trace is '流程轨迹'; -comment on column flow_trace.trace_id is '表示流程轨迹的唯一标识'; -comment on column flow_trace.stream_id is '表示流程轨迹所处的流程标识'; -comment on column flow_trace.operator is '表示流程的发起人'; -comment on column flow_trace.application_name is '表示流程启动的应用'; -comment on column flow_trace.start_node is '表示流程启动的开始节点'; -comment on column flow_trace.cur_nodes is '表示流程实例当前所处节点'; -comment on column flow_trace.start_time is '表示流程实例启动时间'; -comment on column flow_trace.end_time is '表示流程实例结束时间'; -comment on column flow_trace.merged_to is '表示流程实例合并到哪个流程实例'; - -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_STREAM_ID ON flow_trace (stream_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_MERGE_ID ON flow_trace (trace_id, merged_to); - -DO $$ -BEGIN - IF NOT EXISTS ( - SELECT 1 - FROM information_schema.columns - WHERE table_name = 'flow_trace' AND column_name = 'status' - ) THEN - -- 如果不存在,则执行 ALTER TABLE 语句 -ALTER TABLE flow_trace ADD COLUMN status VARCHAR(32) NOT NULL DEFAULT 'ARCHIVED'; -END IF; -END $$; - -CREATE TABLE IF NOT EXISTS fitable_usage -( - fitable_id VARCHAR(128) NOT NULL, - definition_id VARCHAR(32) NOT NULL, - PRIMARY KEY (fitable_id, definition_id) -); - -ALTER TABLE flow_context ALTER COLUMN trace_id TYPE TEXT; -ALTER TABLE flow_trace ALTER COLUMN cur_nodes SET DEFAULT 'default_node'; -ALTER TABLE flow_trace ADD COLUMN IF NOT EXISTS context_pool TEXT; - --- 任务中心相关 -CREATE TABLE IF NOT EXISTS task_tag -( - tag_id VARCHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - tenant VARCHAR(255) NOT NULL -); - -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_NAME_TENANT ON task_tag (name, tenant); - -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('41d00a31a9b34aa39b606d80fc426c2e', '未开始', 'public') ON CONFLICT (tag_id) DO NOTHING; -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('8d038441b7514f5b99ea18992126cfa8', '进行中', 'public') ON CONFLICT (tag_id) DO NOTHING; -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('4c4ddb220bfe4fe98374aff710afb3eb', '已完成', 'public') ON CONFLICT (tag_id) DO NOTHING; -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('ad31edc774e24bfbb15e87084744e259', '有风险', 'public') ON CONFLICT (tag_id) DO NOTHING; -INSERT INTO task_tag(tag_id, name, tenant) -VALUES ('e72a94b24e704e5abcffc920394f4a19', '无风险', 'public') ON CONFLICT (tag_id) DO NOTHING; - - -CREATE TABLE IF NOT EXISTS task_source_schedule -( - id CHAR(32) PRIMARY KEY, - fitable_id CHAR(32) NOT NULL, - "interval" INTEGER NOT NULL, - filter VARCHAR(512) NOT NULL -); - -CREATE TABLE IF NOT EXISTS task_source -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - app VARCHAR(64) NOT NULL, - type VARCHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_SOURCE ON task_source (task_id, name, app); -CREATE INDEX IF NOT EXISTS IDX_TASK_SOURCE_TASK ON task_source (task_id); - -CREATE TABLE IF NOT EXISTS task_property_trigger -( - id CHAR(32) PRIMARY KEY, - task_source_id CHAR(32) NOT NULL, - task_property_id CHAR(32) NOT NULL, - fitable_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_PROPERTY_TRIGGER ON task_property_trigger (task_source_id, task_property_id, fitable_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_SOURCE ON task_property_trigger (task_source_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_PROPERTY ON task_property_trigger (task_property_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TRIGGER_FITABLE ON task_property_trigger (fitable_id); - -CREATE TABLE IF NOT EXISTS task_property -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - required BOOLEAN NOT NULL, - identifiable BOOLEAN NOT NULL, - description VARCHAR(512) NOT NULL, - scope VARCHAR(16) NOT NULL, - data_type VARCHAR(16) NOT NULL, - sequence INTEGER NOT NULL, - appearance JSON NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_PROPERTY ON task_property (task_id, name); -CREATE INDEX IF NOT EXISTS IDX_TASK_PROPERTY_TASK ON task_property (task_id); - -CREATE TABLE IF NOT EXISTS task -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(255) NOT NULL, - tenant_id CHAR(32) NOT NULL, - attributes JSON NOT NULL DEFAULT '{}', - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS idx_task_id_name ON task (id, name); - -CREATE TABLE IF NOT EXISTS task_instance_wide -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - task_type_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - text_1 TEXT, - text_2 TEXT, - text_3 TEXT, - text_4 TEXT, - text_5 TEXT, - text_6 TEXT, - text_7 TEXT, - text_8 TEXT, - text_9 TEXT, - text_10 TEXT, - text_11 TEXT, - text_12 TEXT, - text_13 TEXT, - text_14 TEXT, - text_15 TEXT, - text_16 TEXT, - text_17 TEXT, - text_18 TEXT, - text_19 TEXT, - text_20 TEXT, - text_21 TEXT, - text_22 TEXT, - text_23 TEXT, - text_24 TEXT, - text_25 TEXT, - text_26 TEXT, - text_27 TEXT, - text_28 TEXT, - text_29 TEXT, - text_30 TEXT, - text_31 TEXT, - text_32 TEXT, - text_33 TEXT, - text_34 TEXT, - text_35 TEXT, - text_36 TEXT, - text_37 TEXT, - text_38 TEXT, - text_39 TEXT, - text_40 TEXT, - text_41 TEXT, - text_42 TEXT, - text_43 TEXT, - text_44 TEXT, - text_45 TEXT, - text_46 TEXT, - text_47 TEXT, - text_48 TEXT, - text_49 TEXT, - text_50 TEXT, - integer_1 INTEGER, - integer_2 INTEGER, - integer_3 INTEGER, - integer_4 INTEGER, - integer_5 INTEGER, - integer_6 INTEGER, - integer_7 INTEGER, - integer_8 INTEGER, - integer_9 INTEGER, - integer_10 INTEGER, - integer_11 INTEGER, - integer_12 INTEGER, - integer_13 INTEGER, - integer_14 INTEGER, - integer_15 INTEGER, - integer_16 INTEGER, - integer_17 INTEGER, - integer_18 INTEGER, - integer_19 INTEGER, - integer_20 INTEGER, - datetime_1 TIMESTAMP, - datetime_2 TIMESTAMP, - datetime_3 TIMESTAMP, - datetime_4 TIMESTAMP, - datetime_5 TIMESTAMP, - datetime_6 TIMESTAMP, - datetime_7 TIMESTAMP, - datetime_8 TIMESTAMP, - datetime_9 TIMESTAMP, - datetime_10 TIMESTAMP, - datetime_11 TIMESTAMP, - datetime_12 TIMESTAMP, - datetime_13 TIMESTAMP, - datetime_14 TIMESTAMP, - datetime_15 TIMESTAMP, - datetime_16 TIMESTAMP, - datetime_17 TIMESTAMP, - datetime_18 TIMESTAMP, - datetime_19 TIMESTAMP, - datetime_20 TIMESTAMP, - boolean_1 BOOLEAN, - boolean_2 BOOLEAN, - boolean_3 BOOLEAN, - boolean_4 BOOLEAN, - boolean_5 BOOLEAN, - boolean_6 BOOLEAN, - boolean_7 BOOLEAN, - boolean_8 BOOLEAN, - boolean_9 BOOLEAN, - boolean_10 BOOLEAN, - boolean_11 BOOLEAN, - boolean_12 BOOLEAN, - boolean_13 BOOLEAN, - boolean_14 BOOLEAN, - boolean_15 BOOLEAN, - boolean_16 BOOLEAN, - boolean_17 BOOLEAN, - boolean_18 BOOLEAN, - boolean_19 BOOLEAN, - boolean_20 BOOLEAN -); - -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_TASK ON task_instance_wide (task_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_SOURCE ON task_instance_wide (source_id); - -CREATE TABLE IF NOT EXISTS task_type -( - id CHAR(32) PRIMARY KEY, - tree_id CHAR(32) NOT NULL, - parent_id CHAR(32) NOT NULL, - name VARCHAR(255) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL, - task_id CHAR(32) -); -CREATE INDEX IF NOT EXISTS IDX_TASK_TYPE_TREE ON task_type (tree_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TYPE_PARENT ON task_type (parent_id); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TYPE_NAME ON task_type (task_id, name); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TYPE_TREE_NAME ON task_type (tree_id, name); - -CREATE TABLE IF NOT EXISTS tag -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG ON tag (name); - -CREATE TABLE IF NOT EXISTS tag_usage -( - id CHAR(32) PRIMARY KEY, - tag_id CHAR(32) NOT NULL, - object_type VARCHAR(16) NOT NULL, - object_id CHAR(32) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG_USAGE ON tag_usage (tag_id, object_id, object_type); -CREATE INDEX IF NOT EXISTS IDX_TAG_OBJECT_ID ON tag_usage (object_id); - -CREATE TABLE IF NOT EXISTS task_category_trigger -( - "id" CHAR(32) PRIMARY KEY, - "task_id" CHAR(32) NOT NULL, - "category_id" CHAR(32) NOT NULL, - "fitable_id" CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS "UK_TASK_CATEGORY_TRIGGER" ON task_category_trigger ("task_id", "category_id", "fitable_id"); -CREATE INDEX IF NOT EXISTS "IDX_TASK_CATEGORY_TRIGGER_TASK" ON task_category_trigger ("task_id"); - -CREATE TABLE IF NOT EXISTS category_group -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_GROUP_NAME ON category_group (name); - -CREATE TABLE IF NOT EXISTS category -( - id CHAR(32) PRIMARY KEY, - category_group_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - description VARCHAR(512) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at TIMESTAMP NOT NULL -); -comment on table category is '类目'; -comment on column category.id is '表示类目的唯一标识。由32位16进制字符组成。'; -comment on column category.category_group_id is '表示类目组的唯一标识。'; -comment on column category.name is '表示类目的名称类型。'; -comment on column category.description is '表示类目的描述信息。'; -comment on column category.created_by is '表示创建人。'; -comment on column category.created_at is '表示创建时间。'; -comment on column category.updated_by is '表示最近的修改人。未被修改时与创建人相同。'; -comment on column category.updated_at is '表示最近的修改时间。未被修改时与创建时间相同。'; - -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_GROUP ON category (category_group_id); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_NAME ON category (name); - -CREATE TABLE IF NOT EXISTS category_matcher -( - id CHAR(32) PRIMARY KEY, - category_id CHAR(32) NOT NULL, - property_id CHAR(32) NOT NULL, - "value" TEXT NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_CATEGORY_MATCHER ON category_matcher (category_id, property_id, "value"); -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_MATCHER_CATEGORY ON category_matcher (category_id); -CREATE INDEX IF NOT EXISTS IDX_CATEGORY_MATCHER_PROPERTY ON category_matcher (property_id); - -CREATE TABLE IF NOT EXISTS task_instance_event ( - id CHAR(32) PRIMARY KEY, - source_id CHAR(32) NOT NULL, - event_type VARCHAR(16) NOT NULL, - fitable_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_INSTANCE_EVENT ON task_instance_event(source_id, event_type, fitable_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_INSTANCE_EVENT_SOURCE ON task_instance_event(source_id); - -CREATE TABLE IF NOT EXISTS tenant -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(255) NOT NULL, - description TEXT, - avatar_id CHAR(32), - created_by VARCHAR(127) NOT NULL, - updated_by VARCHAR(127), - created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TENANT ON tenant (name); - -CREATE TABLE IF NOT EXISTS tenant_member -( - id CHAR(32) PRIMARY KEY, - tenant_id CHAR(32) NOT NULL, - user_id VARCHAR(127) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at timestamp without time zone NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TENANT_ID_USER_ID ON tenant_member (tenant_id, user_id); -CREATE INDEX IF NOT EXISTS IDX_TENANT_ID_TENANT_MEMBER ON tenant_member (tenant_id); - -CREATE TABLE IF NOT EXISTS file -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(127) NOT NULL, - content BYTEA NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at timestamp without time zone NOT NULL -); - -CREATE -OR REPLACE FUNCTION generate_uuid_text() -RETURNS CHAR(32) AS $$ -BEGIN -RETURN md5(random()::text || clock_timestamp()::text); -END; -$$ -LANGUAGE plpgsql; - -CREATE -OR REPLACE FUNCTION now_utc() -RETURNS TIMESTAMP AS $$ -BEGIN -RETURN CURRENT_TIMESTAMP AT TIME ZONE 'UTC'; -END; -$$ -LANGUAGE plpgsql; - -INSERT INTO category_group(id, name, description, created_by, created_at, updated_by, updated_at) -VALUES (generate_uuid_text(), 'status', '表示系统级别的状态定义。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), 'health', '表示系统级别的健康度定义。', 'admin', now_utc(), 'admin', now_utc()) ON CONFLICT (name) DO NOTHING; - -INSERT INTO category(id, category_group_id, name, description, created_by, created_at, updated_by, - updated_at) -VALUES (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '未开始', - '表示任务尚未开始处理。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '处理中', - '表示任务正在处理中。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'status'), '已完成', - '表示任务已闭环完成。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'health'), '无风险', - '表示当前任务的进展不存在风险。', 'admin', now_utc(), 'admin', now_utc()), - (generate_uuid_text(), (SELECT id FROM category_group WHERE name = 'health'), '风险', - '表示当前任务存在风险。', 'admin', now_utc(), 'admin', now_utc()) ON CONFLICT (name) DO NOTHING; - -CREATE TABLE IF NOT EXISTS task_tree_task -( - id CHAR(32) PRIMARY KEY, - tree_id CHAR(32) NOT NULL, - task_id CHAR(32) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TREE_TASK_TREE_TASK ON task_tree_task (tree_id, task_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TREE_TASK_TREE ON task_tree_task (tree_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_TREE_TASK_TASK ON task_tree_task (task_id); - -CREATE TABLE IF NOT EXISTS task_tree_v2 -( - id char(32) PRIMARY KEY, - name varchar(64) NOT NULL, - created_by varchar(127) NOT NULL, - created_at timestamp(6) NOT NULL, - updated_by varchar(127) NOT NULL, - updated_at timestamp(6) NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TREE_NAME ON task_tree_v2 (name); - -CREATE TABLE IF NOT EXISTS task_node_source -( - id CHAR(32) PRIMARY KEY, - node_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL -); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_NODE_SOURCE ON task_node_source (node_id, source_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_NODE_SOURCE_NODE ON task_node_source (node_id); -CREATE INDEX IF NOT EXISTS IDX_TASK_NODE_SOURCE_SOURCE ON task_node_source (source_id); - -CREATE TABLE IF NOT EXISTS "index" -( - "id" char(32) COLLATE "pg_catalog"."default" NOT NULL, - "task_id" char(32) COLLATE "pg_catalog"."default" NOT NULL, - "name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL, - "created_by" varchar(127) COLLATE "pg_catalog"."default" NOT NULL, - "created_at" timestamp(6) NOT NULL, - "updated_by" varchar(127) COLLATE "pg_catalog"."default" NOT NULL, - "updated_at" timestamp(6) NOT NULL, - PRIMARY KEY ("id") -) -; - -CREATE TABLE IF NOT EXISTS task_instance_deleted -( - id CHAR(32) PRIMARY KEY, - task_id CHAR(32) NOT NULL, - task_type_id CHAR(32) NOT NULL, - source_id CHAR(32) NOT NULL, - text_1 TEXT, - text_2 TEXT, - text_3 TEXT, - text_4 TEXT, - text_5 TEXT, - text_6 TEXT, - text_7 TEXT, - text_8 TEXT, - text_9 TEXT, - text_10 TEXT, - text_11 TEXT, - text_12 TEXT, - text_13 TEXT, - text_14 TEXT, - text_15 TEXT, - text_16 TEXT, - text_17 TEXT, - text_18 TEXT, - text_19 TEXT, - text_20 TEXT, - text_21 TEXT, - text_22 TEXT, - text_23 TEXT, - text_24 TEXT, - text_25 TEXT, - text_26 TEXT, - text_27 TEXT, - text_28 TEXT, - text_29 TEXT, - text_30 TEXT, - text_31 TEXT, - text_32 TEXT, - text_33 TEXT, - text_34 TEXT, - text_35 TEXT, - text_36 TEXT, - text_37 TEXT, - text_38 TEXT, - text_39 TEXT, - text_40 TEXT, - text_41 TEXT, - text_42 TEXT, - text_43 TEXT, - text_44 TEXT, - text_45 TEXT, - text_46 TEXT, - text_47 TEXT, - text_48 TEXT, - text_49 TEXT, - text_50 TEXT, - integer_1 INTEGER, - integer_2 INTEGER, - integer_3 INTEGER, - integer_4 INTEGER, - integer_5 INTEGER, - integer_6 INTEGER, - integer_7 INTEGER, - integer_8 INTEGER, - integer_9 INTEGER, - integer_10 INTEGER, - integer_11 INTEGER, - integer_12 INTEGER, - integer_13 INTEGER, - integer_14 INTEGER, - integer_15 INTEGER, - integer_16 INTEGER, - integer_17 INTEGER, - integer_18 INTEGER, - integer_19 INTEGER, - integer_20 INTEGER, - datetime_1 TIMESTAMP, - datetime_2 TIMESTAMP, - datetime_3 TIMESTAMP, - datetime_4 TIMESTAMP, - datetime_5 TIMESTAMP, - datetime_6 TIMESTAMP, - datetime_7 TIMESTAMP, - datetime_8 TIMESTAMP, - datetime_9 TIMESTAMP, - datetime_10 TIMESTAMP, - datetime_11 TIMESTAMP, - datetime_12 TIMESTAMP, - datetime_13 TIMESTAMP, - datetime_14 TIMESTAMP, - datetime_15 TIMESTAMP, - datetime_16 TIMESTAMP, - datetime_17 TIMESTAMP, - datetime_18 TIMESTAMP, - datetime_19 TIMESTAMP, - datetime_20 TIMESTAMP, - boolean_1 BOOLEAN, - boolean_2 BOOLEAN, - boolean_3 BOOLEAN, - boolean_4 BOOLEAN, - boolean_5 BOOLEAN, - boolean_6 BOOLEAN, - boolean_7 BOOLEAN, - boolean_8 BOOLEAN, - boolean_9 BOOLEAN, - boolean_10 BOOLEAN, - boolean_11 BOOLEAN, - boolean_12 BOOLEAN, - boolean_13 BOOLEAN, - boolean_14 BOOLEAN, - boolean_15 BOOLEAN, - boolean_16 BOOLEAN, - boolean_17 BOOLEAN, - boolean_18 BOOLEAN, - boolean_19 BOOLEAN, - boolean_20 BOOLEAN - ); - -CREATE TABLE IF NOT EXISTS operation_record -( - id char(32) PRIMARY KEY, - object_type varchar(25) NOT NULL, - object_id char(32) NOT NULL, - operator varchar(127) NOT NULL, - operated_time timestamp without time zone, - message TEXT NOT NULL, - operate char(7) NOT NULL - ); - -CREATE TABLE IF NOT EXISTS flow_retry -( - entity_id VARCHAR(32) NOT NULL, - entity_type VARCHAR(32) NOT NULL, - next_retry_time timestamp without time zone NOT NULL, - last_retry_time timestamp without time zone, - retry_count INTEGER NOT NULL, - version INTEGER NOT NULL, - PRIMARY KEY (entity_id) - ); - -comment on table flow_retry is '流程节点执行异常重试记录'; -comment on column flow_retry.entity_id is '表示任务重试的上下文实体ID'; -comment on column flow_retry.entity_type is '表示任务重试的上下文实体类型'; -comment on column flow_retry.next_retry_time is '表示任务重试的下次时间'; -comment on column flow_retry.last_retry_time is '表示上次执行的任务重试时间'; -comment on column flow_retry.retry_count is '表示到目前为止的任务重试次数'; -comment on column flow_retry.version is '表示当前重试的版本号'; - -CREATE TABLE IF NOT EXISTS flow_lock -( - lock_key VARCHAR(100) NOT NULL PRIMARY KEY, - expired_at timestamp without time zone, - locked_client VARCHAR(50) - ); - -comment on table flow_lock is '流程锁'; -comment on column flow_lock.lock_key is '锁名称'; -comment on column flow_lock.expired_at is '锁过期时间'; -comment on column flow_lock.locked_client is '上锁的客户端IP'; - -ALTER TABLE task ADD COLUMN IF NOT EXISTS template_id CHAR(32) NOT NULL DEFAULT '00000000000000000000000000000000'; -ALTER TABLE task ADD COLUMN IF NOT EXISTS category VARCHAR(32) NOT NULL DEFAULT 'TASK'; -ALTER TABLE file ADD COLUMN IF NOT EXISTS type VARCHAR(32); -ALTER TABLE task_property ADD COLUMN IF NOT EXISTS template_id CHAR(32) NOT NULL DEFAULT '00000000000000000000000000000000'; -ALTER TABLE tenant ADD COLUMN IF NOT EXISTS access_level VARCHAR(32); - - -CREATE TABLE IF NOT EXISTS task_source_refresh_in_time ( - id CHAR(32) PRIMARY KEY, - metadata JSONB NOT NULL, - create_fitable_id CHAR(32) NOT NULL, - patch_fitable_id CHAR(32) NOT NULL, - delete_fitable_id CHAR(32) NOT NULL, - retrieve_fitable_id CHAR(32) NOT NULL, - list_fitable_id CHAR(32) NOT NULL - ); - -CREATE TABLE IF NOT EXISTS "category_usage" ( - "id" CHAR(32) PRIMARY KEY, - "object_type" VARCHAR(16) NOT NULL, - "object_id" CHAR(32) NOT NULL, - "category_group_id" CHAR(32) NOT NULL, - "category_id" CHAR(32) NOT NULL, - "created_by" VARCHAR(127) NOT NULL, - "created_at" TIMESTAMP NOT NULL, - "updated_by" VARCHAR(127) NOT NULL, - "updated_at" TIMESTAMP NOT NULL - ); -CREATE UNIQUE INDEX IF NOT EXISTS "UK_CATEGORY_USAGE" ON "category_usage"("object_id", "category_group_id", "object_type"); -CREATE INDEX IF NOT EXISTS "IDX_CATEGORY_USAGE_OBJECT_ID" ON "category_usage"("object_id"); - -/* 创建任务模板表 */ -CREATE TABLE IF NOT EXISTS task_template -( - id CHAR(32) PRIMARY KEY, - name VARCHAR(255) NOT NULL, - description VARCHAR(512) NOT NULL, - "tenant_id" char(32) NOT NULL DEFAULT '00000000000000000000000000000000' - ); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TEMPLATE_NAME ON task_template (name); -COMMENT on column task_template.id is '主键Id'; -COMMENT on column task_template.name is '任务模板名称'; -COMMENT on column task_template.description is '任务模板描述'; - -/* 创建任务模板属性表 */ -CREATE TABLE IF NOT EXISTS task_template_property -( - id CHAR(32) PRIMARY KEY, - task_template_id CHAR(32) NOT NULL, - name VARCHAR(64) NOT NULL, - data_type VARCHAR(16) NOT NULL, - sequence INTEGER NOT NULL - ); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TEMPLATE_PROPERTY_NAME ON task_template_property (task_template_id, name); -CREATE UNIQUE INDEX IF NOT EXISTS UK_TASK_TEMPLATE_PROPERTY_COLUMN ON task_template_property (task_template_id, data_type, sequence); - -COMMENT on column task_template_property.id is '主键Id'; -COMMENT on column task_template_property.task_template_id is '任务模板Id'; -COMMENT on column task_template_property.name is '任务模板属性名称'; -COMMENT on column task_template_property.data_type is '任务模板属性数据类型'; -COMMENT on column task_template_property.sequence is '任务模板属性在当前数据类型中的序号'; - -CREATE TABLE IF NOT EXISTS "index" ( - "id" CHAR(32) PRIMARY KEY, - "task_id" CHAR(32) NOT NULL, - "name" VARCHAR(128) NOT NULL, - "created_by" VARCHAR(127) NOT NULL, - "created_at" TIMESTAMP NOT NULL, - "updated_by" VARCHAR(127) NOT NULL, - "updated_at" TIMESTAMP NOT NULL -); - -CREATE TABLE IF NOT EXISTS "index_property" ( - "id" CHAR(32) PRIMARY KEY, - "index_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL -); -CREATE INDEX IF NOT EXISTS "idx_index_property_index" ON "index_property"("index_id"); - -CREATE TABLE IF NOT EXISTS "index_text" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" TEXT -); -CREATE INDEX IF NOT EXISTS "idx_index_text_instance" ON "index_text"("instance_id"); -CREATE INDEX IF NOT EXISTS "idx_index_text_property" ON "index_text"("property_id"); -CREATE INDEX IF NOT EXISTS "idx_index_text_value" ON "index_text"("value"); - -CREATE TABLE IF NOT EXISTS "index_integer" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" BIGINT -); -CREATE INDEX IF NOT EXISTS "idx_index_integer_instance" ON "index_integer"("instance_id"); -CREATE INDEX IF NOT EXISTS "idx_index_integer_property" ON "index_integer"("property_id"); -CREATE INDEX IF NOT EXISTS "idx_index_integer_value" ON "index_integer"("value"); - -CREATE TABLE IF NOT EXISTS "index_datetime" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "value" TIMESTAMP -); -CREATE INDEX IF NOT EXISTS "idx_index_datetime_instance" ON "index_datetime"("instance_id"); -CREATE INDEX IF NOT EXISTS "idx_index_datetime_property" ON "index_datetime"("property_id"); -CREATE INDEX IF NOT EXISTS "idx_index_datetime_value" ON "index_datetime"("value"); - -CREATE TABLE IF NOT EXISTS "list_text" ( - "id" CHAR(32) PRIMARY KEY, - "instance_id" CHAR(32) NOT NULL, - "property_id" CHAR(32) NOT NULL, - "index" BIGINT NOT NULL, - "value" TEXT -); -CREATE INDEX IF NOT EXISTS "IDX_LIST_TEXT_INSTANCE" ON "list_text"("instance_id"); -CREATE INDEX IF NOT EXISTS "IDX_LIST_TEXT_PROPERTY" ON "list_text"("property_id"); - --- 任务关联表 -CREATE TABLE IF NOT EXISTS jane_relation ( - id CHAR(32) PRIMARY KEY, - object_id1 CHAR(32) NOT NULL, - object_type1 VARCHAR(16) NOT NULL, - object_id2 CHAR(32) NOT NULL, - object_type2 VARCHAR(16) NOT NULL, - relation_type VARCHAR(16) NOT NULL, - created_by VARCHAR(127) NOT NULL, - created_at TIMESTAMP NOT NULL - ); -CREATE INDEX IF NOT EXISTS IDX_JANE_RELATION_OBJECT_ID1 ON jane_relation(object_id1); -CREATE INDEX IF NOT EXISTS IDX_JANE_RELATION_OBJECT_ID2 ON jane_relation(object_id2); -CREATE UNIQUE INDEX IF NOT EXISTS UK_IDX_JANE_RELATION_OBJECT_ID1_OBJECT_ID2 ON jane_relation(object_id1,object_id2); - ---模板继承表 -CREATE TABLE IF NOT EXISTS extend_table -( - id VARCHAR(32) PRIMARY KEY, - parent_id VARCHAR(32) NOT NULL - ); - ---根据子任务查询所有父任务的id -CREATE OR REPLACE FUNCTION find_template_parents(input_id varchar) - RETURNS TABLE(template_parents_id varchar) AS $BODY$ -BEGIN -RETURN QUERY WITH RECURSIVE dump_parents(id, parent_id) AS ( - SELECT id, parent_id FROM extend_table WHERE id = input_id - UNION ALL - SELECT p.id, p.parent_id FROM dump_parents AS c, extend_table AS p WHERE c.parent_id = p.id - ) -SELECT input_id -UNION ALL -SELECT parent_id FROM dump_parents WHERE parent_id IS NOT NULL - AND parent_id != '00000000000000000000000000000000'; -RETURN; -END; - $BODY$ -LANGUAGE plpgsql VOLATILE - COST 100 - ROWS 1000; - ---根据父任务查询所有子任务的id -CREATE OR REPLACE FUNCTION find_template_children(input_id varchar) - RETURNS TABLE(children_template_id varchar) AS $BODY$ -BEGIN -RETURN QUERY WITH RECURSIVE dump_children(id) AS ( - SELECT id FROM extend_table WHERE parent_id = input_id - UNION ALL - SELECT c.id FROM dump_children AS p, extend_table AS c WHERE c.parent_id = p.id - ) -SELECT input_id -UNION ALL -SELECT id FROM dump_children; -RETURN; -END; - $BODY$ -LANGUAGE plpgsql VOLATILE - COST 100 - ROWS 1000; - -CREATE TABLE IF NOT EXISTS flow_graph -( - id VARCHAR(32) NOT NULL, - version VARCHAR(16) NOT NULL, - tenant VARCHAR(32) NOT NULL, - status VARCHAR(32) NOT NULL, - name VARCHAR(256), - data TEXT, - created_by VARCHAR(32) NOT NULL, - created_at timestamp without time zone NOT NULL, - updated_by VARCHAR(32) NOT NULL, - updated_at timestamp without time zone NOT NULL, - previous VARCHAR(50), - is_deleted BOOLEAN DEFAULT FALSE, - PRIMARY KEY (id, version) - ); - -DROP INDEX IF EXISTS task_template_name_idx; -CREATE UNIQUE INDEX IF NOT EXISTS task_template_name_tenant_idx ON task_template ("name","tenant_id"); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.add_wide_text_column.sql b/app-builder/jane/jober/sql/update/taskcenter/taskcenter.add_wide_text_column.sql deleted file mode 100644 index dc4bb9623c..0000000000 --- a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.add_wide_text_column.sql +++ /dev/null @@ -1,18 +0,0 @@ ---创建函数增加宽表列51-100 -CREATE OR REPLACE FUNCTION "public"."wide_add_text_column"() - RETURNS "pg_catalog"."void" AS $BODY$ -DECLARE -i INT := 51; -BEGIN - WHILE i <= 100 LOOP - EXECUTE format ( 'ALTER TABLE task_instance_wide ADD COLUMN text_%s TEXT', i ); - EXECUTE format ( 'ALTER TABLE task_instance_deleted ADD COLUMN text_%s TEXT', i ); - i := i+1; -END LOOP; -END; -$BODY$ -LANGUAGE plpgsql VOLATILE - COST 100 - ---调用函数 -SELECT wide_add_text_column(); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202402171055.sql b/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202402171055.sql deleted file mode 100644 index 8af2ebaabf..0000000000 --- a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202402171055.sql +++ /dev/null @@ -1,18 +0,0 @@ -CREATE TABLE client_login -( - "id" char(32) NOT NULL, - client_id char(32) NOT NULL, - "cookie" text, - PRIMARY KEY ("id") -) -; - -CREATE INDEX "idx_client_id_cookie" ON client_login (client_id, cookie); - -CREATE UNIQUE INDEX "idx_client_id" ON client_login (client_id); - -COMMENT ON COLUMN "client_login"."id" IS '主键'; - -COMMENT ON COLUMN "client_login".client_id IS 'idea插件客户端id'; - -COMMENT ON COLUMN "client_login"."cookie" IS '登录cookie'; diff --git a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202403011554.sql b/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202403011554.sql deleted file mode 100644 index 1072958f1f..0000000000 --- a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202403011554.sql +++ /dev/null @@ -1,6 +0,0 @@ -ALTER TABLE task_template - ADD COLUMN "tenant_id" char(32) NOT NULL DEFAULT '00000000000000000000000000000000'; - -COMMENT ON COLUMN "task_template"."tenant_id" IS '租户Id'; - -UPDATE task_template set tenant_id = (SELECT id from "tenant" where name = 'public') where name = '普通任务' \ No newline at end of file diff --git a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202405091900.sql b/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202405091900.sql deleted file mode 100644 index e68f053586..0000000000 --- a/app-builder/jane/jober/sql/update/taskcenter/taskcenter.postgres.update_202405091900.sql +++ /dev/null @@ -1,3 +0,0 @@ -DROP INDEX task_template_name_idx; - -CREATE UNIQUE INDEX task_template_name_tenant_idx ON task_template ("name","tenant_id"); \ No newline at end of file diff --git a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/appbuilder_insert.sql similarity index 97% rename from app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql rename to app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/appbuilder_insert.sql index b25b39eace..9b08a16ca1 100644 --- a/app-builder/jane/jober/sql/jade/06_appbuilder_insert.sql +++ b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/appbuilder_insert.sql @@ -1,24 +1,3 @@ --- 任务模板 -INSERT INTO "public"."task_template" ("id", "name", "description", "tenant_id") VALUES ('4f91b69973d1453aadf384d508aed894', '普通任务', '最基础的默认模板', '00000000000000000000000000000000') ON CONFLICT (id) DO NOTHING; -INSERT INTO "public"."task_template" ("id", "name", "description", "tenant_id") VALUES ('00000000000000000000000000000000', 'empty', 'empty', '00000000000000000000000000000000') ON CONFLICT (id) DO NOTHING; - - -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('08f8fc32484d408aacbcff35bf8be687', '4f91b69973d1453aadf384d508aed894', 'id', 'TEXT', 1) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('abb064f84f36496bb769321b1f3443c9', '4f91b69973d1453aadf384d508aed894', 'decomposed_from', 'TEXT', 2) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('be686a0325694aadb688539f7523f88a', '4f91b69973d1453aadf384d508aed894', 'title', 'TEXT', 3) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('59e0d16c3fe541899778beb76e56b0e3', '4f91b69973d1453aadf384d508aed894', 'owner', 'TEXT', 4) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('e2af84d4a8714ce8a87be79d19a5eb88', '4f91b69973d1453aadf384d508aed894', 'created_by', 'TEXT', 5) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('4aebbf316cf443d791e0280f56f435d6', '4f91b69973d1453aadf384d508aed894', 'created_date', 'DATETIME', 1) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('387c16ae70ac49f68f670f54e4456fc8', '4f91b69973d1453aadf384d508aed894', 'modified_by', 'TEXT', 6) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('354944b0e9234429aabfbafb08059c2e', '4f91b69973d1453aadf384d508aed894', 'modified_date', 'DATETIME', 2) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('c41b4da4013e484ead6fc8b03192dee2', '4f91b69973d1453aadf384d508aed894', 'status', 'TEXT', 7) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('34a33a519dd64dc5aa4b3c98c70a5989', '4f91b69973d1453aadf384d508aed894', 'target_url', 'TEXT', 8) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('456bc8b7b9754708828c68221af977c9', '4f91b69973d1453aadf384d508aed894', 'progress_feedback', 'TEXT', 9) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('d8e5fad3feed41fe8400bd2f35048abe', '4f91b69973d1453aadf384d508aed894', 'risk', 'TEXT', 10) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('e8cf80fdb51a4d4e9c9a9c660714efc7', '4f91b69973d1453aadf384d508aed894', 'priority', 'TEXT', 11) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('819adccd6214437fadec3936b297007b', '4f91b69973d1453aadf384d508aed894', 'finish_time', 'DATETIME', 3) ON CONFLICT (id) DO NOTHING; -INSERT INTO task_template_property ("id", "task_template_id", "name", "data_type", "sequence") VALUES ('aac65de27f014c3895228fdb5d32573e', '4f91b69973d1453aadf384d508aed894', 'tag', 'TEXT', 12) ON CONFLICT (id) DO NOTHING; - INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "path") VALUES ('df87073b9bc85a48a9b01eccc9afccc4', 'i18n_appBuilder_{llm_application_template}', 'wzc', '2024-04-17 19:42:35', 'wzc', '2024-04-17 19:42:38', '45515ca5da9d04428f41086e291b4d5d', '9997f1555b41452b924d1a8b2229bde3', '31f20efc7e0848deab6a6bc10fc3021e', 'template', '1.0.0', '{"description:":"this is llm description", "icon": "http://ab", "greeting": "hello", "app_type": "i18n_appBuilder_{interview_assistant}"}', 'inactive', 'basic', 'chatbot', NULL) ON CONFLICT (id) DO NOTHING; INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "path") VALUES ('df87073b9bc85a48a9b01eccc9afccc5', 'i18n_appBuilder_{llm_application_template}', 'wzc', '2024-04-17 19:42:35', 'wzc', '2024-04-17 19:42:38', '45515ca5da9d04428f41086e291b4d5f', '9997f1555b41452b924d1a8b2229bde5', '31f20efc7e0848deab6a6bc10fc3021e', 'template', '1.0.0', '{"description:":"this is llm description", "icon": "http://ab", "greeting": "hello", "app_type": "i18n_appBuilder_{interview_assistant}"}', 'inactive', 'workflow', 'chatbot', NULL) ON CONFLICT (id) DO NOTHING; INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "path") VALUES ('df87073b9bc85a48a9b01eccc9afccc3', 'i18n_appBuilder_{waterflow_template}', 'wzc', '2024-04-17 19:42:35', 'wzc', '2024-04-17 19:42:38', '45515ca5da9d04428f41086e291b4d5e', '9997f1555b41452b924d1a8b2229bde4', '31f20efc7e0848deab6a6bc10fc3021e', 'template', '1.0.0', '{"description:":"this is tool description"}', 'inactive', 'workflow', 'chatbot', NULL) ON CONFLICT (id) DO NOTHING; @@ -115,11 +94,6 @@ VALUES ('b2ecde0b919841f5867d2e89bb46095c', 'LLM模板', 'modelengine.jade', '20 'modelengine.jade', '2024-05-24 18:40:48.545', '{"id":"b2ecde0b919841f5867d2e89bb46095c","type":"jadeFlowGraph","pages":[{"x":297.46031746031747,"y":121.01190476190482,"id":"elsa-page:tvp1s6","bold":false,"mode":"configuration","text":"newFlowPage","type":"jadeFlowPage","dirty":false,"index":0,"width":1600,"hAlign":"left","height":800,"isPage":true,"italic":false,"scaleX":0.8,"scaleY":0.8,"shapes":[{"x":189.1071428571429,"y":296.5,"id":"jade2zanyx","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":-100,"textX":0,"textY":0,"width":86.642857142857,"hAlign":"center","height":96.85714285714278,"italic":false,"margin":20,"toShape":"jade0pg2ag","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade6qm5eg","lineWidth":2,"namespace":"flowable","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"endArrowSize":4,"arrowEndPoint":{"x":96,"y":80,"direction":{"ax":"x","key":"W","color":"whitesmoke","value":"W","cursor":"ew-resize","vector":-1}},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0,"direction":{"ax":"x","key":"E","color":"whitesmoke","value":"E","cursor":"ew-resize","vector":1}},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":635.7499999999999,"y":393.3571428571428,"id":"jade5c5urs","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":-99,"textX":0,"textY":0,"width":83.39285714285722,"hAlign":"center","height":-0.5714285714285552,"italic":false,"margin":20,"toShape":"jadewdnjbq","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0pg2ag","lineWidth":2,"namespace":"flowable","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"endArrowSize":4,"arrowEndPoint":{"x":96,"y":80,"direction":{"ax":"x","key":"W","color":"whitesmoke","value":"W","cursor":"ew-resize","vector":-1}},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0,"direction":{"ax":"x","key":"E","color":"whitesmoke","value":"E","cursor":"ew-resize","vector":1}},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1079.142857142857,"y":392.7857142857142,"id":"jade1p0cdu","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":-98,"textX":0,"textY":0,"width":90.32142857142776,"hAlign":"center","height":20.642857142857054,"italic":false,"margin":20,"toShape":"jadesoux5i","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadewdnjbq","lineWidth":2,"namespace":"flowable","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"endArrowSize":4,"arrowEndPoint":{"x":96,"y":80,"direction":{"ax":"x","key":"W","color":"whitesmoke","value":"W","cursor":"ew-resize","vector":-1}},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0,"direction":{"ax":"x","key":"E","color":"whitesmoke","value":"E","cursor":"ew-resize","vector":1}},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":-170.8928571428571,"y":32.5,"id":"jade6qm5eg","pad":6,"bold":false,"text":"开始","type":"startNodeStart","dirty":true,"index":103,"width":360,"height":528,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","sourcePlatform":"official","flowMeta":{"inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","from":"Expand","name":"input","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","from":"Input","name":"Question","type":"String","value":"","description":"i18n_appBuilder_{flow_graph_question_description}","disableModifiable":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","from":"Expand","name":"memory","type":"Object","value":[{"id":"a7675623-7fc7-468c-8910-e73c70e5e468","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","from":"Input","name":"type","type":"String","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","from":"Input","name":"value","type":"Integer","value":"3"}]}],"triggerMode":"auto"},"hideText":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":false,"namespace":"flowable","autoHeight":true,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"completedTask":0,"componentName":"startComponent","focusBackColor":"white","enableAnimation":false,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":275.7499999999999,"y":192.3571428571428,"id":"jade0pg2ag","pad":6,"bold":false,"text":"普通检索","type":"retrievalNodeState","dirty":true,"index":104,"width":360,"height":402,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","sourcePlatform":"official","flowMeta":{"jober":{"name":"","type":"general_jober","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"query_0ab55575-f21d-4b19-9676-57fcb4b0b783","from":"Reference","name":"query","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"},{"id":"knowledge_01c41edd-a22b-4289-b1cf-8db835833261","from":"Expand","name":"knowledge","type":"Array","value":[]},{"id":"maximum_2da115cd-c1ce-485f-ba98-b4c995f3d6ff","from":"Input","name":"maximum","type":"Integer","value":3}],"outputParams":[{"id":"output_cd5cbe89-0d9f-4cf1-9e09-afb325576b84","from":"Expand","name":"output","type":"Object","value":[{"id":"5c9c6535-c127-445a-862a-966cf1083929","from":"Input","name":"retrievalOutput","type":"String","value":"String"}]}]}}},"triggerMode":"auto","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"hideText":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"flowable","autoHeight":true,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"completedTask":0,"componentName":"retrievalComponent","focusBackColor":"white","enableAnimation":false,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":719.1428571428571,"y":-30.71403761434209,"id":"jadewdnjbq","pad":6,"bold":false,"text":"大模型","type":"llmNodeState","dirty":true,"index":105,"width":360,"height":892,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","sourcePlatform":"official","flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"31ba235d-1b26-4780-a7a7-32eca9500919","name":"accessInfo","type":"Object","from":"Expand","value":[{"id":"83653b54-dd04-4da9-957d-adb7c2728632","name":"serviceName","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"dd588a17-a69c-40c0-859a-d9930202a148","name":"tag","type":"String","from":"Input","value":"INTERNAL"}]},{"id":"6c414e75-971e-403a-b2b1-c6850f128cc4","from":"Input","name":"model","type":"String","value":"Qwen-72B"},{"id":"db5fdafa-4cbf-44ba-9cca-8a98f1f771f4","from":"Input","name":"temperature","type":"Number","value":0.0},{"id":"88f74d78-4711-4f81-a2e7-74d0034c5e88","from":"Expand","name":"prompt","type":"Object","value":[{"id":"35a710cf-1b79-4523-b16f-b50878d677fe","from":"Input","name":"template","type":"String","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"38fb27a1-71f4-4fcc-87d5-9d8a880bc04d","from":"Expand","name":"variables","type":"Object","value":[{"id":"aeba7823-8d14-4750-9723-55265ae71c4e","from":"Reference","name":"knowledge","type":"String","value":["output","retrievalOutput"],"referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput","referenceNode":"jade0pg2ag"},{"id":"eee66922-4304-4209-89fc-b13ffa101630","from":"Reference","name":"query","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"}]}]},{"id":"a6865419-867c-4bfb-855c-f5c1876c965a","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"308e2023-a8e9-486e-9784-8680addbb786","from":"Expand","name":"workflows","type":"Array","value":[{"id":"ae0bd892-91fc-45ef-83ca-819294384386","from":"input","type":"String","value":"d613c69e-ad85-4edb-a126-8ccd6341cd64"}]},{"id":"68f92923-d5da-42ce-8478-d7ac7d90664e","from":"Input","name":"systemPrompt","type":"String","value":""}],"outputParams":[{"id":"95d84d67-3198-415e-a63c-bc9a2da8d821","from":"Expand","name":"output","type":"Object","value":[{"id":"272c927a-9e25-48b6-a921-6a8ab20267a4","from":"Input","name":"llmOutput","type":"String","value":"","description":""}]}]}}},"triggerMode":"auto","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"hideText":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"flowable","autoHeight":true,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","enableAnimation":false,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":1169.4642857142849,"y":306.4285714285713,"id":"jadesoux5i","pad":6,"bold":false,"text":"结束","type":"endNodeEnd","dirty":false,"index":106,"width":360,"height":214,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","sourcePlatform":"official","flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","from":"Reference","name":"finalOutput","type":"String","value":["output","llmOutput"],"referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","referenceNode":"jadewdnjbq"}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"flowable","autoHeight":true,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","enableAnimation":false,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","mouseInBorderColor":"rgba(28,31,35,.08)"}],"vAlign":"top","itemPad":[0,0,0,0],"division":-1,"dockMode":"none","fontFace":"arial","fontSize":18,"hideText":true,"moveable":true,"shapesAs":{},"backColor":"#fbfbfc","container":"elsa-page:tvp1s6","dockAlign":"top","fontColor":"#ECD0A7","fontStyle":"normal","itemSpace":5,"namespace":"jadeFlow","fontWeight":"bold","itemScroll":{"x":0,"y":0},"borderColor":"white","focusBackColor":"#fbfbfc"}],"title":"b2ecde0b919841f5867d2e89bb46095c","source":"elsa","tenant":"default","setting":{"pad":10,"tag":{},"code":"","pDock":"none","hAlign":"center","margin":25,"shadow":"","shared":false,"vAlign":"top","itemPad":[5,5,5,5],"visible":true,"autoText":false,"dockMode":"none","dragable":true,"editable":true,"fontFace":"arial","fontSize":12,"infoType":{"name":"none","next":"INFORMATION"},"moveable":true,"priority":0,"allowLink":true,"autoWidth":false,"backAlpha":0.15,"backColor":"whitesmoke","dashWidth":0,"deletable":true,"fontColor":"steelblue","fontStyle":"normal","headColor":"steelblue","lineWidth":2,"underline":false,"autoHeight":false,"emphasized":false,"fontWeight":"lighter","itemScroll":{"x":0,"y":0},"lineHeight":1.5,"resizeable":true,"rotateAble":true,"scrollLock":{"x":false,"y":false},"selectable":true,"shadowData":"2px 2px 4px","borderColor":"#047bfc","borderWidth":1,"bulletSpeed":1,"focusMargin":0,"focusShadow":"","globalAlpha":1,"outstanding":false,"bulletedList":false,"cornerRadius":4,"enableSocial":true,"mouseInColor":"orange","numberedList":false,"rotateDegree":0,"captionhAlign":"center","strikethrough":false,"focusBackColor":"whitesmoke","focusFontColor":"darkorange","progressStatus":{"name":"NONE","next":"UNKNOWN","color":"gray"},"showedProgress":false,"captionfontFace":"arial black","captionfontSize":14,"enableAnimation":false,"progressPercent":0.65,"captionfontColor":"whitesmoke","captionfontStyle":"normal","focusBorderColor":"#047bfc","focusBorderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","mouseInBackColor":"whitesmoke","mouseInFontColor":"orange","captionfontWeight":"lighter","captionlineHeight":1,"mouseInBorderColor":"#047bfc"},"flowMeta":{"enableOutputScope":true,"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler","modelengine.fit.jober.fitable.FlowInfoException"],"callback":{"fitables":["modelengine.fit.jober.fitable.FlowInfoCallback"],"name":"通知回调","type":"general_callback"}},"enableText":false}') ON CONFLICT (id) DO NOTHING; --- 租户信息(不确定是否需要) -INSERT INTO "public"."tenant" ("id", "name", "description", "avatar_id", "created_by", "updated_by", "created_at", "updated_at", "access_level") VALUES ('31f20efc7e0848deab6a6bc10fc3021e', 'appbuilder默认租户', '', ' ', '180875152679256', '180875152679256', '2023-12-29 06:46:55.681', '2023-12-29 06:49:49.632', 'PUBLIC') ON CONFLICT (id) DO NOTHING; -INSERT INTO "public"."tenant" ("id", "name", "description", "avatar_id", "created_by", "updated_by", "created_at", "updated_at", "access_level") VALUES ('727d7157b3d24209aefd59eb7d1c49ff', 'appbuilder默认租户1', '', ' ', '180875152679256', '180875152679256', '2023-12-29 06:46:55.681', '2023-12-29 06:49:49.632', 'PUBLIC') ON CONFLICT (id) DO NOTHING; - - INSERT INTO "flow_graph" ("id", "version", "tenant", "status", "name", "data", "created_by", "created_at", "updated_by", "updated_at", "previous", "is_deleted") VALUES ('beefffd1168b4785a71f149a2a530d2f', '1.0.0', '31f20efc7e0848deab6a6bc10fc3021e', 'active', diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/tr_t_interview.sql b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/tr_t_interview.sql new file mode 100644 index 0000000000..b6c34f2ac8 --- /dev/null +++ b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/tr_t_interview.sql @@ -0,0 +1,70 @@ +INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type") VALUES ('fd8166b5005e4d66a77d318f3b1dd5e5', '面试助手-v3', 'Jade', '2025-04-28 08:36:13.767496', 'Jade', '2025-04-28 08:37:15.197182', '68da40b4e47e4743a59c2beac9002dc7', '24f72de428124eb19fd12db36ebcfd34', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "name": "面试助手-v3", "greeting": "", "store_id": "e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf", "is_update": false, "description": "", "publishedUpdateLog": "", "publishedDescription": ""}', 'active', 'workflow', 'chatbot', 0, 0, '3v8ZU1cMRV0oRcqu', '4db152b24f94473ab683b1acbfe3c865') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config" ("id", "form_id", "app_id", "tenant_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('68da40b4e47e4743a59c2beac9002dc7', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'fd8166b5005e4d66a77d318f3b1dd5e5', '31f20efc7e0848deab6a6bc10fc3021e', 'Jade', '2025-04-28 08:36:13.767496', 'Jade', '2025-04-28 08:37:15.197182', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('ad49ec27f32542a8b3fda35f236c8d8f', 'jadewdnjbq', '64a7ca8b22414bf28abb49a75e0f1f1c', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('adc7049507694fe3aa4c9ce790d999a6', 'jadewdnjbq', '47619270aade4e828931abeccd2ee812', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('a31810d0902d4ea0bb6bb44c86a7a7a7', 'jade6qm5eg', '758521d79cf744398245162ef476708b', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('356f002b79454dc9bc20e77dfff3bb6d', 'jade0pg2ag', 'fde8766a85d44686810fe39d0be3e1b4', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('ce6c7a83b4b446e1ab36401dc6f40ceb', 'jadewdnjbq', '14d07bac14ee4621bbc49906cb9fc51a', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('dbc3c401545b4555b0387746e41744f6', 'jadewdnjbq', '705c9988eaf54f9aa9abb932c14a4232', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('47a7234ce9bb4a6b93080835045f4ef5', 'jadewdnjbq', '082cfb50221749e2b968b3e291e97223', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('88489401cddf4632ab859d7d4f6f2749', 'jadewdnjbq', 'ddf6e55b8bf44eb1a10001838906b06c', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('91247a8130cf401ab81133853cc678a5', NULL, '1aa4a8c3178c473c8fdabd37af5f0002', '68da40b4e47e4743a59c2beac9002dc7', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_flow_graph" ("id", "name", "create_by", "create_at", "update_by", "update_at", "appearance", "is_deleted") VALUES ('24f72de428124eb19fd12db36ebcfd34', 'LLM模板', 'Jade', '2025-04-28 08:36:13.767496', 'Jade', '2025-04-28 08:37:15.197182', '{"id": "24f72de428124eb19fd12db36ebcfd34", "type": "jadeFlowGraph", "pages": [{"x": -3265.2857142857183, "y": 2282.8690476190486, "id": "elsa-page:tvp1s6", "bold": false, "mode": "configuration", "text": "newFlowPage", "type": "jadeFlowPage", "dirty": true, "index": 0, "width": 1600, "hAlign": "left", "height": 800, "isPage": true, "italic": false, "scaleX": 0.40000000000000013, "scaleY": 0.40000000000000013, "shapes": [{"x": -170.8928571428571, "y": 32.5, "id": "jade6qm5eg", "pad": 6, "bold": false, "text": "开始", "type": "startNodeStart", "dirty": false, "index": 0, "width": 360, "height": 225, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": false, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "startComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "mouseInBorderColor": "rgba(28,31,35,.08)"}, {"x": 2726.964285714285, "y": 97.26190476190459, "id": "jadesoux5i", "pad": 6, "bold": false, "text": "结束", "type": "endNodeEnd", "dirty": false, "index": 1, "width": 360, "height": 181, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output", "errorMessage"], "editable": true, "isRequired": true, "description": "", "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c4469c16-88a7-4575-b339-9a06e3305f3b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 886.0342890059239, "y": -29.654761904761983, "id": "jadelk78r1", "pad": 6, "bold": false, "text": "AI简历解析插件", "type": "toolInvokeNodeState", "dirty": false, "index": 2, "width": 360, "height": 185, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "fileUrl"}, {"name": "instanceId"}], "return": {"type": "object"}, "uniqueName": "8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "fileUrl_edfec05d-9812-429f-ae55-24df5d2e1216", "from": "Reference", "name": "fileUrl", "type": "String", "value": ["output", "fileUrl"], "isRequired": true, "description": "简历文件URL", "referenceId": "45fafbfd-5966-47ba-91af-baebe09bdab1", "referenceKey": "fileUrl", "referenceNode": "jadeemu770"}, {"id": "instanceId_24e98795-b3aa-4a0f-b78f-d4b059a59768", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "description": "实例ID", "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_5315b59e-1d27-4278-a06e-f89c7627782a", "name": "output", "type": "Object", "value": [{"id": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "name": "isFileHandled", "type": "Boolean", "value": "Boolean"}, {"id": "9e3844fd-864d-4504-8f2b-dba7e919135b", "name": "cvAnalyzerPrompt", "type": "String", "value": "String"}, {"id": "50617d76-27e1-49aa-a653-1947168d8937", "name": "errorMessage", "type": "String", "value": "String"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 337.57000329163884, "y": -111.01190476190482, "id": "jadeemu770", "pad": 6, "bold": false, "text": "代码", "type": "codeNodeState", "dirty": false, "index": 3, "width": 368, "height": 251, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "98a0c373-6b03-4fd0-bc1d-101c9f1b1fd2", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "a15b25db-133c-41b4-a329-4b9bd257ad3e", "from": "Reference", "name": "fileUrls", "type": "Array", "value": ["fileUrls"], "referenceId": "fileUrls", "referenceKey": "fileUrls", "referenceNode": "_systemEnv"}]}, {"id": "6a95280d-156a-45b2-b235-9ca2b9015d2f", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n ret: Output = {\n \"fileUrl\": args[''fileUrls''][0] if args[''fileUrls''] else \"\"\n }\n return ret", "language": "python"}, {"id": "b770fd0c-d5ae-4f2a-8129-52839becb775", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "1e2ee2b3-0106-44ac-89db-1684220c5ad4", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "object", "properties": {"fileUrl": {"type": "string", "description": ""}}, "description": ""}}}}], "outputParams": [{"id": "ebdfcbcb-4dbd-47dc-8bd6-a5752edb2487", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "45fafbfd-5966-47ba-91af-baebe09bdab1", "from": "Input", "name": "fileUrl", "type": "String", "value": "", "description": ""}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "codeComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 189.1071428571429, "y": 145, "id": "jadexi4d2i", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 4, "textX": 0, "textY": 0, "width": 148.46286043449595, "hAlign": "center", "height": -130.51190476190482, "italic": false, "margin": 20, "toShape": "jadeemu770", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade6qm5eg", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 705.5700032916388, "y": 14.488095238095184, "id": "jade3ccnk1", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 5, "textX": 0, "textY": 0, "width": 180.4642857142851, "hAlign": "center", "height": 48.35714285714283, "italic": false, "margin": 20, "toShape": "jadelk78r1", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeemu770", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1502.2128604344966, "y": -113.58333333333326, "id": "jade4h5wks", "pad": 6, "bold": false, "text": "条件", "type": "conditionNodeCondition", "dirty": false, "index": 6, "width": 600, "height": 283, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "70695434-91fb-4493-87a4-e681e99d985e", "type": "if", "runnable": true, "conditions": [{"id": "a5aef4c1-af83-475e-9805-2dbff919de10", "value": [{"id": "d9df8a7c-4cc6-4147-b73e-a9db324b1bde", "from": "Reference", "name": "left", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "4a915ffb-6082-4fca-a622-71d875b34412", "from": "Input", "name": "right", "type": "Boolean", "value": true, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}, {"id": "8e60cd88-0799-4f12-9fcb-e20ccbc7ecd0", "value": [{"id": "f2552657-58f6-4def-a3c7-cab73575e5b0", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "9c8f2868-6722-4ed6-b388-3215bfbcacca", "from": "Input", "name": "right", "type": "String", "value": "请确认 上传的文件是一份简历", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "contains"}], "conditionRelation": "or"}, {"id": "32f55d87-ebf2-464f-9f78-ecd62e36f2dc", "type": "if", "runnable": true, "conditions": [{"id": "5e19d158-03a3-4315-b45c-ff2a0b384db0", "value": [{"id": "847d2cf6-5201-4628-a183-ca9ba62745f2", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "9bab7914-26b4-487e-b609-d9776b13e608", "from": "Reference", "name": "right", "type": "", "value": [], "referenceNode": ""}], "condition": "is not empty string"}], "conditionRelation": "and"}, {"id": "8650733f-4401-4155-8633-048a5726e6fe", "type": "else", "runnable": true, "conditions": [{"id": "4e7f3b9e-f609-4178-bd27-459d0683cac9", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2593.820003291639, "y": -446.0119047619048, "id": "jade2es9ti", "pad": 6, "bold": false, "text": "条件_1", "type": "conditionNodeCondition", "dirty": false, "index": 7, "width": 600, "height": 227, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "e2cefcda-b6e2-4713-ac74-f2266a10bb19", "type": "if", "runnable": true, "conditions": [{"id": "2f466536-4151-4013-b008-bf5af8a37edb", "value": [{"id": "c8601563-bbeb-497b-91f4-a1f81e08ad32", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "3543673f-ee62-4e18-82ef-c9e0ecc2e9a2", "from": "Reference", "name": "right", "type": "", "value": "", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "is empty string"}], "conditionRelation": "and"}, {"id": "99f4f4da-c3fd-4296-9b83-b0ff5a3ef595", "type": "else", "runnable": true, "conditions": [{"id": "d9733cad-0646-41f9-be5b-f39c9ac4d220", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2095.5463717870352, "y": 7.0834256807963385, "id": "jade9gqfjk", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 8, "textX": 0, "textY": 0, "width": 498.2736315046036, "hAlign": "center", "height": -339.59533044270114, "italic": false, "margin": 20, "toShape": "jade2es9ti", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade4h5wks", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|70695434-91fb-4493-87a4-e681e99d985e"}, {"x": 3641.320003291639, "y": -385.0119047619048, "id": "jade758stt", "pad": 6, "bold": false, "text": "智能表单", "type": "manualCheckNodeState", "dirty": true, "index": 9, "width": 360, "height": 352, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/e85bd769-0212-4305-b56b-01e77faa14ff/form.png", "taskId": "115b557320ac41e1b449b8107aaa1781", "formName": "面试助手3", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "isCvFile_337878e3-7720-4ece-bf92-40d4a402625c", "from": "Input", "name": "isCvFile", "type": "String", "value": "null", "isRequired": true, "referenceId": null, "referenceKey": null, "referenceNode": null}, {"id": "instanceId_59f311b0-98b3-4292-8887-aba60c48e3e4", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_e5ae0061-8304-4327-958a-a6cd0f80100d", "name": "output", "type": "Object", "value": [{"id": "ab8bf709-7374-4f33-90d6-72a64254f07e", "name": "isCvFile", "type": "String", "value": "String"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "manualCheckComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3187.1533525195437, "y": -278.34520249139706, "id": "jadepke1tr", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 10, "textX": 0, "textY": 0, "width": 454.1666507720952, "hAlign": "center", "height": 69.33329772949224, "italic": false, "margin": 20, "toShape": "jade758stt", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade2es9ti", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 2777.570003291639, "y": 571.4880952380952, "id": "jadey32p7b", "pad": 6, "bold": false, "text": "AI提示词拼接工具", "type": "toolInvokeNodeState", "dirty": false, "index": 11, "width": 360, "height": 185, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "appId"}, {"name": "instanceId"}, {"name": "input"}], "return": {"type": "string"}, "uniqueName": "bdc009dc-969e-4839-b5d7-e9599009d50d"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "appId_0293cca7-c1ea-45b0-8ca8-b37a55f99303", "from": "Reference", "name": "appId", "type": "String", "value": ["appId"], "isRequired": true, "description": "应用ID", "referenceId": "appId", "referenceKey": "appId", "referenceNode": "_systemEnv"}, {"id": "instanceId_93f70f4f-e2b6-4518-a53e-af0ccdc99d2c", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "description": "实例ID", "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}, {"id": "input_4ac2267a-fa7a-462c-ad8d-7b2936e0fac3", "from": "Reference", "name": "input", "type": "String", "value": ["Question"], "isRequired": true, "description": "用户输入", "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}], "outputParams": [{"id": "output_65d89d72-205f-4bf6-bb6e-a11bebaa8497", "name": "output", "type": "String", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3412.570003291639, "y": -1506.0119047619048, "id": "jade39q3lc", "pad": 6, "bold": false, "text": "大模型", "type": "llmNodeState", "dirty": false, "index": 12, "width": 360, "height": 343, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "009c2461-9c7e-4f85-bf43-ad887acd6a8a", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f78bde02-c766-4be5-bab6-70d2f6e6de6c", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "af11f474-c1ae-4e07-ad7e-92f378a9d19d", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "5fe88d69-b7bb-4ff3-abb1-a2fbeb4ec240", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "b23e18ed-c36f-4692-9917-4971f9c1659b", "from": "Input", "name": "temperature", "type": "Number", "value": 0.7}, {"id": "cd4194cd-db96-4164-8a45-9ca4ea30cd81", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "184c22f2-c6f5-4bb6-81ca-d214eb266b35", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"}, {"id": "30eacd51-29f6-4a90-8e17-4e4ffe1ddcc6", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "155a2932-e37e-4c18-b14b-6d44b2a43ae4", "from": "Reference", "name": "isFileHandled", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "950c301c-81ba-41a6-bda5-aa37360e92a5", "from": "Reference", "name": "cvAnalyzerprompt", "type": "String", "value": ["output", "cvAnalyzerPrompt"], "referenceId": "9e3844fd-864d-4504-8f2b-dba7e919135b", "referenceKey": "cvAnalyzerPrompt", "referenceNode": "jadelk78r1"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "a7b687f8-e993-4e5a-9a10-bb6df8df25d9", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "6ec07829-b51c-4397-8670-59659e43036f", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "3733d6f2-0ea2-4dab-9f5b-423352d4af0b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "091115ca-4fd9-4265-8280-5d70cfcdcfca", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "b0a3bdd3-7a3c-4657-8288-4cf8a98d33a0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "51b4e7bb-19f5-4477-a2df-b974f8c97ba7", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3187.1533525195437, "y": -325.3452101207916, "id": "jadeqraasb", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 13, "textX": 0, "textY": 0, "width": 225.41665077209518, "hAlign": "center", "height": -1009.1666946411133, "italic": false, "margin": 20, "toShape": "jade39q3lc", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade2es9ti", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|e2cefcda-b6e2-4713-ac74-f2266a10bb19"}, {"x": 4292.748574720212, "y": -233.29761904761904, "id": "jadegqixt5", "pad": 6, "bold": false, "text": "条件_2", "type": "conditionNodeCondition", "dirty": false, "index": 14, "width": 600, "height": 227, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "bb4f8032-19cc-445b-a2ff-5cda77ae59e3", "type": "if", "runnable": true, "conditions": [{"id": "8085598f-b128-4749-940c-b4bda2619cba", "value": [{"id": "9a656755-91fe-47b6-a54c-4b2be274978a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "37c01598-663a-476c-9a99-202b73131d4b", "from": "Input", "name": "right", "type": "String", "value": "", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "is not empty string"}], "conditionRelation": "and"}, {"id": "319689dd-4250-4f0d-9c1b-d071013ac712", "type": "else", "runnable": true, "conditions": [{"id": "737ba1f5-dbb5-401c-9bf5-e18597f02123", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 5110.605717577355, "y": -790.4761904761904, "id": "jadem1n9u5", "pad": 6, "bold": false, "text": "大模型_1", "type": "llmNodeState", "dirty": false, "index": 15, "width": 360, "height": 343, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "b8519f34-6d5f-42cd-b949-438f44d3210e", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "8c18f95c-1585-4e11-be07-de595ad13a92", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "8fd16d6c-b043-46dd-8b55-f0b8dee2615c", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "bd6f983c-f8e8-4538-ac66-60024d09c0a1", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "0263e85d-6125-4e27-ab7a-d2bc351cf414", "from": "Input", "name": "temperature", "type": "Number", "value": 0.6}, {"id": "1cf0a04f-2ca7-41fd-bec4-f9a1dd016c7f", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "a1335ac5-b02b-47c5-91d4-ecb945833ef3", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"}, {"id": "d6309a8b-d15b-4380-b6c6-ef000a9e5201", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "25e56c39-1668-4428-8174-116b1a906bbd", "from": "Reference", "name": "isFileHandled", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "498b5c92-92ef-4ebf-9346-f2847fb88a3a", "from": "Reference", "name": "cvAnalyzerprompt", "type": "String", "value": ["output", "cvAnalyzerPrompt"], "referenceId": "9e3844fd-864d-4504-8f2b-dba7e919135b", "referenceKey": "cvAnalyzerPrompt", "referenceNode": "jadelk78r1"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "e1ad1e33-6a7c-451d-ba5a-158595cb2af8", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "3c3f111b-85ec-42c0-af8e-f3352518a29b", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "1cd6884e-c3e3-483b-baeb-d592c4f58ebf", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "7d01bbd3-df9c-4884-8d02-54b195096857", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "9e2fb06e-0276-48c8-8606-c36a31cf93b0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "3eab6484-fa97-4e06-a0cc-263d3ed5274a", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "d438bc29-a627-44c2-bd57-4bf64eceba5a", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 4886.081819043942, "y": -112.63091010139105, "id": "jadee79arc", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 16, "textX": 0, "textY": 0, "width": 224.52389853341265, "hAlign": "center", "height": -506.3452803747993, "italic": false, "margin": 20, "toShape": "jadem1n9u5", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadegqixt5", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|bb4f8032-19cc-445b-a2ff-5cda77ae59e3"}, {"x": 3451.3200032916393, "y": 321.4880952380952, "id": "jadedzi58q", "pad": 6, "bold": false, "text": "大模型_2", "type": "llmNodeState", "dirty": false, "index": 17, "width": 360, "height": 343, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "1d11a986-7dc9-4ba3-84d8-3f15810ae587", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "4ebabb28-8981-46d6-a458-953082c01f9a", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "5af05d34-4b6e-435f-872c-96fa990a1476", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "ea9b2985-96e6-480c-b065-c7cce122b57a", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "32801848-b75f-4ac0-b050-f3dfbd57e3ad", "from": "Input", "name": "temperature", "type": "Number", "value": 0.7}, {"id": "1891af57-83ff-458d-ac70-d35a7af89705", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "e9e29b94-85e2-47c8-84d2-055a77660b88", "from": "Input", "name": "template", "type": "String", "value": "{{query}}"}, {"id": "29e702cd-b721-442a-9893-81298cfa2953", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "c34fda11-8f17-4c85-96aa-35c5bb311e2a", "from": "Reference", "name": "query", "type": "String", "value": ["output"], "referenceId": "output_65d89d72-205f-4bf6-bb6e-a11bebaa8497", "referenceKey": "output", "referenceNode": "jadey32p7b"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "2b06515f-c9d5-41bd-bfbe-e1b1382d6ec1", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "0b5e2451-ed5f-46b2-8600-8893963296e4", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "acb67126-1a1b-4430-946e-30e768712333", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "f7d670ab-1cad-4028-a9c8-c84a5a170ac1", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "29ed2025-1eaa-462a-a37a-e05677eef8c4", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "451cf45e-6250-4f08-9d73-51d94433d749", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "dab1caf6-f171-4f6d-beb7-97c913fa1637", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3137.570003291639, "y": 663.9880952380952, "id": "jadeqdcs4x", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 18, "textX": 0, "textY": 0, "width": 313.75000000000045, "hAlign": "center", "height": -171, "italic": false, "margin": 20, "toShape": "jadedzi58q", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadey32p7b", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4101.320003291639, "y": 470.2380952380952, "id": "jadefw1zfk", "pad": 6, "bold": false, "text": "结束_2", "type": "endNodeEnd", "dirty": false, "index": 19, "width": 360, "height": 181, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "b6d32b12-26db-4a72-974b-7e197326e653", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "5c0e817c-8851-4350-9c5b-0ac5792a4e71", "from": "Reference", "name": "output", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "451cf45e-6250-4f08-9d73-51d94433d749", "referenceKey": "llmOutput", "referenceNode": "jadedzi58q"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "5e7a8388-8193-4f2d-a44a-094ab6fc576b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 3811.3200032916393, "y": 492.9880952380952, "id": "jadecvs6at", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 20, "textX": 0, "textY": 0, "width": 290, "hAlign": "center", "height": 67.75, "italic": false, "margin": 20, "toShape": "jadefw1zfk", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadedzi58q", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 5366.320003291639, "y": 447.7380952380952, "id": "jadexn70e2", "pad": 6, "bold": false, "text": "结束_4", "type": "endNodeEnd", "dirty": false, "index": 21, "width": 360, "height": 181, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "5268f248-07c8-4871-8732-e007316214fc", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "1434e18b-bd1b-4286-bc2f-cfb2cb1e9c1e", "from": "Reference", "name": "output", "type": "String", "value": ["output", "errorMessage"], "editable": true, "isRequired": true, "description": "", "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "e0c88e2d-1373-4606-8aaf-2d8ff330a27f", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 4886.081819043942, "y": -65.6309930710566, "id": "jade2u3je1", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 22, "textX": 0, "textY": 0, "width": 480.23818424769706, "hAlign": "center", "height": 603.8690883091517, "italic": false, "margin": 20, "toShape": "jadexn70e2", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadegqixt5", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 4001.320003291639, "y": -209.01190476190482, "id": "jadet1dvap", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 23, "textX": 0, "textY": 0, "width": 291.4285714285729, "hAlign": "center", "height": 89.21428571428578, "italic": false, "margin": 20, "toShape": "jadegqixt5", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade758stt", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 5660.4628604345, "y": -664.6309523809527, "id": "jade9puqh3", "pad": 6, "bold": false, "text": "文本提取", "type": "textExtractionNodeState", "dirty": false, "index": 24, "width": 360, "height": 333, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "正在生成推荐面试问题...", "inputParams": [{"id": "extractParam_e7356380-7e19-4def-a1b5-3f7fb62c06af", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_da536c71-b299-40f0-8bca-720364fe20a0", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "3eab6484-fa97-4e06-a0cc-263d3ed5274a", "referenceKey": "llmOutput", "referenceNode": "jadem1n9u5"}, {"id": "desc_ddf67a20-776a-4c29-b741-9b5ed31a5104", "from": "Input", "name": "desc", "type": "String", "value": ""}, {"id": "outputSchema_1d2b703c-237b-40c9-9286-0d427c2b7312", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"}, {"id": "0d0a1d90-49b7-4bc6-af15-4c1c2905dadd", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "928af3d3-8671-4d93-a091-fd1662b74474", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "2ee47e96-94a7-4ee4-b616-36201338a7e4", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_236f8466-2e34-4b41-a199-a8d2843261ac", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_88d92098-2b56-4757-9fb6-08f3628e19ce", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_91b53de6-83c0-44eb-bf92-2585268d7526", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_f77ab974-f9c6-4ad3-9bcd-818fad8d96e2", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_7894b9b6-55e0-4b6e-acf8-d430e396d00c", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_a59975ed-71a1-4647-83b1-20c3aefe44f1", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_643f02b9-d709-4fc9-a04b-f9e590d96786", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "28eac6e6-2877-426a-a22c-5e425bfd2b1e", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "fa30b424-be71-443d-b18d-fbd32144e049", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "c19b4740-ce95-4483-b789-47286a19096b", "from": "Input", "name": "questions", "type": "Array", "value": "", "description": "针对简历的问题列表"}]}, {"id": "success_67bf7577-82ac-47b8-b8fa-7d7ebc53513a", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "stageDesc": "正在生成推荐面试问题...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "textExtractionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 5470.605717577355, "y": -618.9761904761904, "id": "jade79wnvk", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 25, "textX": 0, "textY": 0, "width": 189.85714285714494, "hAlign": "center", "height": 120.84523809523762, "italic": false, "margin": 20, "toShape": "jade9puqh3", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadem1n9u5", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2095.5463717870352, "y": 63.08343664805096, "id": "jadekuuju4", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 26, "textX": 0, "textY": 0, "width": 631.4179139272496, "hAlign": "center", "height": 124.67846811385363, "italic": false, "margin": 20, "toShape": "jadesoux5i", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade4h5wks", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|32f55d87-ebf2-464f-9f78-ecd62e36f2dc"}, {"x": 2095.5463717870352, "y": 110.08335367838541, "id": "jade1o7wna", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 27, "textX": 0, "textY": 0, "width": 682.0236315046036, "hAlign": "center", "height": 553.9047415597098, "italic": false, "margin": 20, "toShape": "jadey32p7b", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade4h5wks", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 6189.070031819352, "y": -567.4536159624079, "id": "jademrtwtm", "pad": 6, "bold": false, "text": "智能表单_1", "type": "manualCheckNodeState", "dirty": true, "index": 28, "width": 360, "height": 473, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png", "taskId": "d496c444a3174beabbcec5441aed40e2", "formName": "面试评价表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "questions_7e08f8cb-47ae-47df-b1a7-aaf62d7be03f", "from": "Reference", "name": "questions", "type": "Array", "value": ["output", "extractedParams", "questions"], "isRequired": true, "referenceId": "c19b4740-ce95-4483-b789-47286a19096b", "referenceKey": "questions", "referenceNode": "jade9puqh3"}], "outputParams": [{"id": "output_f00ac42b-c893-479b-b0ee-5cbe996c885a", "name": "output", "type": "Object", "value": [{"id": "27aa7c57-e31e-482a-98f0-bdbcc21a6138", "name": "qeMap", "type": "Array", "value": "Array"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "manualCheckComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 6020.4628604345, "y": -498.13095238095275, "id": "jadem1n5oj", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 29, "textX": 0, "textY": 0, "width": 168.60717138485234, "hAlign": "center", "height": 167.17733641854488, "italic": false, "margin": 20, "toShape": "jademrtwtm", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade9puqh3", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 6915.736698486009, "y": -872.4536159624076, "id": "jadezaa7cy", "pad": 6, "bold": false, "text": "大模型_3", "type": "llmNodeState", "dirty": true, "index": 30, "width": 360, "height": 411, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "fcd5702a-23f8-482e-a193-945676ca99ef", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "3a0ce6b3-8e98-4045-9323-957415084fba", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "35594014-3ca3-46b7-ac71-acd76b443952", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f3d8a723-81d0-48e2-b671-224caf7f0f17", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "1bf48ee9-ac82-4df5-be74-df96958f3f05", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "eb7a528c-c012-4374-bbf0-4a88e4727334", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "aeb114f8-9032-4be6-b9f2-a0301fd5cf05", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"}, {"id": "c4b818ba-1f8a-4f18-b196-c31bba136185", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "c709baca-8d63-4dd4-bced-e2762386a86a", "from": "Reference", "name": "qeMap", "type": "Array", "value": ["output", "qeMap"], "referenceId": "27aa7c57-e31e-482a-98f0-bdbcc21a6138", "referenceKey": "qeMap", "referenceNode": "jademrtwtm"}]}]}, {"id": "59d76a4e-1fd8-4950-9f84-6ebc17b7553c", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "a5b51a1c-68d7-4d8b-8791-9f788cd52f22", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "e1322719-1397-4dc8-a21e-674e1fb0eec0", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "892cf7e4-85c2-428d-b45b-0112a5978bd3", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "417ec551-d27e-49bc-b8ee-002a4bbd5b48", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "58e76471-8fb4-456d-9415-88192b008bd0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "23891b11-11a1-4915-80d1-53c515335dd5", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "c6b85478-009a-4ade-8bc2-a288e226e6db", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 6549.070031819352, "y": -330.95361596240787, "id": "jadeeeqmda", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 31, "textX": 0, "textY": 0, "width": 366.66666666665697, "hAlign": "center", "height": -335.9999999999998, "italic": false, "margin": 20, "toShape": "jadezaa7cy", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jademrtwtm", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 7634.070031819344, "y": -579.1202826290745, "id": "jadeohika6", "pad": 6, "bold": false, "text": "结束_3", "type": "endNodeEnd", "dirty": false, "index": 32, "width": 360, "height": 181, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "73bad02b-26cb-417a-b1e0-85de07f398fa", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "aa9bc2e9-6dbf-4a6e-8d05-772f148da36e", "from": "Input", "name": "output", "type": "String", "value": "面试完成", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "519710b6-f147-4cdb-98e7-b60aa0600be5", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 7275.736698486009, "y": -666.9536159624076, "id": "jadey8ppgc", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 33, "textX": 0, "textY": 0, "width": 358.33333333333485, "hAlign": "center", "height": 178.33333333333314, "italic": false, "margin": 20, "toShape": "jadeohika6", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadezaa7cy", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4079.0700318193494, "y": -1339.1202826290773, "id": "jadelwn1gx", "pad": 6, "bold": false, "text": "文本提取_1", "type": "textExtractionNodeState", "dirty": false, "index": 34, "width": 360, "height": 333, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "正在生成推荐面试问题...", "inputParams": [{"id": "c5fcdff0-2822-49c1-805d-242d38acf952", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "0fc3e0ac-307a-4c9c-8446-da801ca2a86e", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2", "referenceKey": "llmOutput", "referenceNode": "jade39q3lc"}, {"id": "bb3f946b-a504-44c9-a9e6-7271052ca40d", "from": "Input", "name": "desc", "type": "String", "value": ""}, {"id": "e99d0bd6-62f8-4f1b-80e9-72f7a2a19687", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"}, {"id": "c89f3da6-f54f-46d5-bb2d-63c4126aa682", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "de26c850-03f2-4e24-80c2-aedd0482a463", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a8bde3eb-1f41-4e9c-b591-1ea8637da7c7", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,admin"}]}, {"id": "52e82f8a-d0ec-4448-a8fa-a8ecc021a80d", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "4fb27b26-d072-41d3-a6ab-7ed461198348", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "73c5d5a6-ee64-4eae-b8e0-6afef02ce1f1", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "301ee3a6-6e1d-4046-bb13-2ab2b29e5892", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "8d0d7545-9b23-41f1-9d58-3cdf5203ea71", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "bc1fbeed-2b96-4bfd-9810-45fd2f0e01df", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "64c7d8a7-daae-44d9-9d42-f7d7ead0f5f8", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "225af02f-2c58-4e8d-bcb9-d56c6eb4b426", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "13ee6c77-3f84-4758-9ea1-6d1a17923ae4", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "b56c96ec-0b9f-44d3-8e8b-b952d171c580", "from": "Input", "name": "questions", "type": "Array", "value": "", "description": "针对简历的问题列表"}]}, {"id": "e545a304-53b9-40de-a559-f7346aa69a01", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "stageDesc": "正在生成推荐面试问题...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "textExtractionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3772.570003291639, "y": -1334.5119047619048, "id": "jade9m2sga", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 35, "textX": 0, "textY": 0, "width": 306.5000285277106, "hAlign": "center", "height": 161.89162213282748, "italic": false, "margin": 20, "toShape": "jadelwn1gx", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade39q3lc", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4615.403365152686, "y": -1370.786949295743, "id": "jade22p95w", "pad": 6, "bold": false, "text": "智能表单_2", "type": "manualCheckNodeState", "dirty": true, "index": 36, "width": 360, "height": 314, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png", "taskId": "d496c444a3174beabbcec5441aed40e2", "formName": "面试评价表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "questions_f1544f8f-d6ec-4dc2-97d8-dbc05a5fd33b", "from": "Reference", "name": "questions", "type": "Array", "value": ["output", "extractedParams", "questions"], "isRequired": true, "referenceId": "b56c96ec-0b9f-44d3-8e8b-b952d171c580", "referenceKey": "questions", "referenceNode": "jadelwn1gx"}], "outputParams": [{"id": "output_4daf0f63-1cc3-46f9-b42a-e36e953141f7", "name": "output", "type": "Object", "value": [{"id": "6c87c01e-4cd3-483e-a646-6b1f63597e91", "name": "qeMap", "type": "Array", "value": "Array"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "manualCheckComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 4439.070031819349, "y": -1172.6202826290773, "id": "jade5q1tkm", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 37, "textX": 0, "textY": 0, "width": 176.33333333333667, "hAlign": "center", "height": -41.166666666665606, "italic": false, "margin": 20, "toShape": "jade22p95w", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadelwn1gx", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 5333.0700318193485, "y": -1757.7869492957443, "id": "jadeuhtp3b", "pad": 6, "bold": false, "text": "大模型_4", "type": "llmNodeState", "dirty": false, "index": 38, "width": 360, "height": 411, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "a3bd214d-556f-4f1e-beac-726aec372264", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a2a846ac-8371-42f5-9617-aab697031aad", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "f313cfeb-6029-4d0d-b938-026ffa7cca1e", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "48dd4324-a11f-4d7e-bae8-f4874f526ab7", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "e05bdaeb-3cda-40a5-9144-e564f494b002", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "ee5b87db-2bb7-40a9-8836-658a2047ad98", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "41de7c20-0de4-4a75-b1a1-898c2ac9c2fd", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"}, {"id": "af7e6d67-5162-4c90-884f-9299e76ffd5a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "2e069130-be89-4292-8a00-9827309710dc", "from": "Reference", "name": "qeMap", "type": "Array", "value": ["output", "qeMap"], "referenceId": "6c87c01e-4cd3-483e-a646-6b1f63597e91", "referenceKey": "qeMap", "referenceNode": "jade22p95w"}]}]}, {"id": "52e1fdbe-6598-4a0e-8a5c-1bb8de01534e", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "9098e23e-62e6-4272-a746-7063e45710aa", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "f3dd4d91-9e84-45c4-bca2-5c27c4ae479a", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "d443924b-69a7-4519-a186-85b6bcd14edd", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "6ab5352d-1753-4f90-9c6b-2991d69dddc4", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "bf5d2b76-30ca-4cd6-bdfd-a61d70b1cf85", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "8bb45d25-fc74-45d5-8777-21670075be2e", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "2f382582-cd0c-4a4d-a994-58ba4b07dd97", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 4975.403365152686, "y": -1213.786949295743, "id": "jade5xr7fy", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 39, "textX": 0, "textY": 0, "width": 357.6666666666624, "hAlign": "center", "height": -338.50000000000136, "italic": false, "margin": 20, "toShape": "jadeuhtp3b", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade22p95w", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 6125.736698486013, "y": -1567.4536159624104, "id": "jadehvxxbs", "pad": 6, "bold": false, "text": "结束_1", "type": "endNodeEnd", "dirty": false, "index": 40, "width": 360, "height": 181, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "6d59e150-b944-42bc-a131-9e3d240f3d06", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "a1c67227-e131-4f88-93aa-e1840f3621ea", "from": "Reference", "name": "output", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "8bb45d25-fc74-45d5-8777-21670075be2e", "referenceKey": "llmOutput", "referenceNode": "jadeuhtp3b"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "b8e2ec79-b8a6-46b0-9e20-14662fabd988", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 5693.0700318193485, "y": -1552.2869492957443, "id": "jade3xtwme", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 41, "textX": 0, "textY": 0, "width": 432.66666666666424, "hAlign": "center", "height": 75.33333333333394, "italic": false, "margin": 20, "toShape": "jadehvxxbs", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeuhtp3b", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1246.034289005924, "y": 62.84523809523802, "id": "jade7dr3c3", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 42, "textX": 0, "textY": 0, "width": 256.1785714285727, "hAlign": "center", "height": -34.928571428571274, "italic": false, "margin": 20, "toShape": "jade4h5wks", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadelk78r1", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}], "vAlign": "top", "itemPad": [0, 0, 0, 0], "division": -1, "dockMode": "none", "fontFace": "arial", "fontSize": 18, "hideText": true, "moveable": true, "shapesAs": {}, "backColor": "#fbfbfc", "container": "elsa-page:tvp1s6", "dockAlign": "top", "fontColor": "#ECD0A7", "fontStyle": "normal", "itemSpace": 5, "namespace": "jadeFlow", "fontWeight": "bold", "itemScroll": {"x": 0, "y": 0}, "borderColor": "white", "focusBackColor": "#fbfbfc"}], "title": "24f72de428124eb19fd12db36ebcfd34", "source": "elsa", "tenant": "31f20efc7e0848deab6a6bc10fc3021e", "setting": {"pad": 10, "tag": {}, "code": "", "pDock": "none", "hAlign": "center", "margin": 25, "shadow": "", "shared": false, "vAlign": "top", "itemPad": [5, 5, 5, 5], "visible": true, "autoText": false, "dockMode": "none", "dragable": true, "editable": true, "fontFace": "arial", "fontSize": 12, "infoType": {"name": "none", "next": "INFORMATION"}, "moveable": true, "priority": 0, "allowLink": true, "autoWidth": false, "backAlpha": 0.15, "backColor": "whitesmoke", "dashWidth": 0, "deletable": true, "fontColor": "steelblue", "fontStyle": "normal", "headColor": "steelblue", "lineWidth": 2, "underline": false, "autoHeight": false, "emphasized": false, "fontWeight": "lighter", "itemScroll": {"x": 0, "y": 0}, "lineHeight": 1.5, "resizeable": true, "rotateAble": true, "scrollLock": {"x": false, "y": false}, "selectable": true, "shadowData": "2px 2px 4px", "borderColor": "#047bfc", "borderWidth": 1, "bulletSpeed": 1, "focusMargin": 0, "focusShadow": "", "globalAlpha": 1, "outstanding": false, "bulletedList": false, "cornerRadius": 4, "enableSocial": true, "mouseInColor": "orange", "numberedList": false, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "rotateDegree": 0, "captionhAlign": "center", "strikethrough": false, "focusBackColor": "whitesmoke", "focusFontColor": "darkorange", "progressStatus": {"name": "NONE", "next": "UNKNOWN", "color": "gray"}, "showedProgress": false, "allNodeNumLimit": 99, "captionfontFace": "arial black", "captionfontSize": 14, "enableAnimation": false, "progressPercent": 0.65, "captionfontColor": "whitesmoke", "captionfontStyle": "normal", "focusBorderColor": "#047bfc", "focusBorderWidth": 1, "mouseInBackColor": "whitesmoke", "mouseInFontColor": "orange", "captionfontWeight": "lighter", "captionlineHeight": 1, "mouseInBorderColor": "#047bfc", "sameTypeNodeNumLimit": 19}, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}, "enableText": false}', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('47619270aade4e828931abeccd2ee812', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'ability', 'String', 'null', 'none', 'workflow', '能力配置', 1, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('758521d79cf744398245162ef476708b', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'chat', 'String', 'null', 'none', 'workflow', '聊天设置', 3, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('fde8766a85d44686810fe39d0be3e1b4', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'memory', 'List', '["jade6qm5eg","memory"]', 'graph', 'chat', '多轮对话', 5, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('14d07bac14ee4621bbc49906cb9fc51a', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'opening', 'String', '"Hi~你好!"', 'input', 'chat', '开场白', 4, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('705c9988eaf54f9aa9abb932c14a4232', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'enterWorkflow', 'String', 'null', 'none', 'ability', '进入工作流编排', 2, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('082cfb50221749e2b968b3e291e97223', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'inspiration', 'object', '{"category":[{"id":"root","title":"root","children":[{"id":"a8bj40","title":"面试官灵感大全","parent":"root:a8bj40","children":[{"id":"0t579o","title":"综合能力问题","parent":"a8bj40:0t579o","children":[]},{"id":"lcp0bt","title":"总结面试意见","parent":"a8bj40:lcp0bt","children":[]},{"id":"tnzbnl","title":"C语言","parent":"a8bj40:tnzbnl","children":[]},{"id":"25qf59","title":"C++语言","parent":"a8bj40:25qf59","children":[]},{"id":"1189ke","title":"Java语言","parent":"a8bj40:1189ke","children":[]},{"id":"4w1hn2","title":"JavaScript语言","parent":"a8bj40:4w1hn2","children":[]},{"id":"h58abh","title":"Python语言","parent":"a8bj40:h58abh","children":[]},{"id":"68y8eo","title":"Go语言","parent":"a8bj40:68y8eo","children":[]},{"id":"c5zmf1","title":"通用软件知识","parent":"a8bj40:c5zmf1","children":[]},{"id":"gpk5lc","title":"计算机网络","parent":"a8bj40:gpk5lc","children":[]},{"id":"03wuou","title":"操作系统","parent":"a8bj40:03wuou","children":[]},{"id":"1mctx4","title":"数据库","parent":"a8bj40:1mctx4","children":[]},{"id":"zxm7kk","title":"缓存","parent":"a8bj40:zxm7kk","children":[]},{"id":"n4nrbs","title":"消息队列","parent":"a8bj40:n4nrbs","children":[]}]}]}],"dimension":false,"inspirations":[{"id":"kw0dn0","auto":false,"name":"编译时多态与运行时多态","prompt":"<步骤:生成编译时多态与运行时多态相关面试问题>","category":"a8bj40:c5zmf1","description":"编译时多态与运行时多态","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对编译时多态与运行时多态的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"pt4u70","auto":false,"name":"多线程环境避免数据竞争","prompt":"<步骤:生成多线程环境数据竞争相关面试问题>","category":"a8bj40:c5zmf1","description":"多线程环境避免数据竞争","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对多线程环境数据竞争的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"mzombx","auto":false,"name":"内存管理中的栈与堆","prompt":"<步骤:生成内存管理中的堆与栈相关面试问题>","category":"a8bj40:c5zmf1","description":"内存管理中的栈与堆","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对内存管理中的堆与栈的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"tx31bf","auto":false,"name":"C语言的指针和数组","prompt":"<步骤:生成C语言的指针和数组相关面试问题>","category":"a8bj40:tnzbnl","description":"C语言的指针和数组","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C语言的指针和数组的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"xhvq4g","auto":false,"name":"C语言的缓冲区溢出","prompt":"<步骤:生成C语言的缓冲区溢出相关面试问题>","category":"a8bj40:tnzbnl","description":"C语言的缓冲区溢出","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C语言的缓冲区溢出的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"mqbt1m","auto":false,"name":"C语言的内存对齐","prompt":"<步骤:生成C语言的内存对齐相关面试问题>","category":"a8bj40:tnzbnl","description":"C语言的内存对齐","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C语言的内存对齐的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"bpaqda","auto":false,"name":"C语言的volatile关键字","prompt":"<步骤:生成C语言的volatile关键字相关面试问题>","category":"a8bj40:tnzbnl","description":"C语言的volatile关键字","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C语言的volatile关键字的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"srl93z","auto":false,"name":"C++语言的RAII","prompt":"<步骤:生成C++语言的RAII相关面试问题>","category":"a8bj40:tnzbnl","description":"Resource Acquisition Is Initialization","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对RAII(Resource Acquisition Is Initialization)的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"7n0k0t","auto":false,"name":"C++语言的虚函数表","prompt":"<步骤:生成C++语言的虚函数表相关面试问题>","category":"a8bj40:25qf59","description":"C++语言的虚函数表","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C++语言的虚函数表的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"i0u7ja","auto":false,"name":"C++语言的移动和转发","prompt":"<步骤:生成C++语言的移动和转发相关面试问题>","category":"a8bj40:25qf59","description":"移动(std::move)和转发(std::forward)","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C++语言的移动(std::move)和转发(std::forward)的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"plk389","auto":false,"name":"C++语言的类定义五法则","prompt":"<步骤:生成C++语言的类定义五法则相关面试问题>","category":"a8bj40:25qf59","description":"C++语言的类定义五法则","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对C++语言的类定义五法则的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"v1diuh","auto":false,"name":"Java语言的垃圾回收","prompt":"<步骤:生成Java语言的垃圾回收机制相关面试问题>","category":"a8bj40:1189ke","description":"Java语言的垃圾回收","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Java语言的垃圾回收机制的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ubqahw","auto":false,"name":"Java语言的线程同步机制","prompt":"<步骤:生成Java语言的线程同步机制相关面试问题>","category":"a8bj40:1189ke","description":"Java语言的线程同步机制","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Java语言的线程同步机制的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ewa086","auto":false,"name":"Java语言的接口和抽象类","prompt":"<步骤:生成Java语言的接口和抽象类相关面试问题>","category":"a8bj40:1189ke","description":"Java语言的接口和抽象类","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Java语言的接口和抽象类的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"xrhicq","auto":false,"name":"Java语言的堆栈内存管理","prompt":"<步骤:生成Java语言的堆栈内存管理相关面试问题>","category":"a8bj40:1189ke","description":"Java语言的堆栈内存管理","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Java语言的堆栈内存管理的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"pqyb2c","auto":false,"name":"JavaScript语言的闭包","prompt":"<步骤:生成JavaScript语言的闭包相关面试问题>","category":"a8bj40:4w1hn2","description":"JavaScript语言的闭包","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对JavaScript语言的闭包的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"6onib9","auto":false,"name":"JavaScript语言的事件循环","prompt":"<步骤:生成JavaScript语言的事件循环相关面试问题>","category":"a8bj40:4w1hn2","description":"JavaScript语言的事件循环","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对JavaScript语言的事件循环的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"q5bcdi","auto":false,"name":"JavaScript语言的原型链","prompt":"<步骤:生成JavaScript语言的原型链相关面试问题>","category":"a8bj40:4w1hn2","description":"JavaScript语言的原型链","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对JavaScript语言的原型链的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"a76ukp","auto":false,"name":"JavaScript语言的this关键字","prompt":"<步骤:生成JavaScript语言的this关键字相关面试问题>","category":"a8bj40:4w1hn2","description":"JavaScript语言的this关键字","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对JavaScript语言的this关键字的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"xljl9w","auto":false,"name":"Python语言的生成器和迭代器","prompt":"<步骤:生成Python语言的生成器和迭代器相关面试问题>","category":"a8bj40:h58abh","description":"Python语言的生成器和迭代器","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Python语言的生成器和迭代器的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"75d89u","auto":false,"name":"Python语言的全局解释器锁","prompt":"<步骤:生成Python语言的全局解释器锁相关面试问题>","category":"a8bj40:h58abh","description":"Python语言的全局解释器锁","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Python语言的全局解释器锁的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"hhk1gi","auto":false,"name":"Python语言的元类","prompt":"<步骤:生成Python语言的元类相关面试问题>","category":"a8bj40:h58abh","description":"Python语言的元类","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Python语言的元类的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ai5b8k","auto":false,"name":"Python语言的装饰器","prompt":"<步骤:生成Python语言的装饰器相关面试问题>","category":"a8bj40:h58abh","description":"Python语言的装饰器","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Python语言的装饰器的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"tx9cn5","auto":false,"name":"Go语言的Goroutine","prompt":"<步骤:生成Go语言的Goroutine相关面试问题>","category":"a8bj40:68y8eo","description":"Go语言的Goroutine","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Go语言的Goroutine的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"fnrcdr","auto":false,"name":"Go语言的通道","prompt":"<步骤:生成Go语言的通道相关面试问题>","category":"a8bj40:68y8eo","description":"Go语言的通道","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Go语言的通道的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"95z27f","auto":false,"name":"Go语言的select语句工作机制","prompt":"<步骤:生成Go语言的select语句工作机制相关面试问题>","category":"a8bj40:68y8eo","description":"Go语言的select语句工作机制","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Go语言的select语句工作机制的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"xv3jv9","auto":false,"name":"Go语言避免数据竞争","prompt":"<步骤:生成Go语言避免数据竞争相关面试问题>","category":"a8bj40:68y8eo","description":"Go语言避免数据竞争","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对Go语言避免数据竞争的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"myfpax","auto":false,"name":"操作系统的基本概念","prompt":"<步骤:生成操作系统的基本概念相关面试问题>","category":"a8bj40:03wuou","description":"操作系统的基本概念","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对操作系统的基本概念的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"yed3j3","auto":false,"name":"操作系统的虚拟内存","prompt":"<步骤:生成操作系统的虚拟内存相关面试问题>","category":"a8bj40:03wuou","description":"操作系统的虚拟内存","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对操作系统的虚拟内存的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ixwt9n","auto":false,"name":"操作系统的CPU调度算法","prompt":"<步骤:生成操作系统的CPU调度算法相关面试问题>","category":"a8bj40:03wuou","description":"操作系统的CPU调度算法","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对操作系统的CPU调度算法的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"rclxix","auto":false,"name":"操作系统的内存分页与段式管理","prompt":"<步骤:生成操作系统的内存分页与段式管理相关面试问题>","category":"a8bj40:03wuou","description":"操作系统的内存分页与段式管理","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对操作系统的内存分页与段式管理的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ior55n","auto":false,"name":"SQL与NoSQL数据库","prompt":"<步骤:生成SQL与NoSQL数据库相关面试问题>","category":"a8bj40:1mctx4","description":"SQL与NoSQL数据库","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对SQL与NoSQL数据库的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"8nqr3h","auto":false,"name":"数据库事务的ACID特性","prompt":"<步骤:生成数据库事务的ACID特性相关面试问题>","category":"a8bj40:1mctx4","description":"原子性(Atomicity)、一致性(Consistency)、隔离性(Isolation)、持久性(Durability)","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对数据库事务的ACID特性的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"4eab7n","auto":false,"name":"数据库的索引","prompt":"<步骤:生成数据库的索引相关面试问题>","category":"a8bj40:1mctx4","description":"数据库的索引","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对数据库的索引的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"ebbn3s","auto":false,"name":"数据库的锁机制","prompt":"<步骤:生成数据库的锁机制相关面试问题>","category":"a8bj40:1mctx4","description":"数据库的锁机制","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对数据库的锁机制的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"9011sl","auto":false,"name":"缓存的基本概念","prompt":"<步骤:生成缓存的基本概念相关面试问题>","category":"a8bj40:zxm7kk","description":"缓存的基本概念","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对缓存的基本概念的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"as6tzg","auto":false,"name":"缓存击穿、缓存雪崩","prompt":"<步骤:生成缓存击穿、缓存雪崩相关面试问题>","category":"a8bj40:zxm7kk","description":"缓存击穿、缓存雪崩","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对缓存击穿、缓存雪崩的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"x9aqds","auto":false,"name":"缓存的常见淘汰策略","prompt":"<步骤:生成缓存的常见淘汰策略相关面试问题>","category":"a8bj40:zxm7kk","description":"缓存的常见淘汰策略","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对缓存的常见淘汰策略的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"mf7vb7","auto":false,"name":"消息队列的基本概念","prompt":"<步骤:生成消息队列的基本概念相关面试问题>","category":"a8bj40:n4nrbs","description":"消息队列的基本概念","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对消息队列的基本概念的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"wedsad","auto":false,"name":"消息队列的幂等性","prompt":"<步骤:生成消息队列的幂等性相关面试问题>","category":"a8bj40:n4nrbs","description":"消息队列的幂等性","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对消息队列的幂等性的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"7lk29w","auto":false,"name":"洞察力","prompt":"<步骤:生成考察洞察力的面试问题>","category":"a8bj40:0t579o","description":"洞察力","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的洞察力(系统思维与战略思维),请设计3个深入考察洞察力的面试问题,参考以下几个示例问题:\n1、请谈一下你在专业领域是如何做研究的?你是如何收集信息和数据的?这些信息和数据你是如何处理和分析的?你最终想要达成的目标是什么?你是如何规划实现这个目标的?在你的研究过程中,哪些因素发生了变化?你是如何处理的?\n2、请分享一次你在做研究或做项目过程中,发现了一些与你预想的目标相悖的情况,你是如何处理的?\n3、你的毕业研究课题是怎么选择和设计的?你收集和分析了哪些信息?你觉得你的研究结果对于未来的技术发展最大的贡献是什么?\n请结合我在之前几轮对话中给你提供的候选人项目经历,在每个问题的开头指明所针对的项目。\n4、你是如何准备这次应聘的?你觉得华为的优势和劣势分别是什么?在准备过程中,你的关键发现是什么?有没有注意到什么风险和机遇?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"n49s1v","auto":false,"name":"影响力","prompt":"<步骤:生成考察影响力的面试问题>","category":"a8bj40:0t579o","description":"影响力","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的影响力(领导他人、影响他人决策、与人连接的能力),请设计3个深入考察影响力的面试问题,参考以下几个示例问题:\n1、请分享一个你在项目中,成功说服他人的例子,你和对方的分歧在哪里?对方是如何坚持自己的观点的?你是如何说服TA的?你感觉TA接受了你的哪些观点或意见?中间对方有没有不高兴?你是如何解决的?\n2、你有没有说服别人跟你一起做一件事或者一个项目的经历?你当时的想法是什么?你去找了哪些人跟你一起去做?分别怎么去说服他们的?在争取支持或配合的过程中,遇到了哪些困难?你是如何克服的?\n3、你有没有碰到过需要比较高级别的人(例如学校领导、合作单位领导、德高望重的教授)支持的情况?你是怎么争取到他们的支持的?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"cb0zu4","auto":false,"name":"合作性","prompt":"<步骤:生成考察合作性的面试问题>","category":"a8bj40:0t579o","description":"合作性","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的团队合作能力,请设计3个深入考察团队合作能力的面试问题,参考以下几个示例问题:\n1、你在项目中和团队其他人是如何配合的?你们是如何一起制定项目计划和分工的?和不熟悉的团队成员是如何沟通的?你为团队成员提供了哪些帮助?你从团队成员那里得到了哪些帮助?\n2、请分享团队其他成员强烈反对你的观点和行为的经历,当时是怎样的情况?你是如何处理的?\n3、请分享一次你放弃自己观点的经历,你是出于什么样的考虑放弃自己的观点的?最后达成了什么目的?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"p44axb","auto":false,"name":"学习能力","prompt":"<步骤:生成考察学习能力的面试问题>","category":"a8bj40:0t579o","description":"学习能力","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的学习能力(适应新环境新业务的快速学习能力),请设计3个深入考察学习能力的面试问题,参考以下几个示例问题:\n1、你碰到过的最难理解和掌握的技术点是什么?是哪方面让你觉得很难理解和掌握?你是怎么克服困难的?最后的学习效果如何?运用的效果如何?\n2、请举一个例子说明,你是如何在项目中收集资料的?在大量的资料里,你是如何撷取关键要素的?对矛盾信息或碎片信息你通常会怎样甄别和处理?最后的结论是否得到验证和使用的?\n3、过往的经历中,你有没有发现过其他人没有察觉到的问题?你是如何发现这个问题的?发现问题后你查阅了哪些资料或者做了哪些事情去研究这个问题?最后是怎么解决这个问题的?用到了哪些新的知识和技术?解决的效果如何?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"lnlu51","auto":false,"name":"开放性","prompt":"<步骤:生成考察开放性的面试问题>","category":"a8bj40:0t579o","description":"开放性","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的开放性(拥抱新观点、新概念),请设计3个深入考察开放性的面试问题,参考以下几个示例问题:\n1、谈谈你在项目中是如何做决定的?请举一个例子,你在做决定时吸纳了哪些新的技术、理念和观点?其他人的意见你是否有征询?你是如何解决其他人的意见纳入到你的决定中去的?其他人强烈反对或不理解你的决定时,你是如何处理的?\n2、谈谈你在项目中接触到的一个新技术、新观点或新概念,你是怎么注意到的?你为什么会感兴趣?这对你原有的想法和行为带来了什么冲击和改变?\n3、在项目或生活中,遇到事情的发展与你的计划不符的情况下,你会怎么做?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"eee9xg","auto":false,"name":"成就导向","prompt":"<步骤:生成考察成就导向的面试问题>","category":"a8bj40:0t579o","description":"成就导向","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的成就导向(有强烈的上进心和抱负,追求卓越,挑战自我),请设计3个深入考察成就导向的面试问题,参考以下几个示例问题:\n1、请描述一下你觉得做得最失败的一个项目?你在其中做了哪些努力去推动项目的成功?发现了哪些问题?如何解决这些问题的?有哪些问题是你觉得再努力都无法解决的?最终项目为什么失败?你有什么反思?下一步计划是什么?\n2、在达成项目目标的过程中,你经历的最大一次干扰是什么?你是如何取舍的?是在什么样的情况下,你选择放弃既定的目标?\n3、你在学校参加了哪些社团?你希望从参与这些社团的过程中获得什么?每一个社团你的参与程度如何?有没有哪个社团你报名了但因为种种原因又中途退出了?退出的原因是什么?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"7nupin","auto":false,"name":"坚韧性","prompt":"<步骤:生成考察坚韧性的面试问题>","category":"a8bj40:0t579o","description":"坚韧性","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人的坚韧性(在持续的压力和挫折下能够始终坚韧不拔),请设计3个深入考察坚韧性的面试问题,参考以下几个示例问题:\n1、你做过的最艰难的、感觉做不下去的项目或实验是什么?难点是什么?那段时间你压力大吗?你是如何排解压力的?后来是怎么解决问题的?\n2、请举一个失败的项目或过往实习经历中遭遇的失败任务?你做了哪些努力?最后还是失败的原因是什么?\n3、有没有一件当时你觉得希望不大,但你坚信通过努力能完成的事情,并且最终取得了成功的例子?为什么当时希望不大,你还坚持?你回顾这段经历的收获是什么?你觉得最终成功的关键是什么?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"uihj2i","auto":false,"name":"价值观与文化适应性","prompt":"<步骤:生成考察价值观与文化适应性的面试问题>","category":"a8bj40:0t579o","description":"价值观与文化适应性","promptVarData":[],"promptTemplate":"我想让你担任软件开发岗位的综合面试官,专门考察候选人对华为核心价值观(以客户为中心,以奋斗者为本,长期艰苦奋斗)的认同感和对华为文化的适应性,请设计3个深入考察价值观与文化适应性的面试问题,参考以下几个示例问题:\n1、你有没有处理过超出你的职责范围的事情的经历?你觉得这件事应该是你去处理的吗?你当时为什么会去处理这件事情?你是怎么处理的?结果如何?\n2、请分享一次你觉得最委屈的经历,当时是什么情况?你为何觉得委屈?后来误会消除了吗?是怎么消除的?你觉得如何防止以后再出现这样的误会?\n3、请你谈一下你在过去遇到过的最愤怒的一件事?你觉得这件事是什么触碰到了你的底线?你做了哪些调整去克服它或者解决它?\n4、 你对华为“奋斗者”、“长期艰苦奋斗”、“坚持自我批判”的价值观是如何理解的?\n请结合我在之前几轮对话中给你提供的候选人简历信息。"},{"id":"u25dgh","auto":false,"name":"OSI网络模型","prompt":"<步骤:生成OSI网络模型相关面试问题>","category":"a8bj40:gpk5lc","description":"Open Systems Interconnection","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对OSI(Open Systems Interconnection)网络模型的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"hi86t0","auto":false,"name":"TCP网络协议","prompt":"<步骤:生成TCP网络协议相关面试问题>","category":"a8bj40:gpk5lc","description":"Transmission Control Protocol","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对TCP(Transmission Control Protocol)网络协议的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"n2wcy4","auto":false,"name":"UDP网络协议","prompt":"<步骤:生成UDP网络协议相关面试问题>","category":"a8bj40:gpk5lc","description":"User Datagram Protocol","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对UDP(User Datagram Protocol)网络协议的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"id":"wo4dg5","auto":false,"name":"DNS域名系统","prompt":"<步骤:生成DNS域名系统相关面试问题>","category":"a8bj40:gpk5lc","description":"Domain Name System","promptVarData":[],"promptTemplate":"我想让你担任通用软件开发工程师面试官,请帮我设计2个常见的技术面试问题,考察候选人对DNS(Domain Name System)域名系统的理解,并且提供简单的参考答案(每个问题的答案不超过150个token),不需要提供代码示例"},{"name":"总结综合面试意见","description":"一键总结成长基础、成长潜力、成长渴望、价值观与文化适应性评价以及综合评价意见","prompt":"<步骤:总结综合面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的善于归纳总结的面试官,你的任务是对用户的面试笔记进行优化总结,整理成专业的面试意见,具体任务说明如下:\n总结面试笔记的过程如下:\n1. 分析用户的面试笔记\n2. 将分析结果与成长基础、成长潜力、成长渴望、价值观与文化适应性4个维度进行关联总结,4个维度的定义如下\n * 成长基础主要从洞察力、合作性、影响力方面评价候选人能不能胜任岗位职责,比如候选人在过往经历中体现出来的系统和战略思考能力,对周边和社会上的影响力,团队协作能力等特征是这个维度的重点总结内容\n * 成长潜力主要从学习能力、开放性方面评价候选人能不能持续胜任岗位职责,比如候选人在过往经历中体现出来的在新环境或者学校中快速学习的能力,主动积极拥抱新技术新概念等特征是这个维度的重点总结内容\n * 成长渴望主要从责任心、上进心、自我挑战、坚韧性方面评价候选人愿不愿承担更多责任,比如候选人在过往经历中体现出来的勇于承担工作和学习任务,勇于挑战完成不可能完成的任务等特征是这个维度的重点总结内容\n * 价值观与文化适应性主要从华为核心价值观方面评价候选人对华为文化的适应性,比如候选人是否了解奋斗者文化和成就客户的导向,渴望成为华为一份子等特征是这个维度的重点总结内容\n3. 将关联总结的内容以每个维度为标题进行输出\n4. 根据4个维度的总结,输出汇总的综合评价意见\n\n你必须遵守如下规则:\n1. 以每个维度作为标题进行总结,字数最多不超过200个字\n2. 综合评价意见必须充分评价候选人在各个维度的能力,字数最多不超过500个字\n3. 从某个维度进行总结时,不必机械地点明每个维度的定义,而是将候选人的特点自然地融入到整体评价中,保持总结内容精练、简洁\n4. 不要编造信息或者照抄下面的例子\n\n如下是一个总结过程的例子,请参考该例子进行思考:\n\n面试笔记:\n候选人为电子科技大学计算机科学硕士,在校期间成绩优异,2次获得奥林匹克数学竞赛金牌,发表3篇高质量论文;本科为通信工程专业,通过自学和选修计算机相关课程,考取计算机专业研究生;后于微软从事后端服务开发;在面试过程中,候选人表现出了很强的上进心和吃苦耐劳的精神,目标是成为全栈技术专家;候选人有了解过华为文化,理解以客户为中心的导向,认可华为以奋斗者为本的利益分享机制。建议录用。\n\n输出的面试总结:\n经过对面试笔记进行分析,关于候选人的成长基础、成长潜力、成长渴望、价值观与文化适应性和综合评价意见总结如下:\n**成长基础**:\n候选人学习能力表现得非常突出,掌握了扎实的计算机基础知识;候选人对新兴技术保持高度敏感,在阿里巴巴工作期间,引入了Docker容器化技术以简化开发和部署流程;在微软项目中,候选人发现了在高并发情况下部分API接口存在响应迟缓的问题,提出了基于微服务架构的重构方案,有效提高了系统的扩展性和处理能力。\n**成长潜力**:\n候选人在本科阶段从通信工程专业转向计算机领域,证明候选人具备灵活的知识迁移能力;在微软任职后,候选人快速掌握了C#、Azure云平台等多种技术栈,并成功推动了Windows 365 Web终端项目的多个新特性的交付,展示了快速适应新技术和工具的能力。候选人在工作中不仅注重技术深度的积累,还主动承担了跨部门的技术合作工作。\n**成长渴望**:\n在硕士阶段,候选人多次主动参与课外科研项目,展示了自我驱动的学习能力。在阿里巴巴期间,候选人主动识别并解决了系统性能瓶颈,优化了后端服务的响应速度和资源利用率,展现了在面对复杂问题时勇于突破的品质。在微软的项目推进过程中,候选人遇到过多次技术障碍和进度延误,但他凭借顽强的毅力克服了困难,最终高质量地交付了项目。\n**价值观与文化适应性**:\n候选人了解华为的企业文化,特别是以客户为中心和以奋斗者为本的核心价值观。在面试中表达了对华为文化的高度认同,展示出愿意成为华为一分子的积极态度。\n**综合评价意见**:\n候选人在电子科技大学完成了计算机科学硕士学业,期间成绩优异,发表了3篇高质量论文,两次获得奥林匹克数学竞赛金牌,展现了扎实的学术基础和卓越的逻辑思维能力。从通信工程专业跨入计算机领域并成功考取研究生的过程,充分体现了候选人的跨学科背景和灵活的知识迁移能力。在阿里巴巴工作期间,候选人引入Docker容器化技术,简化了开发和部署流程,显著提高了团队效率。在微软担任MSFT Intune后端服务开发时,候选人迅速掌握了C#、JavaScript、Python和Azure等技术,成功推动了多个Windows 365 Web终端新特性的交付,并通过微服务架构重构解决了高并发下的性能问题。候选人在团队协作方面表现出色,在微软的工作中主动承担跨部门合作任务,推动技术与产品的融合。他具备强烈的上进心和吃苦耐劳的精神,面对复杂问题时勇于突破,不断追求卓越。在面试过程中,候选人表达了对华为企业文化的高度认同,特别是以客户为中心和以奋斗者为本的核心价值观,展现出愿意成为华为一分子的积极态度。基于以上综合表现,建议录用。\n\n\n用户输入的面试笔记:\n{{面试意见}}\n\n输出的面试总结:","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"ns2o09"},{"name":"总结成长基础面试意见","description":"总结成长基础面试意见","prompt":"<步骤:总结成长基础面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 洞察力\n问题分析能力:面试者是否能迅速理解复杂问题,识别关键因素,制定解决问题的策略。\n趋势预测能力:面试者能否基于现有信息预测行业或项目可能的发展趋势,为决策提供前瞻性视角。\n细节敏锐度:面试者在处理任务或项目时,是否能注意到关键细节,避免潜在的错误或遗漏。\n2. 影响力\n沟通表达能力:面试者是否能够清晰、有说服力地表达自己的观点,使他人理解并接受。\n领导力:在团队中,面试者能否通过自己的行动和决策带动团队成员,推动项目进展。\n激励他人:面试者是否能够激发团队成员的积极性,提升团队整体的工作热情和效率。\n3. 合作性\n团队协作能力:面试者是否愿意与团队成员分享信息,共同解决问题。\n适应性:在团队中,面试者能否快速适应不同的工作风格和环境,与各种性格的成员有效合作。\n冲突解决能力:面对团队内部的分歧或冲突,面试者是否能采取积极有效的措施进行调解,维持团队和谐。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"hkrwmp"},{"name":"总结成长潜力面试意见","description":"总结成长潜力面试意见","prompt":"<步骤:总结成长潜力面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 学习能力\n主动学习态度:面试者是否展现出对新知识和技能的主动寻求和掌握态度,是否能够意识到自我提升的需求,并采取积极措施进行自我教育。\n快速适应能力:面试者是否能够描述他们如何在有限的时间内掌握新技能、适应新项目或工作流程,以及在适应过程中遇到挑战时的应对策略。\n2. 开放性\n接受新观念:面试者是否愿意接受和考虑不同的观点、方法或文化,以及在面对新事物时的态度。\n适应变化:面试者能否描述他们如何处理工作中的突发变化,如项目方向调整、团队重组等,以及在变化中保持积极态度和工作效率。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"bxb161"},{"name":"总结成长渴望面试意见","description":"总结成长渴望面试意见","prompt":"<步骤:总结成长渴望面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 成就导向性\n目标设定能力:面试者是否能够设定清晰、具体、有挑战性的目标,并为之制定计划。\n结果导向:面试者是否专注于结果,能够有效地解决问题,克服障碍,以达成目标。\n自我激励:面试者是否能自我驱动,即使在缺乏外部激励或监督的情况下仍能保持高效和积极。\n持续改进:面试者是否具有持续学习和改进的意愿,不断自我提升以达到更高标准。\n2. 坚韧性\n逆境适应性:面试者面对逆境时是否能够保持冷静,寻找解决方案,而不是轻易放弃。\n情绪稳定性:面试者在压力下是否能够保持情绪稳定和专业性的能力。\n外部支持利用:面试者是否能够有效地寻求和利用外部资源,如团队成员、导师或工具,以克服挑战。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"siu3av"},{"name":"总结价值观与文化适应性面试意见","description":"总结价值观与文化适应性面试意见","prompt":"<步骤:总结价值观与文化适应性面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 对华为核心价值观的认同\n以客户为中心:面试者是否把客户的需求放在首位,是否愿意为了满足客户需求而努力工作,以及是否具备与客户建立良好关系的能力。\n以奋斗者为本:面试者是否展现出强烈的自我驱动力和对工作的投入度。\n坚持长期艰苦奋斗:面试者是否具备吃苦耐劳的精神,是否能够在困难面前不放弃,以及是否愿意为了目标付出额外努力。\n自我批判:面试者是否能够坦诚地反思自己的不足,并愿意主动寻求改进。\n2. 对华为文化的适应\n适应变化:面试者是否能够快速适应工作环境的变化,是否积极准备华为看重的技术技能。\n个人意愿:面试者是否了解和认可华为的文化,是否有强烈的加入华为公司的意愿。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"vfz3z6"},{"name":"总结专业知识面试意见","description":"总结专业知识面试意见","prompt":"<步骤:总结专业知识面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 基础知识掌握情况:考察候选人对该领域核心概念、理论基础和常见工具的理解。\n2. 深度理解与领域前沿:考察候选人是否对该领域有深入理解,是否掌握了领域内的最新技术、趋势或前沿研究。\n3. 应用与实践能力:考察候选人在该领域中的实际项目经验,以及如何将理论应用于实践。\n4. 领域工具和框架的使用:考察候选人是否熟练掌握该领域常用的工具和框架,以及在不同场景下如何选择合适的工具。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"6ioy0f"},{"name":"总结关键能力面试意见","description":"总结关键能力面试意见","prompt":"<步骤:总结关键能力面试意见>\n<面试意见>:","promptTemplate":"你是一个专业的面试官,非常善于总结面试意见,请帮助其他面试官总结他们的面试意见,将意见提炼和润色成丰富的面试结论总结\n请从下面几个维度进行提炼总结:\n1. 逻辑思维能力:考察候选人在解决问题时的思路是否清晰、条理性如何,是否能够有效地分析和分解复杂问题。\n2. 编码能力:考察候选人编写代码的能力,包括代码的质量、效率、可读性以及解决实际问题的能力。\n如下是用户的面试意见:\n{{面试意见}}","promptVarData":[],"category":"a8bj40:lcp0bt","auto":false,"id":"dtwrcs"}],"showInspiration":true}', 'input', 'chat', '创意灵感', 7, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('ddf6e55b8bf44eb1a10001838906b06c', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'recommend', 'object', '{"showRecommend":false,"list":[]}', 'input', 'chat', '猜你想问', 6, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('1aa4a8c3178c473c8fdabd37af5f0002', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'multimodal', 'object', '{"useMultimodal":true,"maxUploadFilesNum":1,"autoChatOnUpload":true}', 'input', 'chat', '多模态', 8, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('64a7ca8b22414bf28abb49a75e0f1f1c', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'workflow', 'String', 'null', 'none', 'null', '工作流编排', 0, 0, 'fd8166b5005e4d66a77d318f3b1dd5e5') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."flow_definition" ("definition_id", "meta_id", "name", "tenant", "version", "status", "graph", "created_by", "created_at") VALUES ('0e58b12cdafd476a81d4da70dce8175a', '24f72de428124eb19fd12db36ebcfd34', '24f72de428124eb19fd12db36ebcfd34', '31f20efc7e0848deab6a6bc10fc3021e', '1.0.0', 'active', '{"name": "24f72de428124eb19fd12db36ebcfd34", "nodes": [{"name": "开始", "type": "startNodeStart", "metaId": "jade6qm5eg", "runnable": true, "inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, {"name": "结束", "type": "endNodeEnd", "metaId": "jadesoux5i", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output", "errorMessage"], "editable": true, "isRequired": true, "description": "", "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c4469c16-88a7-4575-b339-9a06e3305f3b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "AI简历解析插件", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "fileUrl"}, {"name": "instanceId"}], "return": {"type": "object"}, "uniqueName": "8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "fileUrl_edfec05d-9812-429f-ae55-24df5d2e1216", "from": "Reference", "name": "fileUrl", "type": "String", "value": ["output", "fileUrl"], "isRequired": true, "description": "简历文件URL", "referenceId": "45fafbfd-5966-47ba-91af-baebe09bdab1", "referenceKey": "fileUrl", "referenceNode": "jadeemu770"}, {"id": "instanceId_24e98795-b3aa-4a0f-b78f-d4b059a59768", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "description": "实例ID", "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_5315b59e-1d27-4278-a06e-f89c7627782a", "name": "output", "type": "Object", "value": [{"id": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "name": "isFileHandled", "type": "Boolean", "value": "Boolean"}, {"id": "9e3844fd-864d-4504-8f2b-dba7e919135b", "name": "cvAnalyzerPrompt", "type": "String", "value": "String"}, {"id": "50617d76-27e1-49aa-a653-1947168d8937", "name": "errorMessage", "type": "String", "value": "String"}]}]}}}, "metaId": "jadelk78r1", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "代码", "type": "codeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "98a0c373-6b03-4fd0-bc1d-101c9f1b1fd2", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "a15b25db-133c-41b4-a329-4b9bd257ad3e", "from": "Reference", "name": "fileUrls", "type": "Array", "value": ["fileUrls"], "referenceId": "fileUrls", "referenceKey": "fileUrls", "referenceNode": "_systemEnv"}]}, {"id": "6a95280d-156a-45b2-b235-9ca2b9015d2f", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n ret: Output = {\n \"fileUrl\": args[''fileUrls''][0] if args[''fileUrls''] else \"\"\n }\n return ret", "language": "python"}, {"id": "b770fd0c-d5ae-4f2a-8129-52839becb775", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "1e2ee2b3-0106-44ac-89db-1684220c5ad4", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "object", "properties": {"fileUrl": {"type": "string", "description": ""}}, "description": ""}}}}], "outputParams": [{"id": "ebdfcbcb-4dbd-47dc-8bd6-a5752edb2487", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "45fafbfd-5966-47ba-91af-baebe09bdab1", "from": "Input", "name": "fileUrl", "type": "String", "value": "", "description": ""}]}]}}}, "metaId": "jadeemu770", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadeemu770", "from": "jade6qm5eg", "type": "jadeEvent", "metaId": "jadexi4d2i", "runnable": true, "fromConnector": "E"}, {"to": "jadelk78r1", "from": "jadeemu770", "type": "jadeEvent", "metaId": "jade3ccnk1", "runnable": true, "fromConnector": "E"}, {"name": "条件", "type": "conditionNodeCondition", "metaId": "jade4h5wks", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "70695434-91fb-4493-87a4-e681e99d985e", "type": "if", "runnable": true, "conditions": [{"id": "a5aef4c1-af83-475e-9805-2dbff919de10", "value": [{"id": "d9df8a7c-4cc6-4147-b73e-a9db324b1bde", "from": "Reference", "name": "left", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "4a915ffb-6082-4fca-a622-71d875b34412", "from": "Input", "name": "right", "type": "Boolean", "value": true, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}, {"id": "8e60cd88-0799-4f12-9fcb-e20ccbc7ecd0", "value": [{"id": "f2552657-58f6-4def-a3c7-cab73575e5b0", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "9c8f2868-6722-4ed6-b388-3215bfbcacca", "from": "Input", "name": "right", "type": "String", "value": "请确认 上传的文件是一份简历", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "contains"}], "conditionRelation": "or"}, {"id": "32f55d87-ebf2-464f-9f78-ecd62e36f2dc", "type": "if", "runnable": true, "conditions": [{"id": "5e19d158-03a3-4315-b45c-ff2a0b384db0", "value": [{"id": "847d2cf6-5201-4628-a183-ca9ba62745f2", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "9bab7914-26b4-487e-b609-d9776b13e608", "from": "Reference", "name": "right", "type": "", "value": [], "referenceNode": ""}], "condition": "is not empty string"}], "conditionRelation": "and"}, {"id": "8650733f-4401-4155-8633-048a5726e6fe", "type": "else", "runnable": true, "conditions": [{"id": "4e7f3b9e-f609-4178-bd27-459d0683cac9", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"name": "条件_1", "type": "conditionNodeCondition", "metaId": "jade2es9ti", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "e2cefcda-b6e2-4713-ac74-f2266a10bb19", "type": "if", "runnable": true, "conditions": [{"id": "2f466536-4151-4013-b008-bf5af8a37edb", "value": [{"id": "c8601563-bbeb-497b-91f4-a1f81e08ad32", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "3543673f-ee62-4e18-82ef-c9e0ecc2e9a2", "from": "Reference", "name": "right", "type": "", "value": "", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "is empty string"}], "conditionRelation": "and"}, {"id": "99f4f4da-c3fd-4296-9b83-b0ff5a3ef595", "type": "else", "runnable": true, "conditions": [{"id": "d9733cad-0646-41f9-be5b-f39c9ac4d220", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"to": "jade2es9ti", "from": "jade4h5wks", "type": "jadeEvent", "metaId": "jade9gqfjk", "runnable": true, "fromConnector": "dynamic-1|70695434-91fb-4493-87a4-e681e99d985e"}, {"name": "智能表单", "task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/e85bd769-0212-4305-b56b-01e77faa14ff/form.png", "taskId": "115b557320ac41e1b449b8107aaa1781", "formName": "面试助手3", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "isCvFile_337878e3-7720-4ece-bf92-40d4a402625c", "from": "Input", "name": "isCvFile", "type": "String", "value": "null", "isRequired": true}, {"id": "instanceId_59f311b0-98b3-4292-8887-aba60c48e3e4", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_e5ae0061-8304-4327-958a-a6cd0f80100d", "name": "output", "type": "Object", "value": [{"id": "ab8bf709-7374-4f33-90d6-72a64254f07e", "name": "isCvFile", "type": "String", "value": "String"}]}]}}}, "type": "manualCheckNodeState", "metaId": "jade758stt", "runnable": true, "triggerMode": "manual"}, {"to": "jade758stt", "from": "jade2es9ti", "type": "jadeEvent", "metaId": "jadepke1tr", "runnable": true, "fromConnector": "dynamic-999"}, {"name": "AI提示词拼接工具", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "appId"}, {"name": "instanceId"}, {"name": "input"}], "return": {"type": "string"}, "uniqueName": "bdc009dc-969e-4839-b5d7-e9599009d50d"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "appId_0293cca7-c1ea-45b0-8ca8-b37a55f99303", "from": "Reference", "name": "appId", "type": "String", "value": ["appId"], "isRequired": true, "description": "应用ID", "referenceId": "appId", "referenceKey": "appId", "referenceNode": "_systemEnv"}, {"id": "instanceId_93f70f4f-e2b6-4518-a53e-af0ccdc99d2c", "from": "Reference", "name": "instanceId", "type": "String", "value": ["instanceId"], "isRequired": true, "description": "实例ID", "referenceId": "instanceId", "referenceKey": "instanceId", "referenceNode": "_systemEnv"}, {"id": "input_4ac2267a-fa7a-462c-ad8d-7b2936e0fac3", "from": "Reference", "name": "input", "type": "String", "value": ["Question"], "isRequired": true, "description": "用户输入", "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}], "outputParams": [{"id": "output_65d89d72-205f-4bf6-bb6e-a11bebaa8497", "name": "output", "type": "String", "value": []}]}}}, "metaId": "jadey32p7b", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "大模型", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "009c2461-9c7e-4f85-bf43-ad887acd6a8a", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f78bde02-c766-4be5-bab6-70d2f6e6de6c", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "af11f474-c1ae-4e07-ad7e-92f378a9d19d", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "5fe88d69-b7bb-4ff3-abb1-a2fbeb4ec240", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "b23e18ed-c36f-4692-9917-4971f9c1659b", "from": "Input", "name": "temperature", "type": "Number", "value": 0.7}, {"id": "cd4194cd-db96-4164-8a45-9ca4ea30cd81", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "184c22f2-c6f5-4bb6-81ca-d214eb266b35", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"}, {"id": "30eacd51-29f6-4a90-8e17-4e4ffe1ddcc6", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "155a2932-e37e-4c18-b14b-6d44b2a43ae4", "from": "Reference", "name": "isFileHandled", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "950c301c-81ba-41a6-bda5-aa37360e92a5", "from": "Reference", "name": "cvAnalyzerprompt", "type": "String", "value": ["output", "cvAnalyzerPrompt"], "referenceId": "9e3844fd-864d-4504-8f2b-dba7e919135b", "referenceKey": "cvAnalyzerPrompt", "referenceNode": "jadelk78r1"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "a7b687f8-e993-4e5a-9a10-bb6df8df25d9", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "6ec07829-b51c-4397-8670-59659e43036f", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "3733d6f2-0ea2-4dab-9f5b-423352d4af0b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "091115ca-4fd9-4265-8280-5d70cfcdcfca", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "b0a3bdd3-7a3c-4657-8288-4cf8a98d33a0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "51b4e7bb-19f5-4477-a2df-b974f8c97ba7", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jade39q3lc", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jade39q3lc", "from": "jade2es9ti", "type": "jadeEvent", "metaId": "jadeqraasb", "runnable": true, "fromConnector": "dynamic-0|e2cefcda-b6e2-4713-ac74-f2266a10bb19"}, {"name": "条件_2", "type": "conditionNodeCondition", "metaId": "jadegqixt5", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "bb4f8032-19cc-445b-a2ff-5cda77ae59e3", "type": "if", "runnable": true, "conditions": [{"id": "8085598f-b128-4749-940c-b4bda2619cba", "value": [{"id": "9a656755-91fe-47b6-a54c-4b2be274978a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "errorMessage"], "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}, {"id": "37c01598-663a-476c-9a99-202b73131d4b", "from": "Input", "name": "right", "type": "String", "value": "", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "is not empty string"}], "conditionRelation": "and"}, {"id": "319689dd-4250-4f0d-9c1b-d071013ac712", "type": "else", "runnable": true, "conditions": [{"id": "737ba1f5-dbb5-401c-9bf5-e18597f02123", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"name": "大模型_1", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "b8519f34-6d5f-42cd-b949-438f44d3210e", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "8c18f95c-1585-4e11-be07-de595ad13a92", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "8fd16d6c-b043-46dd-8b55-f0b8dee2615c", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "bd6f983c-f8e8-4538-ac66-60024d09c0a1", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "0263e85d-6125-4e27-ab7a-d2bc351cf414", "from": "Input", "name": "temperature", "type": "Number", "value": 0.6}, {"id": "1cf0a04f-2ca7-41fd-bec4-f9a1dd016c7f", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "a1335ac5-b02b-47c5-91d4-ecb945833ef3", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"}, {"id": "d6309a8b-d15b-4380-b6c6-ef000a9e5201", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "25e56c39-1668-4428-8174-116b1a906bbd", "from": "Reference", "name": "isFileHandled", "type": "Boolean", "value": ["output", "isFileHandled"], "referenceId": "bf6d9282-2bf5-4826-9be1-10756ed6d728", "referenceKey": "isFileHandled", "referenceNode": "jadelk78r1"}, {"id": "498b5c92-92ef-4ebf-9346-f2847fb88a3a", "from": "Reference", "name": "cvAnalyzerprompt", "type": "String", "value": ["output", "cvAnalyzerPrompt"], "referenceId": "9e3844fd-864d-4504-8f2b-dba7e919135b", "referenceKey": "cvAnalyzerPrompt", "referenceNode": "jadelk78r1"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "e1ad1e33-6a7c-451d-ba5a-158595cb2af8", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "3c3f111b-85ec-42c0-af8e-f3352518a29b", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "1cd6884e-c3e3-483b-baeb-d592c4f58ebf", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "7d01bbd3-df9c-4884-8d02-54b195096857", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "9e2fb06e-0276-48c8-8606-c36a31cf93b0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "3eab6484-fa97-4e06-a0cc-263d3ed5274a", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "d438bc29-a627-44c2-bd57-4bf64eceba5a", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadem1n9u5", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadem1n9u5", "from": "jadegqixt5", "type": "jadeEvent", "metaId": "jadee79arc", "runnable": true, "fromConnector": "dynamic-0|bb4f8032-19cc-445b-a2ff-5cda77ae59e3"}, {"name": "大模型_2", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "1d11a986-7dc9-4ba3-84d8-3f15810ae587", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "4ebabb28-8981-46d6-a458-953082c01f9a", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "5af05d34-4b6e-435f-872c-96fa990a1476", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "ea9b2985-96e6-480c-b065-c7cce122b57a", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "32801848-b75f-4ac0-b050-f3dfbd57e3ad", "from": "Input", "name": "temperature", "type": "Number", "value": 0.7}, {"id": "1891af57-83ff-458d-ac70-d35a7af89705", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "e9e29b94-85e2-47c8-84d2-055a77660b88", "from": "Input", "name": "template", "type": "String", "value": "{{query}}"}, {"id": "29e702cd-b721-442a-9893-81298cfa2953", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "c34fda11-8f17-4c85-96aa-35c5bb311e2a", "from": "Reference", "name": "query", "type": "String", "value": ["output"], "referenceId": "output_65d89d72-205f-4bf6-bb6e-a11bebaa8497", "referenceKey": "output", "referenceNode": "jadey32p7b"}]}]}, {"id": "dded6123-d168-44b8-8779-738d61af4859", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "2b06515f-c9d5-41bd-bfbe-e1b1382d6ec1", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "0b5e2451-ed5f-46b2-8600-8893963296e4", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "acb67126-1a1b-4430-946e-30e768712333", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "f7d670ab-1cad-4028-a9c8-c84a5a170ac1", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "29ed2025-1eaa-462a-a37a-e05677eef8c4", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "451cf45e-6250-4f08-9d73-51d94433d749", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "dab1caf6-f171-4f6d-beb7-97c913fa1637", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadedzi58q", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadedzi58q", "from": "jadey32p7b", "type": "jadeEvent", "metaId": "jadeqdcs4x", "runnable": true, "fromConnector": "E"}, {"name": "结束_2", "type": "endNodeEnd", "metaId": "jadefw1zfk", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "b6d32b12-26db-4a72-974b-7e197326e653", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "5c0e817c-8851-4350-9c5b-0ac5792a4e71", "from": "Reference", "name": "output", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "451cf45e-6250-4f08-9d73-51d94433d749", "referenceKey": "llmOutput", "referenceNode": "jadedzi58q"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "5e7a8388-8193-4f2d-a44a-094ab6fc576b", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadefw1zfk", "from": "jadedzi58q", "type": "jadeEvent", "metaId": "jadecvs6at", "runnable": true, "fromConnector": "E"}, {"name": "结束_4", "type": "endNodeEnd", "metaId": "jadexn70e2", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "5268f248-07c8-4871-8732-e007316214fc", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "1434e18b-bd1b-4286-bc2f-cfb2cb1e9c1e", "from": "Reference", "name": "output", "type": "String", "value": ["output", "errorMessage"], "editable": true, "isRequired": true, "description": "", "referenceId": "50617d76-27e1-49aa-a653-1947168d8937", "referenceKey": "errorMessage", "referenceNode": "jadelk78r1"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "e0c88e2d-1373-4606-8aaf-2d8ff330a27f", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadexn70e2", "from": "jadegqixt5", "type": "jadeEvent", "metaId": "jade2u3je1", "runnable": true, "fromConnector": "dynamic-999"}, {"to": "jadegqixt5", "from": "jade758stt", "type": "jadeEvent", "metaId": "jadet1dvap", "runnable": true, "fromConnector": "E"}, {"name": "文本提取", "type": "textExtractionNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "正在生成推荐面试问题...", "inputParams": [{"id": "extractParam_e7356380-7e19-4def-a1b5-3f7fb62c06af", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_da536c71-b299-40f0-8bca-720364fe20a0", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "3eab6484-fa97-4e06-a0cc-263d3ed5274a", "referenceKey": "llmOutput", "referenceNode": "jadem1n9u5"}, {"id": "desc_ddf67a20-776a-4c29-b741-9b5ed31a5104", "from": "Input", "name": "desc", "type": "String", "value": ""}, {"id": "outputSchema_1d2b703c-237b-40c9-9286-0d427c2b7312", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"}, {"id": "0d0a1d90-49b7-4bc6-af15-4c1c2905dadd", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "928af3d3-8671-4d93-a091-fd1662b74474", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "2ee47e96-94a7-4ee4-b616-36201338a7e4", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_236f8466-2e34-4b41-a199-a8d2843261ac", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_88d92098-2b56-4757-9fb6-08f3628e19ce", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_91b53de6-83c0-44eb-bf92-2585268d7526", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_f77ab974-f9c6-4ad3-9bcd-818fad8d96e2", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_7894b9b6-55e0-4b6e-acf8-d430e396d00c", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_a59975ed-71a1-4647-83b1-20c3aefe44f1", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_643f02b9-d709-4fc9-a04b-f9e590d96786", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "28eac6e6-2877-426a-a22c-5e425bfd2b1e", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "fa30b424-be71-443d-b18d-fbd32144e049", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "c19b4740-ce95-4483-b789-47286a19096b", "from": "Input", "name": "questions", "type": "Array", "value": "", "description": "针对简历的问题列表"}]}, {"id": "success_67bf7577-82ac-47b8-b8fa-7d7ebc53513a", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "metaId": "jade9puqh3", "runnable": true, "stageDesc": "正在生成推荐面试问题...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, {"to": "jade9puqh3", "from": "jadem1n9u5", "type": "jadeEvent", "metaId": "jade79wnvk", "runnable": true, "fromConnector": "E"}, {"to": "jadesoux5i", "from": "jade4h5wks", "type": "jadeEvent", "metaId": "jadekuuju4", "runnable": true, "fromConnector": "dynamic-1|32f55d87-ebf2-464f-9f78-ecd62e36f2dc"}, {"to": "jadey32p7b", "from": "jade4h5wks", "type": "jadeEvent", "metaId": "jade1o7wna", "runnable": true, "fromConnector": "dynamic-999"}, {"name": "智能表单_1", "task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png", "taskId": "d496c444a3174beabbcec5441aed40e2", "formName": "面试评价表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "questions_7e08f8cb-47ae-47df-b1a7-aaf62d7be03f", "from": "Reference", "name": "questions", "type": "Array", "value": ["output", "extractedParams", "questions"], "isRequired": true, "referenceId": "c19b4740-ce95-4483-b789-47286a19096b", "referenceKey": "questions", "referenceNode": "jade9puqh3"}], "outputParams": [{"id": "output_f00ac42b-c893-479b-b0ee-5cbe996c885a", "name": "output", "type": "Object", "value": [{"id": "27aa7c57-e31e-482a-98f0-bdbcc21a6138", "name": "qeMap", "type": "Array", "value": "Array"}]}]}}}, "type": "manualCheckNodeState", "metaId": "jademrtwtm", "runnable": true, "triggerMode": "manual"}, {"to": "jademrtwtm", "from": "jade9puqh3", "type": "jadeEvent", "metaId": "jadem1n5oj", "runnable": true, "fromConnector": "E"}, {"name": "大模型_3", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "fcd5702a-23f8-482e-a193-945676ca99ef", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "3a0ce6b3-8e98-4045-9323-957415084fba", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "35594014-3ca3-46b7-ac71-acd76b443952", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f3d8a723-81d0-48e2-b671-224caf7f0f17", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "1bf48ee9-ac82-4df5-be74-df96958f3f05", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "eb7a528c-c012-4374-bbf0-4a88e4727334", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "aeb114f8-9032-4be6-b9f2-a0301fd5cf05", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"}, {"id": "c4b818ba-1f8a-4f18-b196-c31bba136185", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "c709baca-8d63-4dd4-bced-e2762386a86a", "from": "Reference", "name": "qeMap", "type": "Array", "value": ["output", "qeMap"], "referenceId": "27aa7c57-e31e-482a-98f0-bdbcc21a6138", "referenceKey": "qeMap", "referenceNode": "jademrtwtm"}]}]}, {"id": "59d76a4e-1fd8-4950-9f84-6ebc17b7553c", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "a5b51a1c-68d7-4d8b-8791-9f788cd52f22", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "e1322719-1397-4dc8-a21e-674e1fb0eec0", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "892cf7e4-85c2-428d-b45b-0112a5978bd3", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "417ec551-d27e-49bc-b8ee-002a4bbd5b48", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "58e76471-8fb4-456d-9415-88192b008bd0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "23891b11-11a1-4915-80d1-53c515335dd5", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "c6b85478-009a-4ade-8bc2-a288e226e6db", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadezaa7cy", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadezaa7cy", "from": "jademrtwtm", "type": "jadeEvent", "metaId": "jadeeeqmda", "runnable": true, "fromConnector": "E"}, {"name": "结束_3", "type": "endNodeEnd", "metaId": "jadeohika6", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "73bad02b-26cb-417a-b1e0-85de07f398fa", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "aa9bc2e9-6dbf-4a6e-8d05-772f148da36e", "from": "Input", "name": "output", "type": "String", "value": "面试完成", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "519710b6-f147-4cdb-98e7-b60aa0600be5", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadeohika6", "from": "jadezaa7cy", "type": "jadeEvent", "metaId": "jadey8ppgc", "runnable": true, "fromConnector": "E"}, {"name": "文本提取_1", "type": "textExtractionNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "正在生成推荐面试问题...", "inputParams": [{"id": "c5fcdff0-2822-49c1-805d-242d38acf952", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "0fc3e0ac-307a-4c9c-8446-da801ca2a86e", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2", "referenceKey": "llmOutput", "referenceNode": "jade39q3lc"}, {"id": "bb3f946b-a504-44c9-a9e6-7271052ca40d", "from": "Input", "name": "desc", "type": "String", "value": ""}, {"id": "e99d0bd6-62f8-4f1b-80e9-72f7a2a19687", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"}, {"id": "c89f3da6-f54f-46d5-bb2d-63c4126aa682", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "de26c850-03f2-4e24-80c2-aedd0482a463", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a8bde3eb-1f41-4e9c-b591-1ea8637da7c7", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,admin"}]}, {"id": "52e82f8a-d0ec-4448-a8fa-a8ecc021a80d", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "4fb27b26-d072-41d3-a6ab-7ed461198348", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "73c5d5a6-ee64-4eae-b8e0-6afef02ce1f1", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "301ee3a6-6e1d-4046-bb13-2ab2b29e5892", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "8d0d7545-9b23-41f1-9d58-3cdf5203ea71", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "bc1fbeed-2b96-4bfd-9810-45fd2f0e01df", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "64c7d8a7-daae-44d9-9d42-f7d7ead0f5f8", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "225af02f-2c58-4e8d-bcb9-d56c6eb4b426", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "13ee6c77-3f84-4758-9ea1-6d1a17923ae4", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "b56c96ec-0b9f-44d3-8e8b-b952d171c580", "from": "Input", "name": "questions", "type": "Array", "value": "", "description": "针对简历的问题列表"}]}, {"id": "e545a304-53b9-40de-a559-f7346aa69a01", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "metaId": "jadelwn1gx", "runnable": true, "stageDesc": "正在生成推荐面试问题...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, {"to": "jadelwn1gx", "from": "jade39q3lc", "type": "jadeEvent", "metaId": "jade9m2sga", "runnable": true, "fromConnector": "E"}, {"name": "智能表单_2", "task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png", "taskId": "d496c444a3174beabbcec5441aed40e2", "formName": "面试评价表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "questions_f1544f8f-d6ec-4dc2-97d8-dbc05a5fd33b", "from": "Reference", "name": "questions", "type": "Array", "value": ["output", "extractedParams", "questions"], "isRequired": true, "referenceId": "b56c96ec-0b9f-44d3-8e8b-b952d171c580", "referenceKey": "questions", "referenceNode": "jadelwn1gx"}], "outputParams": [{"id": "output_4daf0f63-1cc3-46f9-b42a-e36e953141f7", "name": "output", "type": "Object", "value": [{"id": "6c87c01e-4cd3-483e-a646-6b1f63597e91", "name": "qeMap", "type": "Array", "value": "Array"}]}]}}}, "type": "manualCheckNodeState", "metaId": "jade22p95w", "runnable": true, "triggerMode": "manual"}, {"to": "jade22p95w", "from": "jadelwn1gx", "type": "jadeEvent", "metaId": "jade5q1tkm", "runnable": true, "fromConnector": "E"}, {"name": "大模型_4", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "a3bd214d-556f-4f1e-beac-726aec372264", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a2a846ac-8371-42f5-9617-aab697031aad", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "f313cfeb-6029-4d0d-b938-026ffa7cca1e", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "48dd4324-a11f-4d7e-bae8-f4874f526ab7", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "e05bdaeb-3cda-40a5-9144-e564f494b002", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "ee5b87db-2bb7-40a9-8836-658a2047ad98", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "41de7c20-0de4-4a75-b1a1-898c2ac9c2fd", "from": "Input", "name": "template", "type": "String", "value": "你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"}, {"id": "af7e6d67-5162-4c90-884f-9299e76ffd5a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "2e069130-be89-4292-8a00-9827309710dc", "from": "Reference", "name": "qeMap", "type": "Array", "value": ["output", "qeMap"], "referenceId": "6c87c01e-4cd3-483e-a646-6b1f63597e91", "referenceKey": "qeMap", "referenceNode": "jade22p95w"}]}]}, {"id": "52e1fdbe-6598-4a0e-8a5c-1bb8de01534e", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "9098e23e-62e6-4272-a746-7063e45710aa", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "f3dd4d91-9e84-45c4-bca2-5c27c4ae479a", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "d443924b-69a7-4519-a186-85b6bcd14edd", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "6ab5352d-1753-4f90-9c6b-2991d69dddc4", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "bf5d2b76-30ca-4cd6-bdfd-a61d70b1cf85", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "8bb45d25-fc74-45d5-8777-21670075be2e", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "2f382582-cd0c-4a4d-a994-58ba4b07dd97", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadeuhtp3b", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadeuhtp3b", "from": "jade22p95w", "type": "jadeEvent", "metaId": "jade5xr7fy", "runnable": true, "fromConnector": "E"}, {"name": "结束_1", "type": "endNodeEnd", "metaId": "jadehvxxbs", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "6d59e150-b944-42bc-a131-9e3d240f3d06", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "a1c67227-e131-4f88-93aa-e1840f3621ea", "from": "Reference", "name": "output", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "8bb45d25-fc74-45d5-8777-21670075be2e", "referenceKey": "llmOutput", "referenceNode": "jadeuhtp3b"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "b8e2ec79-b8a6-46b0-9e20-14662fabd988", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadehvxxbs", "from": "jadeuhtp3b", "type": "jadeEvent", "metaId": "jade3xtwme", "runnable": true, "fromConnector": "E"}, {"to": "jade4h5wks", "from": "jadelk78r1", "type": "jadeEvent", "metaId": "jade7dr3c3", "runnable": true, "fromConnector": "E"}], "metaId": "24f72de428124eb19fd12db36ebcfd34", "status": "active", "version": "1.0.0", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}', 'Jade', '2025-04-28 08:39:01.900125') ON CONFLICT (definition_id) DO NOTHING; + +INSERT INTO "public"."flow_graph" ("id", "version", "tenant", "status", "name", "data", "created_by", "created_at", "updated_by", "updated_at", "previous", "is_deleted") VALUES ('24f72de428124eb19fd12db36ebcfd34', '1.0.0', '31f20efc7e0848deab6a6bc10fc3021e', 'active', '24f72de428124eb19fd12db36ebcfd34', '{"id":"24f72de428124eb19fd12db36ebcfd34","title":"24f72de428124eb19fd12db36ebcfd34","source":"elsa","type":"jadeFlowGraph","tenant":"31f20efc7e0848deab6a6bc10fc3021e","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"name":"none","next":"INFORMATION"},"progressStatus":{"name":"NONE","next":"UNKNOWN","color":"gray"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{},"allNodeNumLimit":99,"sameTypeNodeNumLimit":19,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10},"pages":[{"x":-3265.2857142857183,"y":2282.8690476190486,"id":"elsa-page:tvp1s6","bold":false,"mode":"configuration","text":"newFlowPage","type":"jadeFlowPage","dirty":true,"index":0,"width":1600,"hAlign":"left","height":800,"isPage":true,"italic":false,"scaleX":0.40000000000000013,"scaleY":0.40000000000000013,"vAlign":"top","itemPad":[0,0,0,0],"division":-1,"dockMode":"none","fontFace":"arial","fontSize":18,"hideText":true,"moveable":true,"shapesAs":{},"backColor":"#fbfbfc","container":"elsa-page:tvp1s6","dockAlign":"top","fontColor":"#ECD0A7","fontStyle":"normal","itemSpace":5,"namespace":"jadeFlow","fontWeight":"bold","itemScroll":{"x":0,"y":0},"borderColor":"white","focusBackColor":"#fbfbfc","shapes":[{"x":-170.8928571428571,"y":32.5,"id":"jade6qm5eg","pad":6,"bold":false,"text":"开始","type":"startNodeStart","dirty":false,"index":0,"width":360,"height":225,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","from":"Expand","name":"input","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","from":"Input","name":"Question","type":"String","value":"","isVisible":true,"isRequired":true,"description":"这是用户输入的问题。","displayName":"用户问题","disableModifiable":true}],"config":[{"allowAdd":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","from":"Expand","name":"memory","type":"Object","value":[{"id":"a7675623-7fc7-468c-8910-e73c70e5e468","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","from":"Input","name":"type","type":"String","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","from":"Input","name":"value","type":"Integer","value":"3"}]}],"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":false,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"startComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":2726.964285714285,"y":97.26190476190459,"id":"jadesoux5i","pad":6,"bold":false,"text":"结束","type":"endNodeEnd","dirty":false,"index":1,"width":360,"height":181,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"54dab89c-5693-4082-baa7-12c648d812f7","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","from":"Reference","name":"finalOutput","type":"String","value":["output","errorMessage"],"editable":true,"isRequired":true,"description":"","referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"c4469c16-88a7-4575-b339-9a06e3305f3b","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":886.0342890059239,"y":-29.654761904761983,"id":"jadelk78r1","pad":6,"bold":false,"text":"AI简历解析插件","type":"toolInvokeNodeState","dirty":false,"index":2,"width":360,"height":185,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"fileUrl"},{"name":"instanceId"}],"return":{"type":"object"},"uniqueName":"8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"fileUrl_edfec05d-9812-429f-ae55-24df5d2e1216","from":"Reference","name":"fileUrl","type":"String","value":["output","fileUrl"],"isRequired":true,"description":"简历文件URL","referenceId":"45fafbfd-5966-47ba-91af-baebe09bdab1","referenceKey":"fileUrl","referenceNode":"jadeemu770"},{"id":"instanceId_24e98795-b3aa-4a0f-b78f-d4b059a59768","from":"Reference","name":"instanceId","type":"String","value":["instanceId"],"isRequired":true,"description":"实例ID","referenceId":"instanceId","referenceKey":"instanceId","referenceNode":"_systemEnv"}],"outputParams":[{"id":"output_5315b59e-1d27-4278-a06e-f89c7627782a","name":"output","type":"Object","value":[{"id":"bf6d9282-2bf5-4826-9be1-10756ed6d728","name":"isFileHandled","type":"Boolean","value":"Boolean"},{"id":"9e3844fd-864d-4504-8f2b-dba7e919135b","name":"cvAnalyzerPrompt","type":"String","value":"String"},{"id":"50617d76-27e1-49aa-a653-1947168d8937","name":"errorMessage","type":"String","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":337.57000329163884,"y":-111.01190476190482,"id":"jadeemu770","pad":6,"bold":false,"text":"代码","type":"codeNodeState","dirty":false,"index":3,"width":368,"height":251,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"args"},{"name":"code"},{"name":"language"},{"name":"output"}],"return":{"type":"object"},"uniqueName":"e147f301-957a-4335-a155-1e86d1a45ae5"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"98a0c373-6b03-4fd0-bc1d-101c9f1b1fd2","from":"Expand","name":"args","type":"Object","value":[{"id":"a15b25db-133c-41b4-a329-4b9bd257ad3e","from":"Reference","name":"fileUrls","type":"Array","value":["fileUrls"],"referenceId":"fileUrls","referenceKey":"fileUrls","referenceNode":"_systemEnv"}]},{"id":"6a95280d-156a-45b2-b235-9ca2b9015d2f","from":"Input","name":"code","type":"String","value":"async def main(args: Args) -> Output:\n ret: Output = {\n \"fileUrl\": args[''fileUrls''][0] if args[''fileUrls''] else \"\"\n }\n return ret","language":"python"},{"id":"b770fd0c-d5ae-4f2a-8129-52839becb775","from":"Input","name":"language","type":"String","value":"python"},{"id":"1e2ee2b3-0106-44ac-89db-1684220c5ad4","from":"Input","name":"output","type":"Object","value":{"properties":{"output":{"type":"object","description":"","properties":{"fileUrl":{"type":"string","description":""}}}}}}],"outputParams":[{"id":"ebdfcbcb-4dbd-47dc-8bd6-a5752edb2487","from":"Expand","name":"output","type":"Object","value":[{"id":"45fafbfd-5966-47ba-91af-baebe09bdab1","from":"Input","name":"fileUrl","type":"String","value":"","description":""}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"codeComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":189.1071428571429,"y":145,"id":"jadexi4d2i","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":4,"textX":0,"textY":0,"width":148.46286043449595,"hAlign":"center","height":-130.51190476190482,"italic":false,"margin":20,"toShape":"jadeemu770","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade6qm5eg","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":705.5700032916388,"y":14.488095238095184,"id":"jade3ccnk1","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":5,"textX":0,"textY":0,"width":180.4642857142851,"hAlign":"center","height":48.35714285714283,"italic":false,"margin":20,"toShape":"jadelk78r1","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeemu770","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1502.2128604344966,"y":-113.58333333333326,"id":"jade4h5wks","pad":6,"bold":false,"text":"条件","type":"conditionNodeCondition","dirty":false,"index":6,"width":600,"height":283,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"70695434-91fb-4493-87a4-e681e99d985e","type":"if","runnable":true,"conditions":[{"id":"a5aef4c1-af83-475e-9805-2dbff919de10","value":[{"id":"d9df8a7c-4cc6-4147-b73e-a9db324b1bde","from":"Reference","name":"left","type":"Boolean","value":["output","isFileHandled"],"referenceId":"bf6d9282-2bf5-4826-9be1-10756ed6d728","referenceKey":"isFileHandled","referenceNode":"jadelk78r1"},{"id":"4a915ffb-6082-4fca-a622-71d875b34412","from":"Input","name":"right","type":"Boolean","value":true,"referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"},{"id":"8e60cd88-0799-4f12-9fcb-e20ccbc7ecd0","value":[{"id":"f2552657-58f6-4def-a3c7-cab73575e5b0","from":"Reference","name":"left","type":"String","value":["output","errorMessage"],"referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"},{"id":"9c8f2868-6722-4ed6-b388-3215bfbcacca","from":"Input","name":"right","type":"String","value":"请确认 上传的文件是一份简历","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"contains"}],"conditionRelation":"or"},{"id":"32f55d87-ebf2-464f-9f78-ecd62e36f2dc","type":"if","runnable":true,"conditions":[{"id":"5e19d158-03a3-4315-b45c-ff2a0b384db0","value":[{"id":"847d2cf6-5201-4628-a183-ca9ba62745f2","from":"Reference","name":"left","type":"String","value":["output","errorMessage"],"referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"},{"id":"9bab7914-26b4-487e-b609-d9776b13e608","from":"Reference","name":"right","type":"","value":[],"referenceNode":""}],"condition":"is not empty string"}],"conditionRelation":"and"},{"id":"8650733f-4401-4155-8633-048a5726e6fe","type":"else","runnable":true,"conditions":[{"id":"4e7f3b9e-f609-4178-bd27-459d0683cac9","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2593.820003291639,"y":-446.0119047619048,"id":"jade2es9ti","pad":6,"bold":false,"text":"条件_1","type":"conditionNodeCondition","dirty":false,"index":7,"width":600,"height":227,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"e2cefcda-b6e2-4713-ac74-f2266a10bb19","type":"if","runnable":true,"conditions":[{"id":"2f466536-4151-4013-b008-bf5af8a37edb","value":[{"id":"c8601563-bbeb-497b-91f4-a1f81e08ad32","from":"Reference","name":"left","type":"String","value":["output","errorMessage"],"referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"},{"id":"3543673f-ee62-4e18-82ef-c9e0ecc2e9a2","from":"Reference","name":"right","type":"","value":"","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"is empty string"}],"conditionRelation":"and"},{"id":"99f4f4da-c3fd-4296-9b83-b0ff5a3ef595","type":"else","runnable":true,"conditions":[{"id":"d9733cad-0646-41f9-be5b-f39c9ac4d220","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2095.5463717870352,"y":7.0834256807963385,"id":"jade9gqfjk","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":8,"textX":0,"textY":0,"width":498.2736315046036,"hAlign":"center","height":-339.59533044270114,"italic":false,"margin":20,"toShape":"jade2es9ti","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade4h5wks","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|70695434-91fb-4493-87a4-e681e99d985e"},{"x":3641.320003291639,"y":-385.0119047619048,"id":"jade758stt","pad":6,"bold":false,"text":"智能表单","type":"manualCheckNodeState","dirty":true,"index":9,"width":360,"height":352,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","imgUrl":"http://localhost:8001/api/jober/static/smart_form/e85bd769-0212-4305-b56b-01e77faa14ff/form.png","taskId":"115b557320ac41e1b449b8107aaa1781","formName":"面试助手3","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"isCvFile_337878e3-7720-4ece-bf92-40d4a402625c","name":"isCvFile","type":"String","from":"Input","isRequired":true,"referenceNode":null,"referenceId":null,"referenceKey":null,"value":"null"},{"id":"instanceId_59f311b0-98b3-4292-8887-aba60c48e3e4","name":"instanceId","type":"String","from":"Reference","isRequired":true,"referenceNode":"_systemEnv","referenceId":"instanceId","referenceKey":"instanceId","value":["instanceId"]}],"outputParams":[{"id":"output_e5ae0061-8304-4327-958a-a6cd0f80100d","name":"output","type":"Object","value":[{"id":"ab8bf709-7374-4f33-90d6-72a64254f07e","name":"isCvFile","type":"String","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"manualCheckComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3187.1533525195437,"y":-278.34520249139706,"id":"jadepke1tr","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":10,"textX":0,"textY":0,"width":454.1666507720952,"hAlign":"center","height":69.33329772949224,"italic":false,"margin":20,"toShape":"jade758stt","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade2es9ti","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":2777.570003291639,"y":571.4880952380952,"id":"jadey32p7b","pad":6,"bold":false,"text":"AI提示词拼接工具","type":"toolInvokeNodeState","dirty":false,"index":11,"width":360,"height":185,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"appId"},{"name":"instanceId"},{"name":"input"}],"return":{"type":"string"},"uniqueName":"bdc009dc-969e-4839-b5d7-e9599009d50d"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"appId_0293cca7-c1ea-45b0-8ca8-b37a55f99303","from":"Reference","name":"appId","type":"String","value":["appId"],"isRequired":true,"description":"应用ID","referenceId":"appId","referenceKey":"appId","referenceNode":"_systemEnv"},{"id":"instanceId_93f70f4f-e2b6-4518-a53e-af0ccdc99d2c","from":"Reference","name":"instanceId","type":"String","value":["instanceId"],"isRequired":true,"description":"实例ID","referenceId":"instanceId","referenceKey":"instanceId","referenceNode":"_systemEnv"},{"id":"input_4ac2267a-fa7a-462c-ad8d-7b2936e0fac3","from":"Reference","name":"input","type":"String","value":["Question"],"isRequired":true,"description":"用户输入","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"}],"outputParams":[{"id":"output_65d89d72-205f-4bf6-bb6e-a11bebaa8497","name":"output","type":"String","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3412.570003291639,"y":-1506.0119047619048,"id":"jade39q3lc","pad":6,"bold":false,"text":"大模型","type":"llmNodeState","dirty":false,"index":12,"width":360,"height":343,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"009c2461-9c7e-4f85-bf43-ad887acd6a8a","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"f78bde02-c766-4be5-bab6-70d2f6e6de6c","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"af11f474-c1ae-4e07-ad7e-92f378a9d19d","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"5fe88d69-b7bb-4ff3-abb1-a2fbeb4ec240","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"b23e18ed-c36f-4692-9917-4971f9c1659b","from":"Input","name":"temperature","type":"Number","value":0.7},{"id":"cd4194cd-db96-4164-8a45-9ca4ea30cd81","from":"Expand","name":"prompt","type":"Object","value":[{"id":"184c22f2-c6f5-4bb6-81ca-d214eb266b35","from":"Input","name":"template","type":"String","value":"你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"},{"id":"30eacd51-29f6-4a90-8e17-4e4ffe1ddcc6","from":"Expand","name":"variables","type":"Object","value":[{"id":"155a2932-e37e-4c18-b14b-6d44b2a43ae4","from":"Reference","name":"isFileHandled","type":"Boolean","value":["output","isFileHandled"],"referenceId":"bf6d9282-2bf5-4826-9be1-10756ed6d728","referenceKey":"isFileHandled","referenceNode":"jadelk78r1"},{"id":"950c301c-81ba-41a6-bda5-aa37360e92a5","from":"Reference","name":"cvAnalyzerprompt","type":"String","value":["output","cvAnalyzerPrompt"],"referenceId":"9e3844fd-864d-4504-8f2b-dba7e919135b","referenceKey":"cvAnalyzerPrompt","referenceNode":"jadelk78r1"}]}]},{"id":"dded6123-d168-44b8-8779-738d61af4859","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"a7b687f8-e993-4e5a-9a10-bb6df8df25d9","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"6ec07829-b51c-4397-8670-59659e43036f","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"3733d6f2-0ea2-4dab-9f5b-423352d4af0b","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"091115ca-4fd9-4265-8280-5d70cfcdcfca","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"b0a3bdd3-7a3c-4657-8288-4cf8a98d33a0","from":"Expand","name":"output","type":"Object","value":[{"id":"ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"51b4e7bb-19f5-4477-a2df-b974f8c97ba7","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3187.1533525195437,"y":-325.3452101207916,"id":"jadeqraasb","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":13,"textX":0,"textY":0,"width":225.41665077209518,"hAlign":"center","height":-1009.1666946411133,"italic":false,"margin":20,"toShape":"jade39q3lc","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade2es9ti","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|e2cefcda-b6e2-4713-ac74-f2266a10bb19"},{"x":4292.748574720212,"y":-233.29761904761904,"id":"jadegqixt5","pad":6,"bold":false,"text":"条件_2","type":"conditionNodeCondition","dirty":false,"index":14,"width":600,"height":227,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"bb4f8032-19cc-445b-a2ff-5cda77ae59e3","type":"if","runnable":true,"conditions":[{"id":"8085598f-b128-4749-940c-b4bda2619cba","value":[{"id":"9a656755-91fe-47b6-a54c-4b2be274978a","from":"Reference","name":"left","type":"String","value":["output","errorMessage"],"referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"},{"id":"37c01598-663a-476c-9a99-202b73131d4b","from":"Input","name":"right","type":"String","value":"","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"is not empty string"}],"conditionRelation":"and"},{"id":"319689dd-4250-4f0d-9c1b-d071013ac712","type":"else","runnable":true,"conditions":[{"id":"737ba1f5-dbb5-401c-9bf5-e18597f02123","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":5110.605717577355,"y":-790.4761904761904,"id":"jadem1n9u5","pad":6,"bold":false,"text":"大模型_1","type":"llmNodeState","dirty":false,"index":15,"width":360,"height":343,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"b8519f34-6d5f-42cd-b949-438f44d3210e","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"8c18f95c-1585-4e11-be07-de595ad13a92","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"8fd16d6c-b043-46dd-8b55-f0b8dee2615c","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"bd6f983c-f8e8-4538-ac66-60024d09c0a1","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"0263e85d-6125-4e27-ab7a-d2bc351cf414","from":"Input","name":"temperature","type":"Number","value":0.6},{"id":"1cf0a04f-2ca7-41fd-bec4-f9a1dd016c7f","from":"Expand","name":"prompt","type":"Object","value":[{"id":"a1335ac5-b02b-47c5-91d4-ecb945833ef3","from":"Input","name":"template","type":"String","value":"你是一名经验丰富的专业面试官,请根据下文提供的简历信息,帮我梳理和回答以下问题:\n一、以“项目经历与专业技能总结”为题,总结候选人的项目经历、专业技能,格式如下:\n项目经历:(选择前3项经历,如果候选人项目经历不足3个,选择既有项目即可,不要做额外补充,从技术亮点、核心贡献两个维度进行总结)\n专业技能:(总结3类候选人掌握的专业技能,不总结人际沟通、团队协作、项目管理等非技术类技能)\n二、以“项目技术考察重点方向”为标题,请根据项目经历项,为每个项目建议2个技术方面的重点考察方向\n三、以“项目综合能力问题”为标题,请根据项目经历项,为每个项目准备2个考察综合能力(系统思维、影响他人的能力、学些能力、团队合作能力、抗压能力)的问题,不考察项目的具体技术实现\n四、以“专业技能重点考察方向”为标题,请根据专业技能项,为每个技能建议2个重点考察方向,考察候选人对编程语言和软件理论的掌握程度\n请用中文输出所有信息。\n以下为简历信息:\n{{cvAnalyzerprompt}}"},{"id":"d6309a8b-d15b-4380-b6c6-ef000a9e5201","from":"Expand","name":"variables","type":"Object","value":[{"id":"25e56c39-1668-4428-8174-116b1a906bbd","from":"Reference","name":"isFileHandled","type":"Boolean","value":["output","isFileHandled"],"referenceId":"bf6d9282-2bf5-4826-9be1-10756ed6d728","referenceKey":"isFileHandled","referenceNode":"jadelk78r1"},{"id":"498b5c92-92ef-4ebf-9346-f2847fb88a3a","from":"Reference","name":"cvAnalyzerprompt","type":"String","value":["output","cvAnalyzerPrompt"],"referenceId":"9e3844fd-864d-4504-8f2b-dba7e919135b","referenceKey":"cvAnalyzerPrompt","referenceNode":"jadelk78r1"}]}]},{"id":"dded6123-d168-44b8-8779-738d61af4859","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"e1ad1e33-6a7c-451d-ba5a-158595cb2af8","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"3c3f111b-85ec-42c0-af8e-f3352518a29b","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"1cd6884e-c3e3-483b-baeb-d592c4f58ebf","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"7d01bbd3-df9c-4884-8d02-54b195096857","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"9e2fb06e-0276-48c8-8606-c36a31cf93b0","from":"Expand","name":"output","type":"Object","value":[{"id":"3eab6484-fa97-4e06-a0cc-263d3ed5274a","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"d438bc29-a627-44c2-bd57-4bf64eceba5a","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":4886.081819043942,"y":-112.63091010139105,"id":"jadee79arc","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":16,"textX":0,"textY":0,"width":224.52389853341265,"hAlign":"center","height":-506.3452803747993,"italic":false,"margin":20,"toShape":"jadem1n9u5","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadegqixt5","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|bb4f8032-19cc-445b-a2ff-5cda77ae59e3"},{"x":3451.3200032916393,"y":321.4880952380952,"id":"jadedzi58q","pad":6,"bold":false,"text":"大模型_2","type":"llmNodeState","dirty":false,"index":17,"width":360,"height":343,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"1d11a986-7dc9-4ba3-84d8-3f15810ae587","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"4ebabb28-8981-46d6-a458-953082c01f9a","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"5af05d34-4b6e-435f-872c-96fa990a1476","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"ea9b2985-96e6-480c-b065-c7cce122b57a","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"32801848-b75f-4ac0-b050-f3dfbd57e3ad","from":"Input","name":"temperature","type":"Number","value":0.7},{"id":"1891af57-83ff-458d-ac70-d35a7af89705","from":"Expand","name":"prompt","type":"Object","value":[{"id":"e9e29b94-85e2-47c8-84d2-055a77660b88","from":"Input","name":"template","type":"String","value":"{{query}}"},{"id":"29e702cd-b721-442a-9893-81298cfa2953","from":"Expand","name":"variables","type":"Object","value":[{"id":"c34fda11-8f17-4c85-96aa-35c5bb311e2a","from":"Reference","name":"query","type":"String","value":["output"],"referenceId":"output_65d89d72-205f-4bf6-bb6e-a11bebaa8497","referenceKey":"output","referenceNode":"jadey32p7b"}]}]},{"id":"dded6123-d168-44b8-8779-738d61af4859","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"2b06515f-c9d5-41bd-bfbe-e1b1382d6ec1","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"0b5e2451-ed5f-46b2-8600-8893963296e4","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"acb67126-1a1b-4430-946e-30e768712333","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"f7d670ab-1cad-4028-a9c8-c84a5a170ac1","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"29ed2025-1eaa-462a-a37a-e05677eef8c4","from":"Expand","name":"output","type":"Object","value":[{"id":"451cf45e-6250-4f08-9d73-51d94433d749","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"dab1caf6-f171-4f6d-beb7-97c913fa1637","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3137.570003291639,"y":663.9880952380952,"id":"jadeqdcs4x","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":18,"textX":0,"textY":0,"width":313.75000000000045,"hAlign":"center","height":-171,"italic":false,"margin":20,"toShape":"jadedzi58q","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadey32p7b","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4101.320003291639,"y":470.2380952380952,"id":"jadefw1zfk","pad":6,"bold":false,"text":"结束_2","type":"endNodeEnd","dirty":false,"index":19,"width":360,"height":181,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"b6d32b12-26db-4a72-974b-7e197326e653","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"5c0e817c-8851-4350-9c5b-0ac5792a4e71","from":"Reference","name":"output","type":"String","value":["output","llmOutput"],"editable":true,"isRequired":true,"description":"","referenceId":"451cf45e-6250-4f08-9d73-51d94433d749","referenceKey":"llmOutput","referenceNode":"jadedzi58q"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"5e7a8388-8193-4f2d-a44a-094ab6fc576b","from":"Input","name":"enableLog","type":"Boolean","value":false}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":3811.3200032916393,"y":492.9880952380952,"id":"jadecvs6at","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":20,"textX":0,"textY":0,"width":290,"hAlign":"center","height":67.75,"italic":false,"margin":20,"toShape":"jadefw1zfk","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadedzi58q","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":5366.320003291639,"y":447.7380952380952,"id":"jadexn70e2","pad":6,"bold":false,"text":"结束_4","type":"endNodeEnd","dirty":false,"index":21,"width":360,"height":181,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"5268f248-07c8-4871-8732-e007316214fc","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"1434e18b-bd1b-4286-bc2f-cfb2cb1e9c1e","from":"Reference","name":"output","type":"String","value":["output","errorMessage"],"editable":true,"isRequired":true,"description":"","referenceId":"50617d76-27e1-49aa-a653-1947168d8937","referenceKey":"errorMessage","referenceNode":"jadelk78r1"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"e0c88e2d-1373-4606-8aaf-2d8ff330a27f","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":4886.081819043942,"y":-65.6309930710566,"id":"jade2u3je1","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":22,"textX":0,"textY":0,"width":480.23818424769706,"hAlign":"center","height":603.8690883091517,"italic":false,"margin":20,"toShape":"jadexn70e2","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadegqixt5","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":4001.320003291639,"y":-209.01190476190482,"id":"jadet1dvap","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":23,"textX":0,"textY":0,"width":291.4285714285729,"hAlign":"center","height":89.21428571428578,"italic":false,"margin":20,"toShape":"jadegqixt5","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade758stt","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":5660.4628604345,"y":-664.6309523809527,"id":"jade9puqh3","pad":6,"bold":false,"text":"文本提取","type":"textExtractionNodeState","dirty":false,"index":24,"width":360,"height":333,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"extractParam"},{"name":"memoryConfig"},{"name":"memorySwitch"},{"name":"histories"}],"return":{"type":"object"},"uniqueName":"3bca6a3f-9623-4228-b120-1a5e0d41dc14"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"stageDesc":"正在生成推荐面试问题...","inputParams":[{"id":"extractParam_e7356380-7e19-4def-a1b5-3f7fb62c06af","from":"Expand","name":"extractParam","type":"Object","value":[{"id":"text_da536c71-b299-40f0-8bca-720364fe20a0","from":"Reference","name":"text","type":"String","value":["output","llmOutput"],"referenceId":"3eab6484-fa97-4e06-a0cc-263d3ed5274a","referenceKey":"llmOutput","referenceNode":"jadem1n9u5"},{"id":"desc_ddf67a20-776a-4c29-b741-9b5ed31a5104","from":"Input","name":"desc","type":"String","value":""},{"id":"outputSchema_1d2b703c-237b-40c9-9286-0d427c2b7312","from":"Input","name":"outputSchema","type":"String","value":"{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"},{"id":"0d0a1d90-49b7-4bc6-af15-4c1c2905dadd","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"928af3d3-8671-4d93-a091-fd1662b74474","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"2ee47e96-94a7-4ee4-b616-36201338a7e4","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"temperature_236f8466-2e34-4b41-a199-a8d2843261ac","from":"Input","name":"temperature","type":"Number","value":"0.3"}]},{"id":"memoryConfig_88d92098-2b56-4757-9fb6-08f3628e19ce","from":"Expand","name":"memoryConfig","type":"Object","value":[{"id":"windowAlg_91b53de6-83c0-44eb-bf92-2585268d7526","from":"Input","name":"windowAlg","type":"String","value":"buffer_window"},{"id":"serializeAlg_f77ab974-f9c6-4ad3-9bcd-818fad8d96e2","from":"Input","name":"serializeAlg","type":"String","value":"full"},{"id":"property_7894b9b6-55e0-4b6e-acf8-d430e396d00c","from":"Input","name":"property","type":"Integer","value":"0"}]},{"id":"memorySwitch_a59975ed-71a1-4647-83b1-20c3aefe44f1","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"histories_643f02b9-d709-4fc9-a04b-f9e590d96786","from":"Reference","name":"histories","type":"Array","value":["memories"],"referenceId":"memories","referenceKey":"memories","referenceNode":"_systemEnv"}],"outputParams":[{"id":"28eac6e6-2877-426a-a22c-5e425bfd2b1e","from":"Expand","name":"output","type":"Object","value":[{"id":"fa30b424-be71-443d-b18d-fbd32144e049","from":"Expand","name":"extractedParams","type":"Object","value":[{"id":"c19b4740-ce95-4483-b789-47286a19096b","from":"Input","name":"questions","type":"Array","value":"","description":"针对简历的问题列表"}]},{"id":"success_67bf7577-82ac-47b8-b8fa-7d7ebc53513a","from":"Input","name":"success","type":"Boolean","value":"Boolean"}]}],"enableStageDesc":true,"jadeNodeConfigChangeIgnored":false}}},"stageDesc":"正在生成推荐面试问题...","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","enableStageDesc":true},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"textExtractionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":5470.605717577355,"y":-618.9761904761904,"id":"jade79wnvk","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":25,"textX":0,"textY":0,"width":189.85714285714494,"hAlign":"center","height":120.84523809523762,"italic":false,"margin":20,"toShape":"jade9puqh3","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadem1n9u5","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2095.5463717870352,"y":63.08343664805096,"id":"jadekuuju4","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":26,"textX":0,"textY":0,"width":631.4179139272496,"hAlign":"center","height":124.67846811385363,"italic":false,"margin":20,"toShape":"jadesoux5i","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade4h5wks","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|32f55d87-ebf2-464f-9f78-ecd62e36f2dc"},{"x":2095.5463717870352,"y":110.08335367838541,"id":"jade1o7wna","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":27,"textX":0,"textY":0,"width":682.0236315046036,"hAlign":"center","height":553.9047415597098,"italic":false,"margin":20,"toShape":"jadey32p7b","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade4h5wks","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":6189.070031819352,"y":-567.4536159624079,"id":"jademrtwtm","pad":6,"bold":false,"text":"智能表单_1","type":"manualCheckNodeState","dirty":true,"index":28,"width":360,"height":473,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","imgUrl":"http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png","taskId":"d496c444a3174beabbcec5441aed40e2","formName":"面试评价表单","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"questions_7e08f8cb-47ae-47df-b1a7-aaf62d7be03f","name":"questions","type":"Array","from":"Reference","isRequired":true,"referenceNode":"jade9puqh3","referenceId":"c19b4740-ce95-4483-b789-47286a19096b","referenceKey":"questions","value":["output","extractedParams","questions"]}],"outputParams":[{"id":"output_f00ac42b-c893-479b-b0ee-5cbe996c885a","name":"output","type":"Object","value":[{"id":"27aa7c57-e31e-482a-98f0-bdbcc21a6138","name":"qeMap","type":"Array","value":"Array"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"manualCheckComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":6020.4628604345,"y":-498.13095238095275,"id":"jadem1n5oj","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":29,"textX":0,"textY":0,"width":168.60717138485234,"hAlign":"center","height":167.17733641854488,"italic":false,"margin":20,"toShape":"jademrtwtm","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade9puqh3","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":6915.736698486009,"y":-872.4536159624076,"id":"jadezaa7cy","pad":6,"bold":false,"text":"大模型_3","type":"llmNodeState","dirty":true,"index":30,"width":360,"height":411,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"fcd5702a-23f8-482e-a193-945676ca99ef","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"3a0ce6b3-8e98-4045-9323-957415084fba","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"35594014-3ca3-46b7-ac71-acd76b443952","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"f3d8a723-81d0-48e2-b671-224caf7f0f17","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"1bf48ee9-ac82-4df5-be74-df96958f3f05","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"eb7a528c-c012-4374-bbf0-4a88e4727334","from":"Expand","name":"prompt","type":"Object","value":[{"id":"aeb114f8-9032-4be6-b9f2-a0301fd5cf05","from":"Input","name":"template","type":"String","value":"你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"},{"id":"c4b818ba-1f8a-4f18-b196-c31bba136185","from":"Expand","name":"variables","type":"Object","value":[{"id":"c709baca-8d63-4dd4-bced-e2762386a86a","from":"Reference","name":"qeMap","type":"Array","value":["output","qeMap"],"referenceId":"27aa7c57-e31e-482a-98f0-bdbcc21a6138","referenceKey":"qeMap","referenceNode":"jademrtwtm"}]}]},{"id":"59d76a4e-1fd8-4950-9f84-6ebc17b7553c","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"a5b51a1c-68d7-4d8b-8791-9f788cd52f22","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"e1322719-1397-4dc8-a21e-674e1fb0eec0","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"892cf7e4-85c2-428d-b45b-0112a5978bd3","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"417ec551-d27e-49bc-b8ee-002a4bbd5b48","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"58e76471-8fb4-456d-9415-88192b008bd0","from":"Expand","name":"output","type":"Object","value":[{"id":"23891b11-11a1-4915-80d1-53c515335dd5","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"c6b85478-009a-4ade-8bc2-a288e226e6db","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":6549.070031819352,"y":-330.95361596240787,"id":"jadeeeqmda","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":31,"textX":0,"textY":0,"width":366.66666666665697,"hAlign":"center","height":-335.9999999999998,"italic":false,"margin":20,"toShape":"jadezaa7cy","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jademrtwtm","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":7634.070031819344,"y":-579.1202826290745,"id":"jadeohika6","pad":6,"bold":false,"text":"结束_3","type":"endNodeEnd","dirty":false,"index":32,"width":360,"height":181,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"73bad02b-26cb-417a-b1e0-85de07f398fa","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"aa9bc2e9-6dbf-4a6e-8d05-772f148da36e","from":"Input","name":"output","type":"String","value":"面试完成","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"519710b6-f147-4cdb-98e7-b60aa0600be5","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":7275.736698486009,"y":-666.9536159624076,"id":"jadey8ppgc","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":33,"textX":0,"textY":0,"width":358.33333333333485,"hAlign":"center","height":178.33333333333314,"italic":false,"margin":20,"toShape":"jadeohika6","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadezaa7cy","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4079.0700318193494,"y":-1339.1202826290773,"id":"jadelwn1gx","pad":6,"bold":false,"text":"文本提取_1","type":"textExtractionNodeState","dirty":false,"index":34,"width":360,"height":333,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"extractParam"},{"name":"memoryConfig"},{"name":"memorySwitch"},{"name":"histories"}],"return":{"type":"object"},"uniqueName":"3bca6a3f-9623-4228-b120-1a5e0d41dc14"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"stageDesc":"正在生成推荐面试问题...","inputParams":[{"id":"c5fcdff0-2822-49c1-805d-242d38acf952","from":"Expand","name":"extractParam","type":"Object","value":[{"id":"0fc3e0ac-307a-4c9c-8446-da801ca2a86e","from":"Reference","name":"text","type":"String","value":["output","llmOutput"],"referenceId":"ec24f7c3-3c2e-4f9c-b5e1-3ef129e9ddf2","referenceKey":"llmOutput","referenceNode":"jade39q3lc"},{"id":"bb3f946b-a504-44c9-a9e6-7271052ca40d","from":"Input","name":"desc","type":"String","value":""},{"id":"e99d0bd6-62f8-4f1b-80e9-72f7a2a19687","from":"Input","name":"outputSchema","type":"String","value":"{\"type\":\"object\",\"properties\":{\"questions\":{\"type\":\"array\",\"description\":\"针对简历的问题列表\"}}}"},{"id":"c89f3da6-f54f-46d5-bb2d-63c4126aa682","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"de26c850-03f2-4e24-80c2-aedd0482a463","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"a8bde3eb-1f41-4e9c-b591-1ea8637da7c7","from":"Input","name":"tag","type":"String","value":"SiliconFlow,admin"}]},{"id":"52e82f8a-d0ec-4448-a8fa-a8ecc021a80d","from":"Input","name":"temperature","type":"Number","value":"0.3"}]},{"id":"4fb27b26-d072-41d3-a6ab-7ed461198348","from":"Expand","name":"memoryConfig","type":"Object","value":[{"id":"73c5d5a6-ee64-4eae-b8e0-6afef02ce1f1","from":"Input","name":"windowAlg","type":"String","value":"buffer_window"},{"id":"301ee3a6-6e1d-4046-bb13-2ab2b29e5892","from":"Input","name":"serializeAlg","type":"String","value":"full"},{"id":"8d0d7545-9b23-41f1-9d58-3cdf5203ea71","from":"Input","name":"property","type":"Integer","value":"0"}]},{"id":"bc1fbeed-2b96-4bfd-9810-45fd2f0e01df","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"64c7d8a7-daae-44d9-9d42-f7d7ead0f5f8","from":"Reference","name":"histories","type":"Array","value":["memories"],"referenceId":"memories","referenceKey":"memories","referenceNode":"_systemEnv"}],"outputParams":[{"id":"225af02f-2c58-4e8d-bcb9-d56c6eb4b426","from":"Expand","name":"output","type":"Object","value":[{"id":"13ee6c77-3f84-4758-9ea1-6d1a17923ae4","from":"Expand","name":"extractedParams","type":"Object","value":[{"id":"b56c96ec-0b9f-44d3-8e8b-b952d171c580","from":"Input","name":"questions","type":"Array","value":"","description":"针对简历的问题列表"}]},{"id":"e545a304-53b9-40de-a559-f7346aa69a01","from":"Input","name":"success","type":"Boolean","value":"Boolean"}]}],"enableStageDesc":true,"jadeNodeConfigChangeIgnored":false}}},"stageDesc":"正在生成推荐面试问题...","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","enableStageDesc":true},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"textExtractionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3772.570003291639,"y":-1334.5119047619048,"id":"jade9m2sga","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":35,"textX":0,"textY":0,"width":306.5000285277106,"hAlign":"center","height":161.89162213282748,"italic":false,"margin":20,"toShape":"jadelwn1gx","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade39q3lc","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4615.403365152686,"y":-1370.786949295743,"id":"jade22p95w","pad":6,"bold":false,"text":"智能表单_2","type":"manualCheckNodeState","dirty":true,"index":36,"width":360,"height":314,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","imgUrl":"http://localhost:8001/api/jober/static/smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png","taskId":"d496c444a3174beabbcec5441aed40e2","formName":"面试评价表单","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"questions_f1544f8f-d6ec-4dc2-97d8-dbc05a5fd33b","name":"questions","type":"Array","from":"Reference","isRequired":true,"referenceNode":"jadelwn1gx","referenceId":"b56c96ec-0b9f-44d3-8e8b-b952d171c580","referenceKey":"questions","value":["output","extractedParams","questions"]}],"outputParams":[{"id":"output_4daf0f63-1cc3-46f9-b42a-e36e953141f7","name":"output","type":"Object","value":[{"id":"6c87c01e-4cd3-483e-a646-6b1f63597e91","name":"qeMap","type":"Array","value":"Array"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"manualCheckComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":4439.070031819349,"y":-1172.6202826290773,"id":"jade5q1tkm","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":37,"textX":0,"textY":0,"width":176.33333333333667,"hAlign":"center","height":-41.166666666665606,"italic":false,"margin":20,"toShape":"jade22p95w","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadelwn1gx","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":5333.0700318193485,"y":-1757.7869492957443,"id":"jadeuhtp3b","pad":6,"bold":false,"text":"大模型_4","type":"llmNodeState","dirty":false,"index":38,"width":360,"height":411,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"a3bd214d-556f-4f1e-beac-726aec372264","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"a2a846ac-8371-42f5-9617-aab697031aad","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"f313cfeb-6029-4d0d-b938-026ffa7cca1e","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"48dd4324-a11f-4d7e-bae8-f4874f526ab7","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"e05bdaeb-3cda-40a5-9144-e564f494b002","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"ee5b87db-2bb7-40a9-8836-658a2047ad98","from":"Expand","name":"prompt","type":"Object","value":[{"id":"41de7c20-0de4-4a75-b1a1-898c2ac9c2fd","from":"Input","name":"template","type":"String","value":"你是一名经验丰富的专业面试官,当前你已经完成了面试提问,并对面试者的回答进行的评价。请根据以下信息,帮我总结面试者的整体表现情况:\n\n请用中文输出所有信息,严格按照我给你的信息进行总结,不要杜撰不存在的事情。\n\n以下为面试者回答的问题以及你的评价, 其中问题内容在“question:”后,评价内容在“evaluate”后。\n{{qeMap}}"},{"id":"af7e6d67-5162-4c90-884f-9299e76ffd5a","from":"Expand","name":"variables","type":"Object","value":[{"id":"2e069130-be89-4292-8a00-9827309710dc","from":"Reference","name":"qeMap","type":"Array","value":["output","qeMap"],"referenceId":"6c87c01e-4cd3-483e-a646-6b1f63597e91","referenceKey":"qeMap","referenceNode":"jade22p95w"}]}]},{"id":"52e1fdbe-6598-4a0e-8a5c-1bb8de01534e","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"9098e23e-62e6-4272-a746-7063e45710aa","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"f3dd4d91-9e84-45c4-bca2-5c27c4ae479a","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"d443924b-69a7-4519-a186-85b6bcd14edd","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"6ab5352d-1753-4f90-9c6b-2991d69dddc4","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"bf5d2b76-30ca-4cd6-bdfd-a61d70b1cf85","from":"Expand","name":"output","type":"Object","value":[{"id":"8bb45d25-fc74-45d5-8777-21670075be2e","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"2f382582-cd0c-4a4d-a994-58ba4b07dd97","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":4975.403365152686,"y":-1213.786949295743,"id":"jade5xr7fy","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":39,"textX":0,"textY":0,"width":357.6666666666624,"hAlign":"center","height":-338.50000000000136,"italic":false,"margin":20,"toShape":"jadeuhtp3b","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade22p95w","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":6125.736698486013,"y":-1567.4536159624104,"id":"jadehvxxbs","pad":6,"bold":false,"text":"结束_1","type":"endNodeEnd","dirty":false,"index":40,"width":360,"height":181,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"6d59e150-b944-42bc-a131-9e3d240f3d06","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"a1c67227-e131-4f88-93aa-e1840f3621ea","from":"Reference","name":"output","type":"String","value":["output","llmOutput"],"editable":true,"isRequired":true,"description":"","referenceId":"8bb45d25-fc74-45d5-8777-21670075be2e","referenceKey":"llmOutput","referenceNode":"jadeuhtp3b"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"b8e2ec79-b8a6-46b0-9e20-14662fabd988","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":5693.0700318193485,"y":-1552.2869492957443,"id":"jade3xtwme","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":41,"textX":0,"textY":0,"width":432.66666666666424,"hAlign":"center","height":75.33333333333394,"italic":false,"margin":20,"toShape":"jadehvxxbs","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeuhtp3b","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1246.034289005924,"y":62.84523809523802,"id":"jade7dr3c3","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":42,"textX":0,"textY":0,"width":256.1785714285727,"hAlign":"center","height":-34.928571428571274,"italic":false,"margin":20,"toShape":"jade4h5wks","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadelk78r1","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"}]}],"enableText":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.fitable.FlowInfoCallback"]},"enableOutputScope":true,"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler","modelengine.fit.jober.fitable.FlowInfoException"]},"version":"1.0.0"}', 'Jade', '2025-04-28 08:39:01.380192', 'Jade', '2025-04-28 08:39:01.90698', NULL, 'f') ON CONFLICT (id, version) DO NOTHING; + +INSERT INTO "public"."task_new" ("id", "name", "version", "template_id", "tenant_id", "attributes", "created_by", "created_at", "updated_by", "updated_at", "is_deleted") VALUES ('ea29812bde61441b8f530d7a08dcd7a6', '面试助手-v3', '1.0.0', 'ec6f8e93a80541bb930fc22678ef7043', '31f20efc7e0848deab6a6bc10fc3021e', '{"app_id": "fd8166b5005e4d66a77d318f3b1dd5e5", "version": "1.0.0", "aipp_type": "NORMAL", "meta_icon": "", "publish_at": "2025-04-28T08:39:03.015862656", "description": "", "meta_status": "active", "unique_name": "e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf", "flow_config_id": "24f72de428124eb19fd12db36ebcfd34", "flow_definition_id": "0e58b12cdafd476a81d4da70dce8175a", "publish_update_log": "", "publish_description": ""}', 'Jade', '2025-04-28 08:39:01.860385', 'Jade', '2025-04-28 08:39:03.032764', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('AI简历解析插件', '{"name":"AI简历解析插件","description":"解析简历内容,填充提示词模板,输出大模型提示词","parameters":{"type":"object","properties":{"fileUrl":{"type":"string","description":"简历文件URL"},"instanceId":{"type":"string","description":"实例ID"}},"required":["fileUrl","instanceId"]},"order":["fileUrl","instanceId"],"return":{"description":"Map结构包含提示词,插件处理过文件的标志位以及错误信息","type":"object","properties":{"isFileHandled":{"type":"boolean"},"cvAnalyzerPrompt":{"type":"string"},"errorMessage":{"type":"string"}},"converter":""}}', '{"FIT":{"fitableId":"cv.analyzer","genericableId":"modelengine.fit.jober.aipp.tool.cv.analyzer"}}', '{}', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '1.0.0', 't', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8') ON CONFLICT("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('AI提示词拼接工具', '{"name":"AI提示词拼接工具","description":"这是一个对用户输入提示词进行拼接的工具。","parameters":{"type":"object","properties":{"appId":{"type":"string","description":"应用ID"},"instanceId":{"type":"string","description":"实例ID"},"input":{"type":"string","description":"用户输入"}},"required":["appId","instanceId","input"],"order":["appId","instanceId","input"]},"return":{"type":"string"}}', '{"FIT":{"genericableId":"modelengine.fit.jober.aipp.tool.prompt.word.splice","fitableId":"prompt.word.splice","alias":"prompt.word.splice"}}', '{}', 'bdc009dc-969e-4839-b5d7-e9599009d50d', '1.0.0', 't', 'bdc009dc-969e-4839-b5d7-e9599009d50d', 'bdc009dc-969e-4839-b5d7-e9599009d50d', 'bdc009dc-969e-4839-b5d7-e9599009d50d') ON CONFLICT("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('面试助手-v3', '{"name":"面试助手-v3","description":"","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"ec6f8e93a80541bb930fc22678ef7043","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '{"FIT":{"fitableId":"water.flow.invoke","genericableId":"07b51bd246594c159d403164369ce1db"},"APP":{"aippId":"ec6f8e93a80541bb930fc22678ef7043","appCategory":"chatbot","version":"1.0.0","appId":"fd8166b5005e4d66a77d318f3b1dd5e5"}}', 'null', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', '1.0.0', 't', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf') ON CONFLICT("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_app" ("source", "icon", "app_category", "tool_name", "tool_unique_name") VALUES ('system', '', 'chatbot', '面试助手-v3', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf') ON CONFLICT("tool_unique_name") DO NOTHING;; + +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '{"name":"AI简历解析插件","description":"解析简历内容,填充提示词模板,输出大模型提示词","parameters":{"type":"object","properties":{"fileUrl":{"type":"string","description":"简历文件URL"},"instanceId":{"type":"string","description":"实例ID"}},"required":["fileUrl","instanceId"]},"order":["fileUrl","instanceId"],"return":{"description":"Map结构包含提示词,插件处理过文件的标志位以及错误信息","type":"object","properties":{"isFileHandled":{"type":"boolean"},"cvAnalyzerPrompt":{"type":"string"},"errorMessage":{"type":"string"}},"converter":""}}', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8') ON CONFLICT("name", "definition_group_name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', '{"name":"AI提示词拼接工具","description":"这是一个对用户输入提示词进行拼接的工具。","parameters":{"type":"object","properties":{"appId":{"type":"string","description":"应用ID"},"instanceId":{"type":"string","description":"实例ID"},"input":{"type":"string","description":"用户输入"}},"required":["appId","instanceId","input"],"order":["appId","instanceId","input"]},"return":{"type":"string"}}', 'bdc009dc-969e-4839-b5d7-e9599009d50d') ON CONFLICT("name", "definition_group_name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', '{"name":"e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf","description":"","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"ec6f8e93a80541bb930fc22678ef7043","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf') ON CONFLICT("name", "definition_group_name") DO NOTHING; + +INSERT INTO "public"."store_definition_group" ("name", "summary", "description", "extensions") VALUES ('e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'no summary', 'no desc', 'null') ON CONFLICT("name") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', 'FIT') ON CONFLICT("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', 'BUILTIN') ON CONFLICT("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', 'FIT') ON CONFLICT("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', 'BUILTIN') ON CONFLICT("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'APP') ON CONFLICT("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'APP_TYPE_4DB152B24F94473AB683B1ACBFE3C865') ON CONFLICT("tool_unique_name", "name") DO NOTHING; + +INSERT INTO "public"."store_tool_group" ("name", "definition_group_name", "summary", "description", "extensions") VALUES ('e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'e8bbd29c-e529-4c8e-abdb-b355b2d8dcdf', 'no summary', 'no desc', 'null') ON CONFLICT("name") DO NOTHING; + +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin", "source", "icon") VALUES ('eb5adfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce8', 'AI提示词拼接工具', '{}', 'DEPLOYED', 't', '', NULL) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin", "source", "icon") VALUES ('f13a2bd6bdb5afdb2ce166fb2da6c445057b7e092791c743f9b8238dd78a62dd', 'AI简历解析插件', '{"artifactId":"aipp-plugin","groupId":"modelengine.fit.jober","checksum":"aba5bd4a9ad359ede54794a189d36a2e77c6d611af6a4aef6c63bbd588c61b24","type":"java","description":"AI简历解析插件","pluginFullName":"aipp-plugin-0.1.0-SNAPSHOT_1726059364182.jar","pluginName":"AI简历解析插件"}', 'DEPLOYED', 't', '', NULL) ON CONFLICT ("plugin_id") DO NOTHING; + +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES ('AI简历解析插件', 'f13a2bd6bdb5afdb2ce166fb2da6c445057b7e092791c743f9b8238dd78a62dd', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '', NULL) ON CONFLICT("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES ('AI提示词拼接工具', 'eb5adfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce8', 'bdc009dc-969e-4839-b5d7-e9599009d50d', '', NULL) ON CONFLICT("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version") VALUES ('d496c444a3174beabbcec5441aed40e2', '面试评价表单', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/7958d851-8062-49bd-b21e-d7372991c905/form.png", "schema": {"return": {"type": "object", "properties": {"qeMap": {"type": "array", "items": {"type": "object", "properties": {"evaluate": {"type": "string"}, "question": {"type": "string"}}}}}}, "parameters": {"type": "object", "required": ["questions"], "properties": {"questions": {"type": "array", "items": {"type": "string"}}}}}, "fileName": "面试评价表单.zip", "fileSize": 262789, "fileUuid": "3efef5019030460f8865c6f4e6ba419f", "iframeUrl": "smart_form/7958d851-8062-49bd-b21e-d7372991c905/build/index.html", "description": ""}', 'runtime', 'Jade', '2025-04-19 09:49:29.027086', 'Jade', '2025-04-19 09:49:29.027109', 0, '2a9a4ec42ea348a2882461139dd6639d', '1.0.0') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version") VALUES ('115b557320ac41e1b449b8107aaa1781', '面试助手3', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/e85bd769-0212-4305-b56b-01e77faa14ff/form.png", "schema": {"return": {"type": "object", "properties": {"isCvFile": {"type": "string"}}}, "parameters": {"type": "object", "required": ["instanceId", "isCvFile"], "properties": {"isCvFile": {"type": "string"}, "instanceId": {"type": "string"}}}}, "fileName": "面试助手3.zip", "fileSize": 163980, "fileUuid": "4f77cacd52d2466abf7b983ff1d8628e", "iframeUrl": "smart_form/e85bd769-0212-4305-b56b-01e77faa14ff/build/index.html", "description": ""}', 'runtime', 'Jade', '2025-04-19 09:49:42.73549', 'Jade', '2025-04-19 09:49:42.735504', 0, 'f4e58718ca3a409abea5d34b11776bfc', '1.0.0') ON CONFLICT (id) DO NOTHING; + +SELECT MAX(id) FROM store_tag; +SELECT setval('store_tag_id_seq', (SELECT MAX(id) FROM store_tag)); +SELECT MAX(id) FROM store_tool; +SELECT setval('store_tool_id_seq', (SELECT MAX(id) FROM store_tool)); + + + diff --git a/app-builder/jane/jober/sql/jade/02_appbuilder_create.sql b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/appbuilder_create.sql similarity index 100% rename from app-builder/jane/jober/sql/jade/02_appbuilder_create.sql rename to app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/appbuilder_create.sql diff --git a/app-builder/jane/jober/sql/create/flowsengine/flowsengine.postgres.create.sql b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/general_create.sql similarity index 66% rename from app-builder/jane/jober/sql/create/flowsengine/flowsengine.postgres.create.sql rename to app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/general_create.sql index 1e1ab274f9..c17ee920dd 100644 --- a/app-builder/jane/jober/sql/create/flowsengine/flowsengine.postgres.create.sql +++ b/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema/create_tables/general_create.sql @@ -1,3 +1,4 @@ +-- 流程相关 CREATE TABLE IF NOT EXISTS flow_definition ( definition_id VARCHAR(32) PRIMARY KEY, @@ -7,7 +8,7 @@ CREATE TABLE IF NOT EXISTS flow_definition version VARCHAR(16) NOT NULL, status VARCHAR(32) NOT NULL, graph JSONB NOT NULL, - created_by VARCHAR(127) NOT NULL, + created_by VARCHAR(32) NOT NULL, created_at timestamp without time zone NOT NULL ); @@ -24,12 +25,11 @@ comment on column flow_definition.created_at is '表示创建时间。'; CREATE UNIQUE INDEX IF NOT EXISTS UK_FLOW_NAME_VERSION ON flow_definition (name, version); CREATE UNIQUE INDEX IF NOT EXISTS UK_FLOW_META_ID_VERSION ON flow_definition (meta_id, version); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_DEFINITION_ID ON flow_definition (definition_id); CREATE TABLE IF NOT EXISTS flow_context ( context_id VARCHAR(32) NOT NULL PRIMARY KEY, - trace_id TEXT NOT NULL, + trace_id VARCHAR(32) NOT NULL, trans_id VARCHAR(32) NOT NULL, root_id VARCHAR(32) NOT NULL, stream_id VARCHAR(64) NOT NULL, @@ -41,6 +41,7 @@ CREATE TABLE IF NOT EXISTS flow_context parallel_mode VARCHAR(10), previous VARCHAR(32), batch_id VARCHAR(32), + from_batch VARCHAR(32), to_batch VARCHAR(32), sent BOOLEAN DEFAULT FALSE, create_at timestamp without time zone NOT NULL, @@ -62,29 +63,29 @@ comment on column flow_context.parallel is '表示流程实例上下文处于哪 comment on column flow_context.parallel_mode is '表示流程实例上下文所处平行节点状态。'; comment on column flow_context.previous is '表示流程实例上下文来源哪个上下文。'; comment on column flow_context.batch_id is '表示流程实例上下文所处批次标识。'; +comment on column flow_context.from_batch is '表示流程实例上下文来源批次标识。'; comment on column flow_context.to_batch is '表示流程实例上下文指向批次标识。'; comment on column flow_context.sent is '表示流程实例上下文是否已被事件发送。'; comment on column flow_context.create_at is '表示流程实例上下文创建时间。'; comment on column flow_context.update_at is '表示流程实例上下文更新时间。'; comment on column flow_context.archived_at is '表示流程实例上下文完成时间。'; -CREATE INDEX IF NOT EXISTS INDEX_FLOW_BATCH_ID ON flow_context (batch_id, to_batch); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_STREAM_ID ON flow_context (stream_id, position_id, batch_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_CONTEXT_ID ON flow_context (context_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TO_BATCH ON flow_context (to_batch); +CREATE INDEX IF NOT EXISTS INDEX_FLOW_STREAM_ID ON flow_context (stream_id); +CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_ID ON flow_context (trace_id); +CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRANS_ID_POSITION_ID ON flow_context (trans_id, position_id); +CREATE INDEX IF NOT EXISTS INDEX_FLOW_BATCH_ID ON flow_context (batch_id, from_batch, to_batch); CREATE TABLE IF NOT EXISTS flow_trace ( trace_id VARCHAR(32) NOT NULL PRIMARY KEY, stream_id VARCHAR(64) NOT NULL, - operator VARCHAR(127) NOT NULL, + operator VARCHAR(32) NOT NULL, application_name VARCHAR(32) NOT NULL, start_node VARCHAR(32) NOT NULL, - cur_nodes TEXT NOT NULL DEFAULT 'default_node', + cur_nodes TEXT NOT NULL, start_time timestamp without time zone NOT NULL, end_time timestamp without time zone, - status VARCHAR(32) NOT NULL DEFAULT 'ARCHIVED', - context_pool TEXT + merged_to VARCHAR(32) ); comment on table flow_trace is '流程轨迹'; @@ -96,34 +97,88 @@ comment on column flow_trace.start_node is '表示流程启动的开始节点'; comment on column flow_trace.cur_nodes is '表示流程实例当前所处节点'; comment on column flow_trace.start_time is '表示流程实例启动时间'; comment on column flow_trace.end_time is '表示流程实例结束时间'; +comment on column flow_trace.merged_to is '表示流程实例合并到哪个流程实例'; CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_STREAM_ID ON flow_trace (stream_id); -CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_ID ON flow_trace (trace_id); +CREATE INDEX IF NOT EXISTS INDEX_FLOW_TRACE_MERGE_ID ON flow_trace (trace_id, merged_to); -CREATE TABLE IF NOT EXISTS flow_graph -( - id VARCHAR(32) NOT NULL, - version VARCHAR(16) NOT NULL, - tenant VARCHAR(32) NOT NULL, - status VARCHAR(32) NOT NULL, - name VARCHAR(256), - data TEXT, - created_by VARCHAR(127) NOT NULL, - created_at timestamp without time zone NOT NULL, - updated_by VARCHAR(127) NOT NULL, - updated_at timestamp without time zone NOT NULL, - previous VARCHAR(50), - is_deleted BOOLEAN DEFAULT FALSE, - PRIMARY KEY (id, version) -); +DO $$ +BEGIN + IF NOT EXISTS ( + SELECT 1 + FROM information_schema.columns + WHERE table_name = 'flow_trace' AND column_name = 'status' + ) THEN + -- 如果不存在,则执行 ALTER TABLE 语句 +ALTER TABLE flow_trace ADD COLUMN status VARCHAR(32) NOT NULL DEFAULT 'ARCHIVED'; +END IF; +END $$; + +ALTER TABLE flow_context ALTER COLUMN trace_id TYPE TEXT; +ALTER TABLE flow_trace ALTER COLUMN cur_nodes SET DEFAULT 'default_node'; +ALTER TABLE flow_trace ADD COLUMN IF NOT EXISTS context_pool TEXT; -CREATE TABLE fitable_usage +-- 任务中心相关 +CREATE TABLE IF NOT EXISTS fitable_usage ( fitable_id VARCHAR(128) NOT NULL, definition_id VARCHAR(32) NOT NULL, PRIMARY KEY (fitable_id, definition_id) ); +CREATE TABLE IF NOT EXISTS tag +( + id CHAR(32) PRIMARY KEY, + name VARCHAR(64) NOT NULL, + description VARCHAR(512) NOT NULL, + created_by VARCHAR(127) NOT NULL, + created_at TIMESTAMP NOT NULL, + updated_by VARCHAR(127) NOT NULL, + updated_at TIMESTAMP NOT NULL +); +CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG ON tag (name); + +CREATE TABLE IF NOT EXISTS tag_usage +( + id CHAR(32) PRIMARY KEY, + tag_id CHAR(32) NOT NULL, + object_type VARCHAR(16) NOT NULL, + object_id CHAR(32) NOT NULL, + created_by VARCHAR(127) NOT NULL, + created_at TIMESTAMP NOT NULL +); +CREATE UNIQUE INDEX IF NOT EXISTS UK_TAG_USAGE ON tag_usage (tag_id, object_id, object_type); +CREATE INDEX IF NOT EXISTS IDX_TAG_OBJECT_ID ON tag_usage (object_id); + +CREATE TABLE IF NOT EXISTS task_category_trigger +( + "id" CHAR(32) PRIMARY KEY, + "task_id" CHAR(32) NOT NULL, + "category_id" CHAR(32) NOT NULL, + "fitable_id" CHAR(32) NOT NULL +); +CREATE UNIQUE INDEX IF NOT EXISTS "UK_TASK_CATEGORY_TRIGGER" ON task_category_trigger ("task_id", "category_id", "fitable_id"); +CREATE INDEX IF NOT EXISTS "IDX_TASK_CATEGORY_TRIGGER_TASK" ON task_category_trigger ("task_id"); + + +CREATE +OR REPLACE FUNCTION generate_uuid_text() +RETURNS CHAR(32) AS $$ +BEGIN +RETURN md5(random()::text || clock_timestamp()::text); +END; +$$ +LANGUAGE plpgsql; + +CREATE +OR REPLACE FUNCTION now_utc() +RETURNS TIMESTAMP AS $$ +BEGIN +RETURN CURRENT_TIMESTAMP AT TIME ZONE 'UTC'; +END; +$$ +LANGUAGE plpgsql; + CREATE TABLE IF NOT EXISTS flow_retry ( entity_id VARCHAR(32) NOT NULL, @@ -141,4 +196,33 @@ comment on column flow_retry.entity_type is '表示任务重试的上下文实 comment on column flow_retry.next_retry_time is '表示任务重试的下次时间'; comment on column flow_retry.last_retry_time is '表示上次执行的任务重试时间'; comment on column flow_retry.retry_count is '表示到目前为止的任务重试次数'; -comment on column flow_retry.version is '表示当前重试的版本号'; \ No newline at end of file +comment on column flow_retry.version is '表示当前重试的版本号'; + +CREATE TABLE IF NOT EXISTS flow_lock +( + lock_key VARCHAR(100) NOT NULL PRIMARY KEY, + expired_at timestamp without time zone, + locked_client VARCHAR(50) + ); + +comment on table flow_lock is '流程锁'; +comment on column flow_lock.lock_key is '锁名称'; +comment on column flow_lock.expired_at is '锁过期时间'; +comment on column flow_lock.locked_client is '上锁的客户端IP'; + +CREATE TABLE IF NOT EXISTS flow_graph +( + id VARCHAR(32) NOT NULL, + version VARCHAR(16) NOT NULL, + tenant VARCHAR(32) NOT NULL, + status VARCHAR(32) NOT NULL, + name VARCHAR(256), + data TEXT, + created_by VARCHAR(32) NOT NULL, + created_at timestamp without time zone NOT NULL, + updated_by VARCHAR(32) NOT NULL, + updated_at timestamp without time zone NOT NULL, + previous VARCHAR(50), + is_deleted BOOLEAN DEFAULT FALSE, + PRIMARY KEY (id, version) + ); \ No newline at end of file diff --git a/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_init_models.sql b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_init_models.sql new file mode 100644 index 0000000000..0c870c3e9d --- /dev/null +++ b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_init_models.sql @@ -0,0 +1,3 @@ +INSERT INTO "t_app_engine_model" ("created_at", "updated_at", "created_by", "updated_by", "model_id", "name", "tag", "base_url", "type") VALUES ('2025-03-19 18:32:08.086508', '2025-03-19 18:32:08.086508', 'system', 'system', 'm6', 'Qwen/Qwen2.5-72B-Instruct', 'SiliconFlow', 'https://api.siliconflow.cn', 'chat_completions') ON CONFLICT ("model_id") DO NOTHING; + +INSERT INTO "t_app_engine_user_model" ("created_at", "updated_at", "created_by", "updated_by", "user_id", "model_id", "api_key", "is_default") VALUES ('2025-03-19 16:04:40.776244', '2025-03-19 16:04:40.776244', 'system', 'system', 'Jade', 'm6', 'TODO', 1) ON CONFLICT ("user_id", "model_id") DO NOTHING; \ No newline at end of file diff --git a/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_t_model_import.sql b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_t_model_import.sql new file mode 100644 index 0000000000..d8b2af30be --- /dev/null +++ b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data/tr_t_model_import.sql @@ -0,0 +1,66 @@ +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('添加模型', '{"name":"添加模型","description":"为用户添加可用的模型信息","parameters":{"type":"object","properties":{"modelName":{"examples":"","defaultValue":"","name":"modelName","description":"模型名称","type":"string","required":false},"baseUrl":{"examples":"","defaultValue":"","name":"baseUrl","description":"模型访问地址","type":"string","required":false},"apiKey":{"examples":"","defaultValue":"","name":"apiKey","description":"模型访问的 API Key","type":"string","required":false},"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string","required":false}},"required":["modelName","baseUrl","apiKey","userId"]},"return":{"convertor":"","examples":"","name":"","description":"为用户添加可用的模型信息","type":"string"},"order":["modelName","baseUrl","apiKey","userId"]}', '{"FIT":{"genericableId":"modelengine.fit.jade.aipp.model.service.addUserModel","fitableId":"aipp.model.service.impl"}}', '{"tags":["FIT","MODEL"]}', '77ee3e02-5870-4338-a8be-52c8ed42f3c7', '1.0.0', 't', 'User_Model_Config_Service', 'add_user_model', 'User_Model_Config') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('删除模型', '{"name":"删除模型","description":"删除用户绑定的模型信息","parameters":{"type":"object","properties":{"modelId":{"examples":"","defaultValue":"","name":"modelId","description":"模型id","type":"string","required":false},"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string","required":false}},"required":["modelId","userId"]},"return":{"convertor":"","examples":"","name":"","description":"删除用户绑定的模型信息","type":"string"},"order":["modelId","userId"]}', '{"FIT":{"genericableId":"modelengine.fit.jade.aipp.model.service.deleteUserModel","fitableId":"aipp.model.service.impl"}}', '{"tags":["FIT","MODEL"]}', 'ff0a4b59-0be7-436f-8931-6a599ed9f8f3', '1.0.0', 't', 'User_Model_Config_Service', 'delete_user_model', 'User_Model_Config') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('切换默认模型', '{"name":"切换默认模型","description":"将指定模型设置为用户的默认模型","parameters":{"type":"object","properties":{"modelId":{"examples":"","defaultValue":"","name":"modelId","description":"默认模型id","type":"string","required":false},"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string","required":false}},"required":["modelId","userId"]},"return":{"convertor":"","examples":"","name":"","description":"将指定模型设置为用户的默认模型","type":"string"},"order":["modelId","userId"]}', '{"FIT":{"genericableId":"modelengine.fit.jade.aipp.model.service.switchDefaultModel","fitableId":"aipp.model.service.impl"}}', '{"tags":["FIT","MODEL"]}', 'f76205df-1814-49b9-a473-c03ee99770b7', '1.0.0', 't', 'User_Model_Config_Service', 'switch_default_model', 'User_Model_Config') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('获取用户模型列表', '{"name":"获取用户模型列表","description":"根据用户标识来查询该用户可用的模型列表","parameters":{"type":"object","properties":{"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string","required":false}},"required":["userId"]},"return":{"convertor":"","examples":"","name":"","description":"返回该用户可用的模型列表","type":"array","items":{"type":"object","properties":{"createdAt":{"format":"date-time","type":"string"},"modelName":{"type":"string"},"baseUrl":{"type":"string"},"isDefault":{"type":"integer"},"modelId":{"type":"string"},"userId":{"type":"string"}}}},"order":["userId"]}', '{"FIT":{"genericableId":"modelengine.fit.jade.aipp.model.service.getUserModelList","fitableId":"aipp.model.service.impl"}}', '{"tags":["FIT","MODEL"]}', '16816279-411b-48e1-b754-191abd61dcd0', '1.0.0', 't', 'User_Model_Config_Service', 'get_user_model_list', 'User_Model_Config') ON CONFLICT ("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('switch_default_model', '{"name":"switch_default_model","description":"将指定模型设置为用户的默认模型","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":"","required":true},"modelId":{"defaultValue":"","description":"默认模型id","name":"modelId","type":"string","examples":"","required":true}},"required":["userId","modelId"]},"order":["userId","modelId"],"parameterExtensions":null,"return":{"type":"string","convertor":""}}', 'User_Model_Config') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('add_user_model', '{"name":"add_user_model","description":"为用户添加可用的模型信息","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":"","required":true},"apiKey":{"defaultValue":"","description":"模型访问的 API Key","name":"apiKey","type":"string","examples":"","required":true},"modelName":{"defaultValue":"","description":"模型名称","name":"modelName","type":"string","examples":"","required":true},"baseUrl":{"defaultValue":"","description":"模型访问地址","name":"baseUrl","type":"string","examples":"","required":true}},"required":["userId","apiKey","modelName","baseUrl"]},"order":["userId","apiKey","modelName","baseUrl"],"parameterExtensions":null,"return":{"type":"string","convertor":""}}', 'User_Model_Config') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('delete_user_model', '{"name":"delete_user_model","description":"删除用户绑定的模型信息","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":"","required":true},"modelId":{"defaultValue":"","description":"模型id","name":"modelId","type":"string","examples":"","required":true}},"required":["userId","modelId"]},"order":["userId","modelId"],"parameterExtensions":null,"return":{"type":"string","convertor":""}}', 'User_Model_Config') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('get_user_model_list', '{"name":"get_user_model_list","description":"根据用户标识来查询该用户可用的用戶模型列表","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":"","required":true}},"required":["userId"]},"order":["userId"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"modelId":{"type":"string"},"userId":{"type":"string"},"modelName":{"type":"string"},"baseUrl":{"type":"string"},"isDefault":{"type":"integer"}}},"convertor":""}}', 'User_Model_Config') ON CONFLICT ("definition_group_name", "name") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('16816279-411b-48e1-b754-191abd61dcd0', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('ff0a4b59-0be7-436f-8931-6a599ed9f8f3', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('77ee3e02-5870-4338-a8be-52c8ed42f3c7', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('ff0a4b59-0be7-436f-8931-6a599ed9f8f3', 'MODEL') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('f76205df-1814-49b9-a473-c03ee99770b7', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('f76205df-1814-49b9-a473-c03ee99770b7', 'MODEL') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('77ee3e02-5870-4338-a8be-52c8ed42f3c7', 'MODEL') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('16816279-411b-48e1-b754-191abd61dcd0', 'MODEL') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; + +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '切换默认模型', 'f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5', 'f76205df-1814-49b9-a473-c03ee99770b7', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '删除模型', 'f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5', 'ff0a4b59-0be7-436f-8931-6a599ed9f8f3', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '添加模型', 'f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5', '77ee3e02-5870-4338-a8be-52c8ed42f3c7', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '获取用户模型列表', 'f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5', '16816279-411b-48e1-b754-191abd61dcd0', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin", "source", "icon") VALUES ('f231f908d0f0959acbc1df7b2f4b8f76b05219e3fa82fcb715def9f8858139e5', '用戶查询模型工具', '{"uniqueness.groupId":"user-model-edit-groupId","pluginFullName":"aipp-custom-model-center-1.0.0-SNAPSHOT_1744769471992.jar","checksum":"77679d190769b46a8da7e2c08a1f2ce2680647e430514e7da1d39be3f3d17925","name":"用戶查询模型工具","description":"这是一个用戶查询模型工具","uniqueness.artifactId":"user-model-edit-artifactId","type":"java"}', 'DEPLOYED', TRUE, '', NULL) ON CONFLICT ("plugin_id") DO NOTHING; + +INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version") VALUES ('1568509614c245a39ce53bda9c3c2ec1', '模型管理表单', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png", "schema": {"name": "模型管理表单", "return": {"type": "object", "required": ["action", "info"], "properties": {"info": {"type": "object", "required": ["modelName", "modelId", "baseUrl", "isDefault", "userId", "apiKey"], "properties": {"apiKey": {"type": "string"}, "userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}}}, "action": {"enum": ["add", "delete", "switch", "quit"], "type": "string"}}}, "parameters": {"type": "object", "required": ["models"], "properties": {"models": {"type": "array", "items": {"type": "object", "required": ["modelId", "isDefault", "userId"], "properties": {"userId": {"type": "string"}, "baseUrl": {"type": "string"}, "modelId": {"type": "string"}, "createdAt": {"type": "string"}, "isDefault": {"type": "integer"}, "modelName": {"type": "string"}}}}}}}, "fileName": "模型管理表单.zip", "fileSize": 352510, "fileUuid": "7e9db4c01d8f482596fc1ddc78625496", "iframeUrl": "smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/build/index.html", "description": "这是一个模型管理表单"}', 'runtime', 'Jade', '2025-04-18 12:09:28.732006', 'Jade', '2025-04-18 12:09:28.73202', 0, '07b7ebd306944de683c2d060944da579', '1.0.0') ON CONFLICT ("id") DO NOTHING; + +INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type") VALUES ('cec6bfe7cb3a444f8a26a97ea513e501', '模型配置应用', 'Jade', '2025-04-18 11:54:33.515505', 'Jade', '2025-04-18 12:12:12.847078', '99bc4eda890041878bc0e4fe13114956', 'df3c7df760964d08b092f7c9d0eb9513', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "name": "模型配置应用", "greeting": "", "store_id": "7a76cbd2-881d-469b-b2df-76abed7d0b61", "is_update": false, "description": "当你想要配置模型的时候,请使用我!", "publishedUpdateLog": "", "publishedDescription": ""}', 'active', 'workflow', 'chatbot', 0, 0, 'P920UNZY2JkYoWhl', 'b653edb7eb5a49be91abcd2c5877c6ad') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config" ("id", "form_id", "app_id", "tenant_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('99bc4eda890041878bc0e4fe13114956', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'cec6bfe7cb3a444f8a26a97ea513e501', '31f20efc7e0848deab6a6bc10fc3021e', 'Jade', '2025-04-18 11:54:33.515505', 'Jade', '2025-04-18 12:12:12.847078', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('3deb2fffd3e248fbbd0ce5cd55d1faa7', 'jadewdnjbq', 'df5c490b8c25454698b4bd7877628703', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('65bd77ba6db54aad85be7f9301744860', 'jadewdnjbq', '52a8ebe4eec44858b41baa59e0256697', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('e2bcf4291e214937b5717f865a9d7e8c', 'jade6qm5eg', '569f4946f1e749e0a84b2f77c603735e', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('f0a5a5c071cf4125a235c5c8044cc923', 'jade0pg2ag', '39974065ba1146f89db4a2404e6195a0', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('4d148e7480f04435af8fb3fcdf217053', 'jadewdnjbq', '283a6f9690d34a1eb9f23bf0a39d808a', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('3cfcb631c4bb4cb188dd0ee9d51173cc', 'jadewdnjbq', 'e1434967e75048669144ea19067c8124', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('b15a6d9274104eccab2a3de4014b8d2a', 'jadewdnjbq', '0442a2b2608e475bb8876749117cad43', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('3031b678ec974973b78306ea505df91c', 'jadewdnjbq', 'db6182bf103d4989abb6fc0ef10e87af', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('27242ad7124e4b778c45bac18b8a66f4', NULL, '0bb21aedaf134434a703c506da45791f', '99bc4eda890041878bc0e4fe13114956', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_flow_graph" ("id", "name", "create_by", "create_at", "update_by", "update_at", "appearance", "is_deleted") VALUES ('df3c7df760964d08b092f7c9d0eb9513', 'LLM模板', 'Jade', '2025-04-18 11:54:33.515505', 'Jade', '2025-04-18 12:12:12.847078', '{"id": "df3c7df760964d08b092f7c9d0eb9513", "type": "jadeFlowGraph", "pages": [{"x": -1225.7009556725914, "y": 160.9007936507931, "id": "elsa-page:tvp1s6", "bold": false, "mode": "configuration", "text": "newFlowPage", "type": "jadeFlowPage", "dirty": true, "index": 0, "width": 1600, "hAlign": "left", "height": 800, "isPage": true, "italic": false, "scaleX": 0.7000000000000001, "scaleY": 0.7000000000000001, "shapes": [{"x": -170.8928571428571, "y": 32.5, "id": "jade6qm5eg", "pad": 6, "bold": false, "text": "开始", "type": "startNodeStart", "dirty": false, "index": 0, "width": 360, "height": 728, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}, {"id": "91138f09-b635-43df-95c6-1fe3d1745830", "from": "Expand", "name": "appConfig", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dadf", "from": "Input", "name": "appChatStyle", "type": "String", "value": "default"}]}], "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": false, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "startComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "mouseInBorderColor": "rgba(28,31,35,.08)"}, {"x": 2564.107142857142, "y": -145.1785714285714, "id": "jadesoux5i", "pad": 6, "bold": false, "text": "添加模型结束", "type": "endNodeEnd", "dirty": false, "index": 1, "width": 360, "height": 313, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1", "referenceKey": "output", "referenceNode": "jadehyxese"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c26bf2ca-75b3-4a6f-bc47-132c2e170895", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 278.02238424402026, "y": 428.19444444444423, "id": "jadevpescp", "pad": 6, "bold": false, "text": "获取用户模型列表", "type": "toolInvokeNodeState", "dirty": false, "index": 2, "width": 360, "height": 297, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "16816279-411b-48e1-b754-191abd61dcd0"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_f4725c4a-ac63-4b51-ae86-8c0baca9b71d", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_78982629-c58c-4211-9f4b-369bdcfef31f", "name": "output", "type": "Array", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 189.1071428571429, "y": 396.5, "id": "jadexixl9n", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 3, "textX": 0, "textY": 0, "width": 88.91524138687737, "hAlign": "center", "height": 180.19444444444423, "italic": false, "margin": 20, "toShape": "jadevpescp", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade6qm5eg", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 722.4668286884644, "y": 289.30555555555554, "id": "jade1osjbn", "pad": 6, "bold": false, "text": "人工表单", "type": "manualCheckNodeState", "dirty": true, "index": 4, "width": 360, "height": 489, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png", "taskId": "1568509614c245a39ce53bda9c3c2ec1", "formName": "模型管理表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "models_6db2dcd7-94f1-4eb9-88d8-69e68e3fc990", "from": "Reference", "name": "models", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_78982629-c58c-4211-9f4b-369bdcfef31f", "referenceKey": "output", "referenceNode": "jadevpescp"}], "outputParams": [{"id": "output_14c32c0b-52d1-4d40-8b5d-b0470f3ddd9a", "name": "output", "type": "Object", "value": [{"id": "output_c2404fc9-56de-4cca-9706-0e63c49ad4d0", "name": "info", "type": "Object", "value": [{"id": "d270cf95-6f76-49bd-81b2-66692109034b", "name": "apiKey", "type": "String", "value": "String"}, {"id": "ae07dc15-b235-4139-ad89-9b6160988472", "name": "userId", "type": "String", "value": "String"}, {"id": "8bfa7821-ff6b-4e53-bfbc-213d68a613a2", "name": "baseUrl", "type": "String", "value": "String"}, {"id": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "name": "modelId", "type": "String", "value": "String"}, {"id": "62d172c1-b852-4b5d-97d8-aa303956aae0", "name": "isDefault", "type": "Integer", "value": "Integer"}, {"id": "ce53a197-f57a-4bfa-9343-b6f993b61883", "name": "modelName", "type": "String", "value": "String"}]}, {"id": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "name": "action", "type": "String", "value": "String"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "manualCheckComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 638.0223842440203, "y": 576.6944444444442, "id": "jade419ps4", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 5, "textX": 0, "textY": 0, "width": 84.44444444444412, "hAlign": "center", "height": -42.88888888888869, "italic": false, "margin": 20, "toShape": "jade1osjbn", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadevpescp", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1150.8795271011613, "y": 195.33730158730177, "id": "jade0305an", "pad": 6, "bold": false, "text": "条件", "type": "conditionNodeCondition", "dirty": false, "index": 6, "width": 600, "height": 735, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e", "type": "if", "runnable": true, "conditions": [{"id": "eaa48316-b65d-49f4-a9c2-0d1261cb4efe", "value": [{"id": "3288e216-4f89-473c-b6b9-e9d80e66fe0c", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "e63c3cba-9edc-4d94-af84-e8ad0c319aa8", "from": "Input", "name": "right", "type": "String", "value": "add", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "42754fab-4274-4e32-9811-9088eb80f691", "type": "if", "runnable": true, "conditions": [{"id": "7122796c-36ce-41ea-96be-0ce69cfe704b", "value": [{"id": "b9a64d7a-1ebc-40e1-a02b-2a793154b5fa", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "51b80568-1f7a-4cca-8c31-c42f41d5b63d", "from": "Input", "name": "right", "type": "String", "value": "delete", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "79592b84-07fd-4212-9f50-71479aa86b22", "type": "if", "runnable": true, "conditions": [{"id": "42692336-de84-4023-864e-3ee666da5d93", "value": [{"id": "14a9b304-09dd-45ce-a421-6aa91703a1f4", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "557856d5-18c8-4a67-91d4-0cf4faec4060", "from": "Input", "name": "right", "type": "String", "value": "switch", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "50b171e2-b8b6-46cb-89a3-a6e0883ae710", "type": "else", "runnable": true, "conditions": [{"id": "90303c25-9b1b-4e87-8af8-e3c997331c38", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1082.4668286884644, "y": 533.8055555555555, "id": "jadezmsms0", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 7, "textX": 0, "textY": 0, "width": 68.41269841269695, "hAlign": "center", "height": 29.031746031746252, "italic": false, "margin": 20, "toShape": "jade0305an", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade1osjbn", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1975.165241386877, "y": -157.51984126984166, "id": "jadehyxese", "pad": 6, "bold": false, "text": "添加模型", "type": "toolInvokeNodeState", "dirty": false, "index": 8, "width": 360, "height": 411, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelName"}, {"name": "baseUrl"}, {"name": "apiKey"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "77ee3e02-5870-4338-a8be-52c8ed42f3c7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelName_216f7038-ade2-465a-9d24-9fb39d4af5e5", "from": "Reference", "name": "modelName", "type": "String", "value": ["output", "info", "modelName"], "isRequired": true, "description": "模型名称", "referenceId": "ce53a197-f57a-4bfa-9343-b6f993b61883", "referenceKey": "modelName", "referenceNode": "jade1osjbn"}, {"id": "baseUrl_49ee4206-7c9c-4311-b749-da274d3d14df", "from": "Reference", "name": "baseUrl", "type": "String", "value": ["output", "info", "baseUrl"], "isRequired": true, "description": "模型访问地址", "referenceId": "8bfa7821-ff6b-4e53-bfbc-213d68a613a2", "referenceKey": "baseUrl", "referenceNode": "jade1osjbn"}, {"id": "apiKey_d776d4db-4b49-4dee-b054-5b43d28c9c64", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": true, "description": "模型访问的 API Key", "referenceId": "d270cf95-6f76-49bd-81b2-66692109034b", "referenceKey": "apiKey", "referenceNode": "jade1osjbn"}, {"id": "userId_9a314ce2-d74b-471e-a7f8-ac5bf189f253", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1", "name": "output", "type": "String", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1973.736669958303, "y": 369.623015873016, "id": "jadeas9z1s", "pad": 6, "bold": false, "text": "删除模型", "type": "toolInvokeNodeState", "dirty": false, "index": 9, "width": 360, "height": 335, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelId"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "ff0a4b59-0be7-436f-8931-6a599ed9f8f3"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelId_e329ead9-4485-453a-8973-9047c1e06a9a", "from": "Reference", "name": "modelId", "type": "String", "value": ["output", "info", "modelId"], "isRequired": true, "description": "模型id", "referenceId": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "referenceKey": "modelId", "referenceNode": "jade1osjbn"}, {"id": "userId_47ee255d-9eeb-418c-aabc-8eb7871d0be5", "from": "Reference", "name": "userId", "type": "String", "value": ["output", "info", "userId"], "isRequired": true, "description": "用户id", "referenceId": "ae07dc15-b235-4139-ad89-9b6160988472", "referenceKey": "userId", "referenceNode": "jade1osjbn"}], "outputParams": [{"id": "output_786cf758-f9af-4959-83e7-251a01e04fb0", "name": "output", "type": "String", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1739.953710973929, "y": 381.97731623573924, "id": "jade2cfmdw", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 10, "textX": 0, "textY": 0, "width": 235.21153041294792, "hAlign": "center", "height": -333.9971575055809, "italic": false, "margin": 20, "toShape": "jadehyxese", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade0305an", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e"}, {"x": 1966.593812815448, "y": 741.0515873015875, "id": "jade3q2qyw", "pad": 6, "bold": false, "text": "切换默认模型", "type": "toolInvokeNodeState", "dirty": false, "index": 11, "width": 360, "height": 335, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelId"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "f76205df-1814-49b9-a473-c03ee99770b7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelId_1312ce29-7bb9-4ac2-8cb9-e53a3f6b68c8", "from": "Reference", "name": "modelId", "type": "String", "value": ["output", "info", "modelId"], "isRequired": true, "description": "默认模型id", "referenceId": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "referenceKey": "modelId", "referenceNode": "jade1osjbn"}, {"id": "userId_71b52489-3462-48ea-824c-ce04d99ba7e2", "from": "Reference", "name": "userId", "type": "String", "value": ["output", "info", "userId"], "isRequired": true, "description": "用户id", "referenceId": "ae07dc15-b235-4139-ad89-9b6160988472", "referenceKey": "userId", "referenceNode": "jade1osjbn"}], "outputParams": [{"id": "output_4113326b-5e9f-495e-8112-2ca9a0dca171", "name": "output", "type": "String", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1739.953710973929, "y": 569.9773031567772, "id": "jade31ntj1", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 12, "textX": 0, "textY": 0, "width": 233.7829589843741, "hAlign": "center", "height": -32.85428728376121, "italic": false, "margin": 20, "toShape": "jadeas9z1s", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade0305an", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|42754fab-4274-4e32-9811-9088eb80f691"}, {"x": 1739.953710973929, "y": 757.977268279545, "id": "jadedmxi6l", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 13, "textX": 0, "textY": 0, "width": 226.64010184151903, "hAlign": "center", "height": 150.57431902204246, "italic": false, "margin": 20, "toShape": "jade3q2qyw", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade0305an", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-2|79592b84-07fd-4212-9f50-71479aa86b22"}, {"x": 2335.165241386877, "y": 47.98015873015834, "id": "jadejcuwis", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 14, "textX": 0, "textY": 0, "width": 228.9419014702653, "hAlign": "center", "height": -36.658730158729725, "italic": false, "margin": 20, "toShape": "jadesoux5i", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadehyxese", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2633.736669958307, "y": 322.4801587301588, "id": "jade7dv633", "pad": 6, "bold": false, "text": "删除模型结束", "type": "endNodeEnd", "dirty": false, "index": 15, "width": 360, "height": 313, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "104c12c3-804b-419f-a1c7-24b66516ed42", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "020da94c-e511-4ee9-8e2b-0ce5eb3103cb", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_786cf758-f9af-4959-83e7-251a01e04fb0", "referenceKey": "output", "referenceNode": "jadeas9z1s"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "0367a295-adad-4a19-a08e-ab04c37db3ac", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2602.308098529733, "y": 732.4801587301587, "id": "jade1thrs1", "pad": 6, "bold": false, "text": "结束_2", "type": "endNodeEnd", "dirty": false, "index": 16, "width": 360, "height": 313, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "9f2d49d0-240d-46bb-80cb-a4391ac0de69", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "0f777bfd-06e5-452a-b80e-509057551d72", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_4113326b-5e9f-495e-8112-2ca9a0dca171", "referenceKey": "output", "referenceNode": "jade3q2qyw"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "fac8c254-46c4-42b2-92f0-32990dcd0086", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1863.736669958305, "y": 1129.6230158730177, "id": "jadeifaftx", "pad": 6, "bold": false, "text": "退出表单结束", "type": "endNodeEnd", "dirty": false, "index": 17, "width": 360, "height": 313, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "59007e69-9047-42d4-bfcd-3150e78f0215", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "cffd1f94-832a-4f23-b8d5-b72db4d521c1", "from": "Input", "name": "finalOutput", "type": "String", "value": "已退出,请重新开始对话来发起新的模型配置请求。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "6f7d0c10-fe39-4dbe-8e72-0d5202e42a22", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2333.736669958303, "y": 537.123015873016, "id": "jadei8jdd4", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 18, "textX": 0, "textY": 0, "width": 300.0000000000041, "hAlign": "center", "height": -58.142857142857224, "italic": false, "margin": 20, "toShape": "jade7dv633", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeas9z1s", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1739.953710973929, "y": 870.9773478432309, "id": "jadecg9j3o", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 19, "textX": 0, "textY": 0, "width": 123.78295898437591, "hAlign": "center", "height": 415.14566802978686, "italic": false, "margin": 20, "toShape": "jadeifaftx", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade0305an", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 2326.593812815448, "y": 908.5515873015875, "id": "jadewcxlt5", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 20, "textX": 0, "textY": 0, "width": 275.71428571428487, "hAlign": "center", "height": -19.571428571428783, "italic": false, "margin": 20, "toShape": "jade1thrs1", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade3q2qyw", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}], "vAlign": "top", "itemPad": [0, 0, 0, 0], "division": -1, "dockMode": "none", "fontFace": "arial", "fontSize": 18, "hideText": true, "moveable": true, "shapesAs": {}, "backColor": "#fbfbfc", "container": "elsa-page:tvp1s6", "dockAlign": "top", "fontColor": "#ECD0A7", "fontStyle": "normal", "itemSpace": 5, "namespace": "jadeFlow", "fontWeight": "bold", "itemScroll": {"x": 0, "y": 0}, "borderColor": "white", "focusBackColor": "#fbfbfc"}], "title": "df3c7df760964d08b092f7c9d0eb9513", "source": "elsa", "tenant": "31f20efc7e0848deab6a6bc10fc3021e", "setting": {"pad": 10, "tag": {}, "code": "", "pDock": "none", "hAlign": "center", "margin": 25, "shadow": "", "shared": false, "vAlign": "top", "itemPad": [5, 5, 5, 5], "visible": true, "autoText": false, "dockMode": "none", "dragable": true, "editable": true, "fontFace": "arial", "fontSize": 12, "infoType": {"name": "none", "next": "INFORMATION"}, "moveable": true, "priority": 0, "allowLink": true, "autoWidth": false, "backAlpha": 0.15, "backColor": "whitesmoke", "dashWidth": 0, "deletable": true, "fontColor": "steelblue", "fontStyle": "normal", "headColor": "steelblue", "lineWidth": 2, "underline": false, "autoHeight": false, "emphasized": false, "fontWeight": "lighter", "itemScroll": {"x": 0, "y": 0}, "lineHeight": 1.5, "resizeable": true, "rotateAble": true, "scrollLock": {"x": false, "y": false}, "selectable": true, "shadowData": "2px 2px 4px", "borderColor": "#047bfc", "borderWidth": 1, "bulletSpeed": 1, "focusMargin": 0, "focusShadow": "", "globalAlpha": 1, "outstanding": false, "bulletedList": false, "cornerRadius": 4, "enableSocial": true, "mouseInColor": "orange", "numberedList": false, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "rotateDegree": 0, "captionhAlign": "center", "strikethrough": false, "focusBackColor": "whitesmoke", "focusFontColor": "darkorange", "progressStatus": {"name": "NONE", "next": "UNKNOWN", "color": "gray"}, "showedProgress": false, "allNodeNumLimit": 99, "captionfontFace": "arial black", "captionfontSize": 14, "enableAnimation": false, "progressPercent": 0.65, "captionfontColor": "whitesmoke", "captionfontStyle": "normal", "focusBorderColor": "#047bfc", "focusBorderWidth": 1, "mouseInBackColor": "whitesmoke", "mouseInFontColor": "orange", "captionfontWeight": "lighter", "captionlineHeight": 1, "mouseInBorderColor": "#047bfc", "sameTypeNodeNumLimit": 19}, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}, "enableText": false}', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('52a8ebe4eec44858b41baa59e0256697', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'ability', 'String', 'null', 'none', 'workflow', '能力配置', 1, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('569f4946f1e749e0a84b2f77c603735e', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'chat', 'String', 'null', 'none', 'workflow', '聊天设置', 3, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('39974065ba1146f89db4a2404e6195a0', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'memory', 'List', '["jade6qm5eg","memory"]', 'graph', 'chat', '多轮对话', 5, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('283a6f9690d34a1eb9f23bf0a39d808a', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'opening', 'String', '"任意输入之后开始配置模型。"', 'input', 'chat', '开场白', 4, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('e1434967e75048669144ea19067c8124', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'enterWorkflow', 'String', 'null', 'none', 'ability', '进入工作流编排', 2, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('0442a2b2608e475bb8876749117cad43', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'inspiration', 'object', '{"category":[{"title":"root","id":"root","children":[]}],"inspirations":[{"name":"开始配置","description":"当你想要开始配置的时候,请点击。","prompt":"开始配置","promptVarData":[],"category":null,"auto":true,"id":"1v21m5"}],"showInspiration":true}', 'input', 'chat', '创意灵感', 7, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('db6182bf103d4989abb6fc0ef10e87af', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'recommend', 'object', '{"showRecommend":false,"list":[]}', 'input', 'chat', '猜你想问', 6, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('0bb21aedaf134434a703c506da45791f', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'multimodal', 'object', '{"useMultimodal":true,"maxUploadFilesNum":5,"autoChatOnUpload":false}', 'input', 'chat', '多模态', 8, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('df5c490b8c25454698b4bd7877628703', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'workflow', 'String', 'null', 'none', 'null', '工作流编排', 0, 0, 'cec6bfe7cb3a444f8a26a97ea513e501') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."task_new" ("id", "name", "version", "template_id", "tenant_id", "attributes", "created_by", "created_at", "updated_by", "updated_at", "is_deleted") VALUES ('17997d19af65470d90f0581d8fa43834', '模型配置应用', '1.0.0', '0b4fe5a430104edfbe0dc6cff0ebea19', '31f20efc7e0848deab6a6bc10fc3021e', '{"app_id": "cec6bfe7cb3a444f8a26a97ea513e501", "version": "1.0.0", "aipp_type": "NORMAL", "meta_icon": "", "publish_at": "2025-04-18T12:12:25.856075548", "description": "当你想要配置模型的时候,请使用我!", "meta_status": "active", "unique_name": "7a76cbd2-881d-469b-b2df-76abed7d0b61", "flow_config_id": "df3c7df760964d08b092f7c9d0eb9513", "flow_definition_id": "502f4a99db924e75adf6d9f403c8b905", "publish_update_log": "", "publish_description": ""}', 'Jade', '2025-04-18 12:12:24.802552', 'Jade', '2025-04-18 12:12:25.869732', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."flow_definition" ("definition_id", "meta_id", "name", "tenant", "version", "status", "graph", "created_by", "created_at") VALUES ('502f4a99db924e75adf6d9f403c8b905', 'df3c7df760964d08b092f7c9d0eb9513', 'df3c7df760964d08b092f7c9d0eb9513', '31f20efc7e0848deab6a6bc10fc3021e', '1.0.0', 'active', '{"name": "df3c7df760964d08b092f7c9d0eb9513", "nodes": [{"name": "开始", "type": "startNodeStart", "metaId": "jade6qm5eg", "runnable": true, "inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}, {"id": "91138f09-b635-43df-95c6-1fe3d1745830", "from": "Expand", "name": "appConfig", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dadf", "from": "Input", "name": "appChatStyle", "type": "String", "value": "default"}]}], "triggerMode": "auto"}, {"name": "添加模型结束", "type": "endNodeEnd", "metaId": "jadesoux5i", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1", "referenceKey": "output", "referenceNode": "jadehyxese"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c26bf2ca-75b3-4a6f-bc47-132c2e170895", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "获取用户模型列表", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "16816279-411b-48e1-b754-191abd61dcd0"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_f4725c4a-ac63-4b51-ae86-8c0baca9b71d", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_78982629-c58c-4211-9f4b-369bdcfef31f", "name": "output", "type": "Array", "value": []}]}}}, "metaId": "jadevpescp", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadevpescp", "from": "jade6qm5eg", "type": "jadeEvent", "metaId": "jadexixl9n", "runnable": true, "fromConnector": "E"}, {"name": "人工表单", "task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png", "taskId": "1568509614c245a39ce53bda9c3c2ec1", "formName": "模型管理表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "models_6db2dcd7-94f1-4eb9-88d8-69e68e3fc990", "from": "Reference", "name": "models", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_78982629-c58c-4211-9f4b-369bdcfef31f", "referenceKey": "output", "referenceNode": "jadevpescp"}], "outputParams": [{"id": "output_14c32c0b-52d1-4d40-8b5d-b0470f3ddd9a", "name": "output", "type": "Object", "value": [{"id": "output_c2404fc9-56de-4cca-9706-0e63c49ad4d0", "name": "info", "type": "Object", "value": [{"id": "d270cf95-6f76-49bd-81b2-66692109034b", "name": "apiKey", "type": "String", "value": "String"}, {"id": "ae07dc15-b235-4139-ad89-9b6160988472", "name": "userId", "type": "String", "value": "String"}, {"id": "8bfa7821-ff6b-4e53-bfbc-213d68a613a2", "name": "baseUrl", "type": "String", "value": "String"}, {"id": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "name": "modelId", "type": "String", "value": "String"}, {"id": "62d172c1-b852-4b5d-97d8-aa303956aae0", "name": "isDefault", "type": "Integer", "value": "Integer"}, {"id": "ce53a197-f57a-4bfa-9343-b6f993b61883", "name": "modelName", "type": "String", "value": "String"}]}, {"id": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "name": "action", "type": "String", "value": "String"}]}]}}}, "type": "manualCheckNodeState", "metaId": "jade1osjbn", "runnable": true, "triggerMode": "manual"}, {"to": "jade1osjbn", "from": "jadevpescp", "type": "jadeEvent", "metaId": "jade419ps4", "runnable": true, "fromConnector": "E"}, {"name": "条件", "type": "conditionNodeCondition", "metaId": "jade0305an", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e", "type": "if", "runnable": true, "conditions": [{"id": "eaa48316-b65d-49f4-a9c2-0d1261cb4efe", "value": [{"id": "3288e216-4f89-473c-b6b9-e9d80e66fe0c", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "e63c3cba-9edc-4d94-af84-e8ad0c319aa8", "from": "Input", "name": "right", "type": "String", "value": "add", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "42754fab-4274-4e32-9811-9088eb80f691", "type": "if", "runnable": true, "conditions": [{"id": "7122796c-36ce-41ea-96be-0ce69cfe704b", "value": [{"id": "b9a64d7a-1ebc-40e1-a02b-2a793154b5fa", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "51b80568-1f7a-4cca-8c31-c42f41d5b63d", "from": "Input", "name": "right", "type": "String", "value": "delete", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "79592b84-07fd-4212-9f50-71479aa86b22", "type": "if", "runnable": true, "conditions": [{"id": "42692336-de84-4023-864e-3ee666da5d93", "value": [{"id": "14a9b304-09dd-45ce-a421-6aa91703a1f4", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "bed9c7b2-83dc-4b3e-9f9c-915e20663037", "referenceKey": "action", "referenceNode": "jade1osjbn"}, {"id": "557856d5-18c8-4a67-91d4-0cf4faec4060", "from": "Input", "name": "right", "type": "String", "value": "switch", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "50b171e2-b8b6-46cb-89a3-a6e0883ae710", "type": "else", "runnable": true, "conditions": [{"id": "90303c25-9b1b-4e87-8af8-e3c997331c38", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"to": "jade0305an", "from": "jade1osjbn", "type": "jadeEvent", "metaId": "jadezmsms0", "runnable": true, "fromConnector": "E"}, {"name": "添加模型", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelName"}, {"name": "baseUrl"}, {"name": "apiKey"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "77ee3e02-5870-4338-a8be-52c8ed42f3c7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelName_216f7038-ade2-465a-9d24-9fb39d4af5e5", "from": "Reference", "name": "modelName", "type": "String", "value": ["output", "info", "modelName"], "isRequired": true, "description": "模型名称", "referenceId": "ce53a197-f57a-4bfa-9343-b6f993b61883", "referenceKey": "modelName", "referenceNode": "jade1osjbn"}, {"id": "baseUrl_49ee4206-7c9c-4311-b749-da274d3d14df", "from": "Reference", "name": "baseUrl", "type": "String", "value": ["output", "info", "baseUrl"], "isRequired": true, "description": "模型访问地址", "referenceId": "8bfa7821-ff6b-4e53-bfbc-213d68a613a2", "referenceKey": "baseUrl", "referenceNode": "jade1osjbn"}, {"id": "apiKey_d776d4db-4b49-4dee-b054-5b43d28c9c64", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": true, "description": "模型访问的 API Key", "referenceId": "d270cf95-6f76-49bd-81b2-66692109034b", "referenceKey": "apiKey", "referenceNode": "jade1osjbn"}, {"id": "userId_9a314ce2-d74b-471e-a7f8-ac5bf189f253", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1", "name": "output", "type": "String", "value": []}]}}}, "metaId": "jadehyxese", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "删除模型", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelId"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "ff0a4b59-0be7-436f-8931-6a599ed9f8f3"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelId_e329ead9-4485-453a-8973-9047c1e06a9a", "from": "Reference", "name": "modelId", "type": "String", "value": ["output", "info", "modelId"], "isRequired": true, "description": "模型id", "referenceId": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "referenceKey": "modelId", "referenceNode": "jade1osjbn"}, {"id": "userId_47ee255d-9eeb-418c-aabc-8eb7871d0be5", "from": "Reference", "name": "userId", "type": "String", "value": ["output", "info", "userId"], "isRequired": true, "description": "用户id", "referenceId": "ae07dc15-b235-4139-ad89-9b6160988472", "referenceKey": "userId", "referenceNode": "jade1osjbn"}], "outputParams": [{"id": "output_786cf758-f9af-4959-83e7-251a01e04fb0", "name": "output", "type": "String", "value": []}]}}}, "metaId": "jadeas9z1s", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadehyxese", "from": "jade0305an", "type": "jadeEvent", "metaId": "jade2cfmdw", "runnable": true, "fromConnector": "dynamic-0|20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e"}, {"name": "切换默认模型", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "modelId"}, {"name": "userId"}], "return": {"type": "string"}, "uniqueName": "f76205df-1814-49b9-a473-c03ee99770b7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "modelId_1312ce29-7bb9-4ac2-8cb9-e53a3f6b68c8", "from": "Reference", "name": "modelId", "type": "String", "value": ["output", "info", "modelId"], "isRequired": true, "description": "默认模型id", "referenceId": "a29201e7-7fe3-4f3f-834d-899a6cfbd79e", "referenceKey": "modelId", "referenceNode": "jade1osjbn"}, {"id": "userId_71b52489-3462-48ea-824c-ce04d99ba7e2", "from": "Reference", "name": "userId", "type": "String", "value": ["output", "info", "userId"], "isRequired": true, "description": "用户id", "referenceId": "ae07dc15-b235-4139-ad89-9b6160988472", "referenceKey": "userId", "referenceNode": "jade1osjbn"}], "outputParams": [{"id": "output_4113326b-5e9f-495e-8112-2ca9a0dca171", "name": "output", "type": "String", "value": []}]}}}, "metaId": "jade3q2qyw", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadeas9z1s", "from": "jade0305an", "type": "jadeEvent", "metaId": "jade31ntj1", "runnable": true, "fromConnector": "dynamic-1|42754fab-4274-4e32-9811-9088eb80f691"}, {"to": "jade3q2qyw", "from": "jade0305an", "type": "jadeEvent", "metaId": "jadedmxi6l", "runnable": true, "fromConnector": "dynamic-2|79592b84-07fd-4212-9f50-71479aa86b22"}, {"to": "jadesoux5i", "from": "jadehyxese", "type": "jadeEvent", "metaId": "jadejcuwis", "runnable": true, "fromConnector": "E"}, {"name": "删除模型结束", "type": "endNodeEnd", "metaId": "jade7dv633", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "104c12c3-804b-419f-a1c7-24b66516ed42", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "020da94c-e511-4ee9-8e2b-0ce5eb3103cb", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_786cf758-f9af-4959-83e7-251a01e04fb0", "referenceKey": "output", "referenceNode": "jadeas9z1s"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "0367a295-adad-4a19-a08e-ab04c37db3ac", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "结束_2", "type": "endNodeEnd", "metaId": "jade1thrs1", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "9f2d49d0-240d-46bb-80cb-a4391ac0de69", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "0f777bfd-06e5-452a-b80e-509057551d72", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output"], "editable": true, "isRequired": true, "description": "", "referenceId": "output_4113326b-5e9f-495e-8112-2ca9a0dca171", "referenceKey": "output", "referenceNode": "jade3q2qyw"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "fac8c254-46c4-42b2-92f0-32990dcd0086", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "退出表单结束", "type": "endNodeEnd", "metaId": "jadeifaftx", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "59007e69-9047-42d4-bfcd-3150e78f0215", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "cffd1f94-832a-4f23-b8d5-b72db4d521c1", "from": "Input", "name": "finalOutput", "type": "String", "value": "已退出,请重新开始对话来发起新的模型配置请求。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "6f7d0c10-fe39-4dbe-8e72-0d5202e42a22", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jade7dv633", "from": "jadeas9z1s", "type": "jadeEvent", "metaId": "jadei8jdd4", "runnable": true, "fromConnector": "E"}, {"to": "jadeifaftx", "from": "jade0305an", "type": "jadeEvent", "metaId": "jadecg9j3o", "runnable": true, "fromConnector": "dynamic-999"}, {"to": "jade1thrs1", "from": "jade3q2qyw", "type": "jadeEvent", "metaId": "jadewcxlt5", "runnable": true, "fromConnector": "E"}], "metaId": "df3c7df760964d08b092f7c9d0eb9513", "status": "active", "version": "1.0.0", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}', 'Jade', '2025-04-18 12:12:24.826149') ON CONFLICT (definition_id) DO NOTHING; + +INSERT INTO "public"."flow_graph" ("id", "version", "tenant", "status", "name", "data", "created_by", "created_at", "updated_by", "updated_at", "previous", "is_deleted") VALUES ('df3c7df760964d08b092f7c9d0eb9513', '1.0.0', '31f20efc7e0848deab6a6bc10fc3021e', 'active', 'df3c7df760964d08b092f7c9d0eb9513', '{"id":"df3c7df760964d08b092f7c9d0eb9513","title":"df3c7df760964d08b092f7c9d0eb9513","source":"elsa","type":"jadeFlowGraph","tenant":"31f20efc7e0848deab6a6bc10fc3021e","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"name":"none","next":"INFORMATION"},"progressStatus":{"name":"NONE","next":"UNKNOWN","color":"gray"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{},"allNodeNumLimit":99,"sameTypeNodeNumLimit":19,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10},"pages":[{"x":-1225.7009556725914,"y":160.9007936507931,"id":"elsa-page:tvp1s6","bold":false,"mode":"configuration","text":"newFlowPage","type":"jadeFlowPage","dirty":true,"index":0,"width":1600,"hAlign":"left","height":800,"isPage":true,"italic":false,"scaleX":0.7000000000000001,"scaleY":0.7000000000000001,"vAlign":"top","itemPad":[0,0,0,0],"division":-1,"dockMode":"none","fontFace":"arial","fontSize":18,"hideText":true,"moveable":true,"shapesAs":{},"backColor":"#fbfbfc","container":"elsa-page:tvp1s6","dockAlign":"top","fontColor":"#ECD0A7","fontStyle":"normal","itemSpace":5,"namespace":"jadeFlow","fontWeight":"bold","itemScroll":{"x":0,"y":0},"borderColor":"white","focusBackColor":"#fbfbfc","shapes":[{"x":-170.8928571428571,"y":32.5,"id":"jade6qm5eg","pad":6,"bold":false,"text":"开始","type":"startNodeStart","dirty":false,"index":0,"width":360,"height":728,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","from":"Expand","name":"input","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","from":"Input","name":"Question","type":"String","value":"","isVisible":true,"isRequired":true,"description":"这是用户输入的问题。","displayName":"用户问题","disableModifiable":true}],"config":[{"allowAdd":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","from":"Expand","name":"memory","type":"Object","value":[{"id":"a7675623-7fc7-468c-8910-e73c70e5e468","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","from":"Input","name":"type","type":"String","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","from":"Input","name":"value","type":"Integer","value":"3"}]},{"id":"91138f09-b635-43df-95c6-1fe3d1745830","from":"Expand","name":"appConfig","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dadf","from":"Input","name":"appChatStyle","type":"String","value":"default"}]}],"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":false,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"startComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":2564.107142857142,"y":-145.1785714285714,"id":"jadesoux5i","pad":6,"bold":false,"text":"添加模型结束","type":"endNodeEnd","dirty":false,"index":1,"width":360,"height":313,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"54dab89c-5693-4082-baa7-12c648d812f7","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","from":"Reference","name":"finalOutput","type":"String","value":["output"],"editable":true,"isRequired":true,"description":"","referenceId":"output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1","referenceKey":"output","referenceNode":"jadehyxese"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"c26bf2ca-75b3-4a6f-bc47-132c2e170895","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":278.02238424402026,"y":428.19444444444423,"id":"jadevpescp","pad":6,"bold":false,"text":"获取用户模型列表","type":"toolInvokeNodeState","dirty":false,"index":2,"width":360,"height":297,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"userId"}],"return":{"type":"array"},"uniqueName":"16816279-411b-48e1-b754-191abd61dcd0"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"userId_f4725c4a-ac63-4b51-ae86-8c0baca9b71d","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":true,"description":"用户id","referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"outputParams":[{"id":"output_78982629-c58c-4211-9f4b-369bdcfef31f","name":"output","type":"Array","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":189.1071428571429,"y":396.5,"id":"jadexixl9n","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":3,"textX":0,"textY":0,"width":88.91524138687737,"hAlign":"center","height":180.19444444444423,"italic":false,"margin":20,"toShape":"jadevpescp","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade6qm5eg","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":722.4668286884644,"y":289.30555555555554,"id":"jade1osjbn","pad":6,"bold":false,"text":"人工表单","type":"manualCheckNodeState","dirty":true,"index":4,"width":360,"height":489,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","imgUrl":"http://localhost:8001/api/jober/static/smart_form/6befc536-7e6d-48b5-8dcb-1c4d04ca4e92/form.png","taskId":"1568509614c245a39ce53bda9c3c2ec1","formName":"模型管理表单","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"models_6db2dcd7-94f1-4eb9-88d8-69e68e3fc990","name":"models","type":"Array","from":"Reference","isRequired":true,"referenceNode":"jadevpescp","referenceId":"output_78982629-c58c-4211-9f4b-369bdcfef31f","referenceKey":"output","value":["output"]}],"outputParams":[{"id":"output_14c32c0b-52d1-4d40-8b5d-b0470f3ddd9a","name":"output","type":"Object","value":[{"id":"output_c2404fc9-56de-4cca-9706-0e63c49ad4d0","name":"info","type":"Object","value":[{"id":"d270cf95-6f76-49bd-81b2-66692109034b","name":"apiKey","type":"String","value":"String"},{"id":"ae07dc15-b235-4139-ad89-9b6160988472","name":"userId","type":"String","value":"String"},{"id":"8bfa7821-ff6b-4e53-bfbc-213d68a613a2","name":"baseUrl","type":"String","value":"String"},{"id":"a29201e7-7fe3-4f3f-834d-899a6cfbd79e","name":"modelId","type":"String","value":"String"},{"id":"62d172c1-b852-4b5d-97d8-aa303956aae0","name":"isDefault","type":"Integer","value":"Integer"},{"id":"ce53a197-f57a-4bfa-9343-b6f993b61883","name":"modelName","type":"String","value":"String"}]},{"id":"bed9c7b2-83dc-4b3e-9f9c-915e20663037","name":"action","type":"String","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"manualCheckComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":638.0223842440203,"y":576.6944444444442,"id":"jade419ps4","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":5,"textX":0,"textY":0,"width":84.44444444444412,"hAlign":"center","height":-42.88888888888869,"italic":false,"margin":20,"toShape":"jade1osjbn","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadevpescp","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1150.8795271011613,"y":195.33730158730177,"id":"jade0305an","pad":6,"bold":false,"text":"条件","type":"conditionNodeCondition","dirty":false,"index":6,"width":600,"height":735,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e","type":"if","runnable":true,"conditions":[{"id":"eaa48316-b65d-49f4-a9c2-0d1261cb4efe","value":[{"id":"3288e216-4f89-473c-b6b9-e9d80e66fe0c","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"bed9c7b2-83dc-4b3e-9f9c-915e20663037","referenceKey":"action","referenceNode":"jade1osjbn"},{"id":"e63c3cba-9edc-4d94-af84-e8ad0c319aa8","from":"Input","name":"right","type":"String","value":"add","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"42754fab-4274-4e32-9811-9088eb80f691","type":"if","runnable":true,"conditions":[{"id":"7122796c-36ce-41ea-96be-0ce69cfe704b","value":[{"id":"b9a64d7a-1ebc-40e1-a02b-2a793154b5fa","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"bed9c7b2-83dc-4b3e-9f9c-915e20663037","referenceKey":"action","referenceNode":"jade1osjbn"},{"id":"51b80568-1f7a-4cca-8c31-c42f41d5b63d","from":"Input","name":"right","type":"String","value":"delete","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"79592b84-07fd-4212-9f50-71479aa86b22","type":"if","runnable":true,"conditions":[{"id":"42692336-de84-4023-864e-3ee666da5d93","value":[{"id":"14a9b304-09dd-45ce-a421-6aa91703a1f4","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"bed9c7b2-83dc-4b3e-9f9c-915e20663037","referenceKey":"action","referenceNode":"jade1osjbn"},{"id":"557856d5-18c8-4a67-91d4-0cf4faec4060","from":"Input","name":"right","type":"String","value":"switch","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"50b171e2-b8b6-46cb-89a3-a6e0883ae710","type":"else","runnable":true,"conditions":[{"id":"90303c25-9b1b-4e87-8af8-e3c997331c38","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1082.4668286884644,"y":533.8055555555555,"id":"jadezmsms0","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":7,"textX":0,"textY":0,"width":68.41269841269695,"hAlign":"center","height":29.031746031746252,"italic":false,"margin":20,"toShape":"jade0305an","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade1osjbn","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1975.165241386877,"y":-157.51984126984166,"id":"jadehyxese","pad":6,"bold":false,"text":"添加模型","type":"toolInvokeNodeState","dirty":false,"index":8,"width":360,"height":411,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"modelName"},{"name":"baseUrl"},{"name":"apiKey"},{"name":"userId"}],"return":{"type":"string"},"uniqueName":"77ee3e02-5870-4338-a8be-52c8ed42f3c7"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"modelName_216f7038-ade2-465a-9d24-9fb39d4af5e5","from":"Reference","name":"modelName","type":"String","value":["output","info","modelName"],"isRequired":true,"description":"模型名称","referenceId":"ce53a197-f57a-4bfa-9343-b6f993b61883","referenceKey":"modelName","referenceNode":"jade1osjbn"},{"id":"baseUrl_49ee4206-7c9c-4311-b749-da274d3d14df","from":"Reference","name":"baseUrl","type":"String","value":["output","info","baseUrl"],"isRequired":true,"description":"模型访问地址","referenceId":"8bfa7821-ff6b-4e53-bfbc-213d68a613a2","referenceKey":"baseUrl","referenceNode":"jade1osjbn"},{"id":"apiKey_d776d4db-4b49-4dee-b054-5b43d28c9c64","from":"Reference","name":"apiKey","type":"String","value":["output","info","apiKey"],"isRequired":true,"description":"模型访问的 API Key","referenceId":"d270cf95-6f76-49bd-81b2-66692109034b","referenceKey":"apiKey","referenceNode":"jade1osjbn"},{"id":"userId_9a314ce2-d74b-471e-a7f8-ac5bf189f253","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":true,"description":"用户id","referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"outputParams":[{"id":"output_3a2ca725-4c94-4ead-bfcd-ffb8ac5ee3b1","name":"output","type":"String","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1973.736669958303,"y":369.623015873016,"id":"jadeas9z1s","pad":6,"bold":false,"text":"删除模型","type":"toolInvokeNodeState","dirty":false,"index":9,"width":360,"height":335,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"modelId"},{"name":"userId"}],"return":{"type":"string"},"uniqueName":"ff0a4b59-0be7-436f-8931-6a599ed9f8f3"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"modelId_e329ead9-4485-453a-8973-9047c1e06a9a","from":"Reference","name":"modelId","type":"String","value":["output","info","modelId"],"isRequired":true,"description":"模型id","referenceId":"a29201e7-7fe3-4f3f-834d-899a6cfbd79e","referenceKey":"modelId","referenceNode":"jade1osjbn"},{"id":"userId_47ee255d-9eeb-418c-aabc-8eb7871d0be5","from":"Reference","name":"userId","type":"String","value":["output","info","userId"],"isRequired":true,"description":"用户id","referenceId":"ae07dc15-b235-4139-ad89-9b6160988472","referenceKey":"userId","referenceNode":"jade1osjbn"}],"outputParams":[{"id":"output_786cf758-f9af-4959-83e7-251a01e04fb0","name":"output","type":"String","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1739.953710973929,"y":381.97731623573924,"id":"jade2cfmdw","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":10,"textX":0,"textY":0,"width":235.21153041294792,"hAlign":"center","height":-333.9971575055809,"italic":false,"margin":20,"toShape":"jadehyxese","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0305an","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|20e8e83b-31f2-4ba5-93b7-0920b2b7cc2e"},{"x":1966.593812815448,"y":741.0515873015875,"id":"jade3q2qyw","pad":6,"bold":false,"text":"切换默认模型","type":"toolInvokeNodeState","dirty":false,"index":11,"width":360,"height":335,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"modelId"},{"name":"userId"}],"return":{"type":"string"},"uniqueName":"f76205df-1814-49b9-a473-c03ee99770b7"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"modelId_1312ce29-7bb9-4ac2-8cb9-e53a3f6b68c8","from":"Reference","name":"modelId","type":"String","value":["output","info","modelId"],"isRequired":true,"description":"默认模型id","referenceId":"a29201e7-7fe3-4f3f-834d-899a6cfbd79e","referenceKey":"modelId","referenceNode":"jade1osjbn"},{"id":"userId_71b52489-3462-48ea-824c-ce04d99ba7e2","from":"Reference","name":"userId","type":"String","value":["output","info","userId"],"isRequired":true,"description":"用户id","referenceId":"ae07dc15-b235-4139-ad89-9b6160988472","referenceKey":"userId","referenceNode":"jade1osjbn"}],"outputParams":[{"id":"output_4113326b-5e9f-495e-8112-2ca9a0dca171","name":"output","type":"String","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1739.953710973929,"y":569.9773031567772,"id":"jade31ntj1","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":12,"textX":0,"textY":0,"width":233.7829589843741,"hAlign":"center","height":-32.85428728376121,"italic":false,"margin":20,"toShape":"jadeas9z1s","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0305an","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|42754fab-4274-4e32-9811-9088eb80f691"},{"x":1739.953710973929,"y":757.977268279545,"id":"jadedmxi6l","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":13,"textX":0,"textY":0,"width":226.64010184151903,"hAlign":"center","height":150.57431902204246,"italic":false,"margin":20,"toShape":"jade3q2qyw","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0305an","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-2|79592b84-07fd-4212-9f50-71479aa86b22"},{"x":2335.165241386877,"y":47.98015873015834,"id":"jadejcuwis","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":14,"textX":0,"textY":0,"width":228.9419014702653,"hAlign":"center","height":-36.658730158729725,"italic":false,"margin":20,"toShape":"jadesoux5i","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadehyxese","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2633.736669958307,"y":322.4801587301588,"id":"jade7dv633","pad":6,"bold":false,"text":"删除模型结束","type":"endNodeEnd","dirty":false,"index":15,"width":360,"height":313,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"104c12c3-804b-419f-a1c7-24b66516ed42","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"020da94c-e511-4ee9-8e2b-0ce5eb3103cb","from":"Reference","name":"finalOutput","type":"String","value":["output"],"editable":true,"isRequired":true,"description":"","referenceId":"output_786cf758-f9af-4959-83e7-251a01e04fb0","referenceKey":"output","referenceNode":"jadeas9z1s"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"0367a295-adad-4a19-a08e-ab04c37db3ac","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2602.308098529733,"y":732.4801587301587,"id":"jade1thrs1","pad":6,"bold":false,"text":"结束_2","type":"endNodeEnd","dirty":false,"index":16,"width":360,"height":313,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"9f2d49d0-240d-46bb-80cb-a4391ac0de69","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"0f777bfd-06e5-452a-b80e-509057551d72","from":"Reference","name":"finalOutput","type":"String","value":["output"],"editable":true,"isRequired":true,"description":"","referenceId":"output_4113326b-5e9f-495e-8112-2ca9a0dca171","referenceKey":"output","referenceNode":"jade3q2qyw"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"fac8c254-46c4-42b2-92f0-32990dcd0086","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1863.736669958305,"y":1129.6230158730177,"id":"jadeifaftx","pad":6,"bold":false,"text":"退出表单结束","type":"endNodeEnd","dirty":false,"index":17,"width":360,"height":313,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"59007e69-9047-42d4-bfcd-3150e78f0215","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"cffd1f94-832a-4f23-b8d5-b72db4d521c1","from":"Input","name":"finalOutput","type":"String","value":"已退出,请重新开始对话来发起新的模型配置请求。","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"6f7d0c10-fe39-4dbe-8e72-0d5202e42a22","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2333.736669958303,"y":537.123015873016,"id":"jadei8jdd4","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":18,"textX":0,"textY":0,"width":300.0000000000041,"hAlign":"center","height":-58.142857142857224,"italic":false,"margin":20,"toShape":"jade7dv633","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeas9z1s","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1739.953710973929,"y":870.9773478432309,"id":"jadecg9j3o","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":19,"textX":0,"textY":0,"width":123.78295898437591,"hAlign":"center","height":415.14566802978686,"italic":false,"margin":20,"toShape":"jadeifaftx","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0305an","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":2326.593812815448,"y":908.5515873015875,"id":"jadewcxlt5","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":20,"textX":0,"textY":0,"width":275.71428571428487,"hAlign":"center","height":-19.571428571428783,"italic":false,"margin":20,"toShape":"jade1thrs1","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade3q2qyw","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"}]}],"enableText":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.fitable.FlowInfoCallback"]},"enableOutputScope":true,"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler","modelengine.fit.jober.fitable.FlowInfoException"]},"version":"1.0.0"}', 'Jade', '2025-04-18 12:12:24.368006', 'Jade', '2025-04-18 12:12:24.831911', NULL, 'f') ON CONFLICT (id, version) DO NOTHING; + +INSERT INTO "public"."store_app" ("like_count", "download_count", "source", "icon", "app_category", "tool_name", "tool_unique_name") VALUES (0, 0, 'system', '', 'chatbot', '模型配置应用', '7a76cbd2-881d-469b-b2df-76abed7d0b61') ON CONFLICT ("tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('模型配置应用', '{"name":"模型配置应用","description":"当你想要配置模型的时候,请使用我!","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"0b4fe5a430104edfbe0dc6cff0ebea19","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '{"FIT":{"fitableId":"water.flow.invoke","genericableId":"07b51bd246594c159d403164369ce1db"},"APP":{"aippId":"0b4fe5a430104edfbe0dc6cff0ebea19","appCategory":"chatbot","version":"1.0.0","appId":"cec6bfe7cb3a444f8a26a97ea513e501"}}', 'null', '7a76cbd2-881d-469b-b2df-76abed7d0b61', '1.0.0', 't', '7a76cbd2-881d-469b-b2df-76abed7d0b61', '7a76cbd2-881d-469b-b2df-76abed7d0b61', '7a76cbd2-881d-469b-b2df-76abed7d0b61') ON CONFLICT ("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('7a76cbd2-881d-469b-b2df-76abed7d0b61', 'APP') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('7a76cbd2-881d-469b-b2df-76abed7d0b61', 'APP_TYPE_B653EDB7EB5A49BE91ABCD2C5877C6AD') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; \ No newline at end of file diff --git a/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/aipp_custom_model_center.sql b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/schema/create_tables/aipp_custom_model_center.sql similarity index 91% rename from app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/aipp_custom_model_center.sql rename to app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/schema/create_tables/aipp_custom_model_center.sql index d997efdd20..a10552c7dd 100644 --- a/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/aipp_custom_model_center.sql +++ b/app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/schema/create_tables/aipp_custom_model_center.sql @@ -1,8 +1,8 @@ create table if not exists t_app_engine_model ( "id" bigserial primary key not null, - "created_at" timestamp(9) default current_timestamp not null, - "updated_at" timestamp(9) default current_timestamp not null, + "created_at" timestamp default current_timestamp not null, + "updated_at" timestamp default current_timestamp not null, "created_by" varchar(64) default 'system' not null, "updated_by" varchar(64) default 'system' not null, "model_id" varchar(255) not null, @@ -26,8 +26,8 @@ comment on column t_app_engine_model.type is '模型类型'; create table if not exists t_app_engine_user_model ( "id" bigserial primary key not null, - "created_at" timestamp(9) default current_timestamp not null, - "updated_at" timestamp(9) default current_timestamp not null, + "created_at" timestamp default current_timestamp not null, + "updated_at" timestamp default current_timestamp not null, "created_by" varchar(64) default 'system' not null, "updated_by" varchar(64) default 'system' not null, "user_id" varchar(255) not null, diff --git a/app-builder/plugins/plugins-show-case-parent/aito-data/src/main/resources/sql/data/tr_t_wenjie.sql b/app-builder/plugins/plugins-show-case-parent/aito-data/src/main/resources/sql/data/tr_t_wenjie.sql new file mode 100644 index 0000000000..4752621832 --- /dev/null +++ b/app-builder/plugins/plugins-show-case-parent/aito-data/src/main/resources/sql/data/tr_t_wenjie.sql @@ -0,0 +1,59 @@ +INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type") VALUES ('550177e8d0e34014a2d95988ef1c67c5', '问界试驾助手', 'Jade', '2025-04-19 09:08:09.532855', 'Jade', '2025-04-19 09:15:37.326128', '2aee7721a4fb46b3b0a789f9037b040d', '5711f3230eb94abdb168e61d2082d1d2', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "name": "问界试驾助手", "greeting": "", "store_id": "2a3141b2-8c83-40c2-b2b6-103746c125d3", "is_update": false, "description": "", "publishedUpdateLog": "", "publishedDescription": "问界试驾助手"}', 'active', 'workflow', 'chatbot', 0, 0, 'pTTfcIHbWg8gW0sK', '4db152b24f94473ab683b1acbfe3c865') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config" ("id", "form_id", "app_id", "tenant_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('2aee7721a4fb46b3b0a789f9037b040d', 'b8986770a6ffef44bbf2a9f26d6fc1be', '550177e8d0e34014a2d95988ef1c67c5', '31f20efc7e0848deab6a6bc10fc3021e', 'Jade', '2025-04-19 09:08:09.532855', 'Jade', '2025-04-19 09:15:37.326128', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('a34e2263306c40d4ae094f3824f1a597', 'jadewdnjbq', '662b1e243b8e43788092b8bff6b7a5f6', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('08b052891c9c427cbbeb3691d417d1a4', 'jadewdnjbq', 'ae708d5828194845afc15402d2849b8b', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('900566e10af8443483de407ac06d8757', 'jade6qm5eg', 'b7a7c427418d4d8eb5e8f96165a1d6a6', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('457189dd226b4da49c1ba69de02d673a', 'jade0pg2ag', 'c383886d8a154b3f9e94950467d92432', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('b7f5c36e7bdc4d7daa4b52ca1235f71b', 'jadewdnjbq', '6290bce2ccf249239bc52866604a3920', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('c0ea9932b52f4c1b9190defa05e0dd13', 'jadewdnjbq', 'd8bd923772b247cf88bfcb7571059066', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('b1b212206a2b4b799a1882656b1caebe', 'jadewdnjbq', '01ec06bcc0e7483da79b7f1c55b7851e', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('16af6a6c453941e9a0ade975e1f5e08a', 'jadewdnjbq', 'ba6cd122de7d4e20a8e69702379a4b9f', '2aee7721a4fb46b3b0a789f9037b040d', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_flow_graph" ("id", "name", "create_by", "create_at", "update_by", "update_at", "appearance", "is_deleted") VALUES ('5711f3230eb94abdb168e61d2082d1d2', 'LLM模板', 'Jade', '2025-04-19 09:08:09.532855', 'Jade', '2025-04-19 09:15:37.326128', '{"id": "5711f3230eb94abdb168e61d2082d1d2", "type": "jadeFlowGraph", "pages": [{"x": -449.2228577394942, "y": 648.7782362023345, "id": "elsa-page:tvp1s6", "bold": false, "mode": "configuration", "text": "newFlowPage", "type": "jadeFlowPage", "dirty": true, "index": 0, "width": 1600, "hAlign": "left", "height": 800, "isPage": true, "italic": false, "scaleX": 0.7732920492783848, "scaleY": 0.7732920492783848, "shapes": [{"x": -1123.5461204767116, "y": 184.25814386932322, "id": "jade6qm5eg", "pad": 6, "bold": false, "text": "开始", "type": "startNodeStart", "dirty": false, "index": 0, "width": 360, "height": 226, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": false}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": true}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": false, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "startComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "mouseInBorderColor": "rgba(28,31,35,.08)"}, {"x": 819.1428754447782, "y": 139.13955828369046, "id": "jadewdnjbq", "pad": 6, "bold": false, "text": "大模型", "type": "llmNodeState", "dirty": false, "index": 1, "width": 360, "height": 344, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "31ba235d-1b26-4780-a7a7-32eca9500919", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "83653b54-dd04-4da9-957d-adb7c2728632", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "dd588a17-a69c-40c0-859a-d9930202a148", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "6c414e75-971e-403a-b2b1-c6850f128cc4", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "db5fdafa-4cbf-44ba-9cca-8a98f1f771f4", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "88f74d78-4711-4f81-a2e7-74d0034c5e88", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "35a710cf-1b79-4523-b16f-b50878d677fe", "from": "Input", "name": "template", "type": "String", "value": "如果用户未指定具体车型,则按照用户问题,结合工具提供的问界车型信息,给出简略概要类的回答。\n问题:{{query}} "}, {"id": "38fb27a1-71f4-4fcc-87d5-9d8a880bc04d", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "eee66922-4304-4209-89fc-b13ffa101630", "from": "Reference", "name": "query", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "a6865419-867c-4bfb-855c-f5c1876c965a", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "29d1707c-beaa-44c8-9eb2-08462880b031", "from": "Input", "name": "问界车型信息查询", "tags": ["FIT"], "type": "String", "value": "7cba6fdd-8c6d-410f-81dc-775ffe96902b", "version": "1.0.0"}]}, {"id": "308e2023-a8e9-486e-9784-8680addbb786", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "68f92923-d5da-42ce-8478-d7ac7d90664e", "from": "Input", "name": "systemPrompt", "type": "String", "value": "你是一个具备自主工具调用能力的智能体,可以展示中间的思考过程给用户。你的回答有两种情况:\n\n无需调用外部工具\n\n如果问题可通过已有对话历史或直接推理得到答案,直接输出最终结果,不需使用任何标签包装,也不显示详细思考过程。\n需要调用外部工具解决的复杂问题\n\n必须采用以下严格的标签体系输出,每个标签之间空一行,且仅展示真实的工具调用结果:\n...:展示你内部的思考过程。注意,这部分内容可以展示给用户,但仅限于描述思路,不应包含任何伪造的工具调用结果。\n...:描述你准备调用工具的原因和计划。此处仅说明你需要调用哪个工具以及原因,工具的名称对人类阅读要友好,切勿直接模拟或输出工具返回内容。\n...:当你真正调用某个工具后,等待工具反馈,然后将工具调用的返回结果做非常简略的摘要后放在此标签内,摘要字数在20字以内。绝对禁止在未获得真实工具反馈前预先构造。 标签内容。\n...:在获取所有真实工具调用结果后,将整合信息给出最终答案。\n**重要要求**:\n- **不要输出tool_call标签**。\n- **答案必须详细完整**,不仅仅是工具返回结果的简单总结,而是对结果进行深入分析和整合,并提供背景解释、推理过程和可行性分析。\n- **确保所有关键信息得到展开**,避免省略任何重要内容。\n- **如果适用,可以提供额外的解释、使用建议或应用场景,以增强回答的实用性**。\n- 请使用**标准 Markdown 语法**输出答案,保证语法完整,**不要拆分**列表结构。\n- **输出此标签后,不得追加任何其他内容或标签**。\n\n严格要求\n\n切勿在中间思考或工具调用计划中,提前生成伪造的 标签内容。必须在实际调用工具并获得反馈后,再以 标签展示真实结果,再生成 标签输出最终答案。\n如果历史对话中已包含真实的工具调用结果,应直接使用这些信息构造最终答案,避免重复调用或展示多余标签。\n在所有工具调用完成之前,不得输出 标签;只有在确认所有真实工具反馈后,才生成最终答案。"}, {"id": "78baad16-173f-4d70-a7cd-d1a2abc2f0d1", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "6d8d88d4-ebaa-4a57-9279-ae5b26654b5c", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "e1b4bea8-0028-49a1-9e7d-ec29cff215da", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "95d84d67-3198-415e-a63c-bc9a2da8d821", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "272c927a-9e25-48b6-a921-6a8ab20267a4", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "5782976c-0c1c-47b8-bcd5-8b6e22e52d39", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1324.8563982124583, "y": 33.988095238095184, "id": "jademzanbn", "pad": 6, "bold": false, "text": "车型提取", "type": "textExtractionNodeState", "dirty": false, "index": 2, "width": 360, "height": 334, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "分析试驾车型中...", "inputParams": [{"id": "extractParam_2ca71bb8-ea6e-4d08-8f24-16a6fc3b64b6", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_5d4f3012-93a0-4ebf-a9f1-17a9fe252651", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "272c927a-9e25-48b6-a921-6a8ab20267a4", "referenceKey": "llmOutput", "referenceNode": "jadewdnjbq"}, {"id": "desc_12bbcd63-44c5-48d3-88c6-8b3d48b7c431", "from": "Input", "name": "desc", "type": "String", "value": "车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "}, {"id": "outputSchema_77df0737-ef00-4e3b-864c-31402655c65c", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"}, {"id": "ed9f7d7e-4173-465b-a3f5-4d34345efa53", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "49a6dd9d-589f-4ca2-b66f-1b1951c5e886", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "582a3d24-d8d8-41c6-b9b7-277d5d994683", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_b5d5dd8c-1a39-450d-9851-130ff0aa3a78", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_eed12a01-ccac-4bbd-ae80-39cf2d25a06c", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_f20d73ee-6376-4c90-adf2-1386771aaabd", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_4828a286-e3fd-4803-9887-31517cc82520", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_c3ba42cf-cb22-46d4-bdcc-5d86204ad098", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_d7c69077-05bf-4c1b-8e38-735e03d984ad", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_51a356d1-f2ac-4f3b-b444-99a737100996", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "30bf32bc-b320-418e-ae62-b30d45b26255", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "37331645-54f7-4751-8d04-12ab9d74a8a7", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "from": "Input", "name": "carTypes", "type": "Array", "value": "", "description": "问界的车型列表,具体到型号"}]}, {"id": "success_e3a426e0-3d67-42e3-b985-1daa32a44d20", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "stageDesc": "分析试驾车型中...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "textExtractionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1179.1428754447782, "y": 311.13955828369046, "id": "jadevbcutd", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 3, "textX": 0, "textY": 0, "width": 145.71352276768016, "hAlign": "center", "height": -110.15146304559528, "italic": false, "margin": 20, "toShape": "jademzanbn", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadewdnjbq", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1938.9763707660359, "y": -16.95528828179343, "id": "jade0ibwv7", "pad": 6, "bold": false, "text": "判断车型列表长度", "type": "codeNodeState", "dirty": false, "index": 4, "width": 368, "height": 252, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "cab31f1f-5429-4f02-99b9-540e0d795357", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "bc929113-6c29-46b8-a1ad-8d53f2d9bb2e", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "66c7a482-6c7f-4698-807c-159aaba67485", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: dict) -> str:\n is_valid_res = args.get(''input'', {}).get(''success'', bool)\n\n if not is_valid_res:\n return ''empty''\n\n input_list = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n\n if len(input_list) == 0:\n return ''empty''\n elif len(input_list) == 1:\n return ''single''\n else:\n return ''multi''\n", "language": "python"}, {"id": "5368a24a-8782-4c08-9b79-58bfcd86f6e3", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "e6aea608-a116-4f5c-9554-1a704547665e", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "string", "description": ""}}}}], "outputParams": [{"id": "70793ed8-e5c9-4ede-9945-5db35626f68f", "from": "Expand", "name": "output", "type": "String", "value": ""}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "codeComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2330.285047191377, "y": 120.84717835822356, "id": "jadeh0ccb7", "pad": 6, "bold": false, "text": "条件", "type": "conditionNodeCondition", "dirty": false, "index": 5, "width": 600, "height": 284, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "23d6704f-527f-43d9-8621-d8577d71dfec", "type": "if", "runnable": true, "conditions": [{"id": "ddee81d4-a971-494c-99df-f94f37633531", "value": [{"id": "4d1e95b4-e9fd-431c-9d33-2b5c874dea02", "from": "Reference", "name": "left", "type": "String", "value": ["output"], "referenceId": "70793ed8-e5c9-4ede-9945-5db35626f68f", "referenceKey": "output", "referenceNode": "jade0ibwv7"}, {"id": "57b838c4-c03d-47f3-9f57-3f75d62898f2", "from": "Input", "name": "right", "type": "String", "value": "empty", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "6f8c44d7-ad5c-4004-95e0-e01c391be100", "type": "if", "runnable": true, "conditions": [{"id": "7fd27d06-ac26-4225-a927-2b0d4a773cd4", "value": [{"id": "0c2c78a1-6770-4f46-b36e-a30f3ce96b56", "from": "Reference", "name": "left", "type": "String", "value": ["output"], "referenceId": "70793ed8-e5c9-4ede-9945-5db35626f68f", "referenceKey": "output", "referenceNode": "jade0ibwv7"}, {"id": "082798c7-f2f6-40a8-bc73-edc9a174d0d3", "from": "Input", "name": "right", "type": "String", "value": "single", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "73eee09c-caeb-44c1-a54b-65b54d2f8db8", "type": "else", "runnable": true, "conditions": [{"id": "7f70dfc4-154a-48bb-849a-158e22eff435", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2306.976370766036, "y": 109.04471171820657, "id": "jadec676as", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 6, "textX": 0, "textY": 0, "width": 23.30867642534122, "hAlign": "center", "height": 153.802466640017, "italic": false, "margin": 20, "toShape": "jadeh0ccb7", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade0ibwv7", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 3095.528839751806, "y": 1087.2644560112249, "id": "jadejnmnp4", "pad": 6, "bold": false, "text": "选择需要了解的车型", "type": "intelligentFormNodeState", "dirty": false, "index": 7, "width": 360, "height": 236, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "83131a2d-781b-4756-a0c8-91ee865ffbae", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "from": "Input", "name": "car", "type": "String", "value": "car", "displayName": "我想深入了解的车型"}, {"id": "28da30c8-2e73-46d1-a1ad-85d8b0c734b9", "from": "Reference", "name": "car-options", "type": "Array", "value": ["output"], "referenceId": "504a2241-6962-4de4-901a-3df2b798eaa2", "referenceKey": "output", "referenceNode": "jadebz0q8j"}]}, {"id": "c554e101-37b5-4aa1-b9b3-bfcfb2423583", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "from": "Input", "name": "car", "type": "String", "value": "car", "options": {"from": "Reference", "type": "Array", "value": ["output"], "referenceId": "504a2241-6962-4de4-901a-3df2b798eaa2", "referenceKey": "output", "referenceNode": "jadebz0q8j"}, "renderType": "Radio", "displayName": "我想深入了解的车型"}]}}], "outputParams": [{"id": "b5220628-4334-42c5-9ac9-93d4fca29ac8", "name": "output", "type": "Object", "value": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "name": "car", "type": "String", "value": ""}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "intelligentFormComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3136.121745249294, "y": 285.2614783280843, "id": "jadee2orhp", "pad": 6, "bold": false, "text": "代码_1", "type": "codeNodeState", "dirty": false, "index": 8, "width": 368, "height": 252, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8f50ae1f-f0fc-4eac-889c-0a53274b9e12", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "11325c8d-0491-4f99-85d9-4df54a3048a5", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "32133c22-59bf-4b46-9eaa-d221a0032c23", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n list_car = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n return list_car[0]", "language": "python"}, {"id": "ff990b8b-cf0c-436d-a8e7-7d4863e8d396", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "9012d086-0ac4-4bcd-8455-e9b47e81c589", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "string", "description": ""}}}}], "outputParams": [{"id": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "from": "Expand", "name": "output", "type": "String", "value": ""}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "codeComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 756.4734101887923, "y": 1462.429481687775, "id": "jade3oqd4e", "pad": 6, "bold": false, "text": "大模型_2", "type": "llmNodeState", "dirty": false, "index": 9, "width": 360, "height": 344, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "263b7842-e631-454a-aca2-8d979a344865", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "7b6ccdee-5b0b-4411-8f21-b75fe7879f5f", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "357563a6-8a44-40b1-8bdf-d11330ea58bb", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "3668396b-2055-417b-bef3-974623bee721", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "0cdec945-916c-4d47-b14c-1059ce8189e3", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "8eb45463-3eb1-4543-ad3c-c8f4cb00a530", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "abf75403-ad7d-4364-9f33-92cfb306f000", "from": "Input", "name": "template", "type": "String", "value": "请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n问题:{{query}}"}, {"id": "7f267a0f-3a63-434f-a538-105229be8af6", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "b123d3e4-0570-42c6-a20b-6fbcb0235674", "from": "Reference", "name": "query", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "6a5694e0-5100-4697-bb4e-8b030ed89624", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "9eed644b-62ae-4fd2-b5da-c7b5a4244059", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "2dcf3b33-dd57-4bb6-ae66-f2484d44d2e6", "from": "Input", "name": "systemPrompt", "type": "String", "value": "角色:你是一个问界试驾助手。\n限制:对于涉及其他品牌车型的问题,不进行详细回答,建议用户提问关于问界车型的问题或是一般性的汽车知识问题。"}, {"id": "eed2b900-e733-4ca0-adbb-18d6a0b6082b", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "177986fa-db8d-4f92-a6f2-546b7232b94b", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "ca60a33d-41f2-4d36-bac2-19e8aa0cf6dc", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "98f2c414-2a1b-4d27-86aa-361a66973fd9", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "2e94082b-930d-4016-a180-a07bd0ad8e50", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "df7f2c19-3d1a-4531-a0a5-11d31286e6e8", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3641.1444929801864, "y": 259.58807973293915, "id": "jadeq2zedq", "pad": 6, "bold": false, "text": "确认试驾车型", "type": "intelligentFormNodeState", "dirty": false, "index": 10, "width": 360, "height": 236, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "9ac3705a-a49d-4240-87dc-7963533a46a5", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "from": "Reference", "name": "car", "type": "String", "value": ["output"], "displayName": "试驾车型", "referenceId": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "referenceKey": "output", "referenceNode": "jadee2orhp"}]}, {"id": "a4dfd48f-e998-4725-bb71-dfd0644785e2", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "from": "Reference", "name": "car", "type": "String", "value": ["output"], "options": {"from": "Reference", "value": [], "referenceId": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "referenceNode": "jademzanbn"}, "renderType": "Input", "displayName": "试驾车型", "referenceId": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "referenceKey": "output", "referenceNode": "jadee2orhp"}]}}], "outputParams": [{"id": "41e1e5aa-846e-48ce-92ea-07e4d61f6553", "name": "output", "type": "Object", "value": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "name": "car", "type": "String", "value": ""}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "intelligentFormComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3583.4751136945915, "y": 810.1291139444377, "id": "jadebywy1i", "pad": 6, "bold": false, "text": "大模型_1", "type": "llmNodeState", "dirty": false, "index": 11, "width": 360, "height": 344, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "905a7ab5-9f27-4ed8-b126-2a41394d9fe4", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "d3ac3f4a-d699-4341-89c3-d1c4921c1d2e", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "316ae379-274d-4fda-af6b-2f28b0356e2f", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "9ab32d21-b81b-4f13-9b5c-cd849ee7d334", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "9ee1c339-c88d-4248-86d6-139b64b763cf", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "99c6709d-5907-49e5-8394-0d294e8a3053", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "9646d069-0d62-4da2-a6cd-709c2e6b2d06", "from": "Input", "name": "template", "type": "String", "value": "通过工具获取车型信息,详细介绍这个车型:{{query}} "}, {"id": "16b3b1ba-cefd-4353-a29f-8004670c684a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "4c02d0da-7879-4461-8090-960554b32128", "from": "Reference", "name": "query", "type": "String", "value": ["output", "car"], "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}]}, {"id": "c04281f5-6769-476f-8d7d-7d21aa714ca8", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "06142d65-2487-4a40-b592-ac4638ac527d", "from": "Input", "name": "问界车型信息查询", "tags": ["FIT"], "type": "String", "value": "7cba6fdd-8c6d-410f-81dc-775ffe96902b", "version": "1.0.0"}]}, {"id": "a188c341-d4c0-46a0-8a8c-7438b05a4b6c", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "14e1b376-64ab-4ce1-86d2-e3285cea971c", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "2308bdeb-ff69-4cd9-afd4-ba8132c5d939", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "7f9b538a-7d1b-442d-b45e-5041364cfd4d", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "0"}, {"id": "62639076-5d67-4e37-bb54-024bdac816ec", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "8f3747e9-318f-49de-9de8-9610cf0049fc", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "d2156da5-09a9-4c8f-bf1a-9c63c457d439", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "6714da5e-b514-4911-b04b-96e3b83c15d7", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3455.528839751806, "y": 1205.2644560112249, "id": "jadew1opy5", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 12, "textX": 0, "textY": 0, "width": 127.94627394278541, "hAlign": "center", "height": -223.1353420667872, "italic": false, "margin": 20, "toShape": "jadebywy1i", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadejnmnp4", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4512.272758733045, "y": 788.3278204357666, "id": "jadez5nidp", "pad": 6, "bold": false, "text": "确认试驾车型2", "type": "intelligentFormNodeState", "dirty": false, "index": 13, "width": 360, "height": 236, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "2f92cbde-4e4b-4e7e-8307-18633cbb4352", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "displayName": "我要试驾车型", "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}, {"id": "76c41bdf-8383-4318-a667-fd61b42609ab", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "options": {"from": "Reference", "value": [], "referenceId": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "referenceNode": "jademzanbn"}, "renderType": "Input", "displayName": "我要试驾车型", "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}}], "outputParams": [{"id": "a8df0b85-ef18-4362-b94b-df12022d1e13", "name": "output", "type": "Object", "value": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "name": "car", "type": "String", "value": ""}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "intelligentFormComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1427.020111275216, "y": 1032.5974446613131, "id": "jadetvqkdx", "pad": 6, "bold": false, "text": "车型提取2", "type": "textExtractionNodeState", "dirty": false, "index": 14, "width": 360, "height": 334, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "分析试驾车型中...", "inputParams": [{"id": "extractParam_db169c41-8428-4d04-9ca9-d5462638b9de", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_ed4e777e-3973-4dfe-a5cd-8b6997e3c16f", "from": "Reference", "name": "text", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}, {"id": "desc_c5827ce1-b1c7-4959-98a6-79736761bfd7", "from": "Input", "name": "desc", "type": "String", "value": "车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "}, {"id": "outputSchema_2dda5dc9-c4f7-4f4e-a3ac-60a5387d66c9", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"}, {"id": "6958ac49-541d-4768-b198-dfdf3767649a", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "fb995664-4eb1-49e2-80ba-b6d2991eedd5", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "755800ba-5209-4a3c-90b0-b4aa4bfd8fe2", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_6bb0ad3b-7bbf-4110-acbd-f4b103214374", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_392e3f83-1fe1-43b5-88ae-afb9999ee4ee", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_cde542de-39f0-4550-91dd-b1cf979f310d", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_153d40da-349c-466e-8780-6eefc42ae5c6", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_fb24ab56-f614-412b-b6d6-dfbbbc189365", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_6b354c48-ed57-44b3-91a4-5940425dc1dc", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_d7e7c55e-d25b-4e03-80f1-b9937979faf1", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "b65edebe-1855-4502-a72f-0a207fd6c99f", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "66248c5c-9f8f-4000-8597-e8d6b0d7b16d", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "eb21be95-d82b-49b3-9eaf-455f4e449410", "from": "Input", "name": "carTypes", "type": "Array", "value": "", "description": "问界的车型列表,具体到型号"}]}, {"id": "success_e1a7af2a-fde0-4e73-81c1-cced296e08e8", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "stageDesc": "分析试驾车型中...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "textExtractionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1912.2742953652482, "y": 796.1082161366603, "id": "jadez5f1df", "pad": 6, "bold": false, "text": "聚合车型列表", "type": "codeNodeState", "dirty": false, "index": 15, "width": 368, "height": 252, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "ee12101b-d717-4f49-9ff5-6d840676047a", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "b8d2fbbf-1152-4403-a6dc-8ae88d7ddec3", "from": "Reference", "name": "input1", "type": "Object", "value": ["output"], "referenceId": "30bf32bc-b320-418e-ae62-b30d45b26255", "referenceKey": "output", "referenceNode": "jademzanbn"}, {"id": "662c4a18-21e8-47e0-bce2-10c89cb51b63", "from": "Reference", "name": "input2", "type": "Object", "value": ["output"], "referenceId": "b65edebe-1855-4502-a72f-0a207fd6c99f", "referenceKey": "output", "referenceNode": "jadetvqkdx"}]}, {"id": "08e9c25a-e55c-4620-bcca-325d714160d5", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n if args[''input1'']:\n return args[''input1'']\n else:\n return args[''input2''] \n", "language": "python"}, {"id": "7df2184c-f82f-43ab-9a30-d695fae550ea", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "35868ea7-d973-4a6c-b9f2-340a06f9f112", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "object", "properties": {}, "description": ""}}}}], "outputParams": [{"id": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "from": "Expand", "name": "output", "type": "Object", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "codeComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1684.8563982124583, "y": 200.98809523809518, "id": "jadeanptlq", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 16, "textX": 0, "textY": 0, "width": 227.41789715278992, "hAlign": "center", "height": 721.1201208985651, "italic": false, "margin": 20, "toShape": "jadez5f1df", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jademzanbn", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1787.020111275216, "y": 1199.5974446613131, "id": "jade58w7a7", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 17, "textX": 0, "textY": 0, "width": 125.25418409003214, "hAlign": "center", "height": -277.48922852465284, "italic": false, "margin": 20, "toShape": "jadez5f1df", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadetvqkdx", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2280.2742953652482, "y": 922.1082161366603, "id": "jadexs8po6", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 18, "textX": 0, "textY": 0, "width": -341.29792459921237, "hAlign": "center", "height": -813.0635044184537, "italic": false, "margin": 20, "toShape": "jade0ibwv7", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadez5f1df", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2383.9637395101945, "y": 939.1301739903586, "id": "jadebz0q8j", "pad": 6, "bold": false, "text": "提取车型列表", "type": "codeNodeState", "dirty": false, "index": 19, "width": 368, "height": 252, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "ac8da121-58a3-4801-82f3-862533c0db2b", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "90d97368-2212-4176-ab52-55215cb5d6c6", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "5abd8220-a2e6-47a1-b3d7-61da5c91a7c8", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n return args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])", "language": "python"}, {"id": "d09bd08d-d2f7-47c2-a74b-a9f9fe899387", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "c57b604c-0ae0-4d32-bef3-30c14793ddf1", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "array", "description": ""}}}}], "outputParams": [{"id": "504a2241-6962-4de4-901a-3df2b798eaa2", "from": "Expand", "name": "output", "type": "Array", "value": ""}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "codeComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2918.657887350822, "y": 344.64718910145405, "id": "jadep8j6qd", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 20, "textX": 0, "textY": 0, "width": -534.6941478406275, "hAlign": "center", "height": 720.4829848889045, "italic": false, "margin": 20, "toShape": "jadebz0q8j", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeh0ccb7", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 2751.9637395101945, "y": 1065.1301739903586, "id": "jader2ugw2", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 21, "textX": 0, "textY": 0, "width": 343.5651002416116, "hAlign": "center", "height": 140.1342820208663, "italic": false, "margin": 20, "toShape": "jadejnmnp4", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadebz0q8j", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1585.717679196791, "y": 1882.192672636369, "id": "jadeaevz6w", "pad": 6, "bold": false, "text": "结束_1", "type": "endNodeEnd", "dirty": false, "index": 22, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "e42435d1-bd40-4a8f-a6da-6ce3b8c9e936", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "0cecce75-2752-4f0b-8c01-e55897f82eef", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "2e94082b-930d-4016-a180-a07bd0ad8e50", "referenceKey": "llmOutput", "referenceNode": "jade3oqd4e"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "f7b318fa-c166-4b2d-b72a-e6b90b8c7324", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 1116.4734101887923, "y": 1634.429481687775, "id": "jadewhsta6", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 23, "textX": 0, "textY": 0, "width": 469.2442690079988, "hAlign": "center", "height": 338.763190948594, "italic": false, "margin": 20, "toShape": "jadeaevz6w", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade3oqd4e", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4941.814604932744, "y": 1053.7568338252217, "id": "jadevgtszg", "pad": 6, "bold": false, "text": "结束_3", "type": "endNodeEnd", "dirty": false, "index": 24, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "10392a5e-479e-468d-9a87-bb85a2649cc2", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "b2ab53ef-8e29-4a95-9fed-be9894df8806", "from": "Input", "name": "out", "type": "String", "value": "您选择的试驾车型为:", "editable": true, "isRequired": true, "description": ""}, {"id": "31d34355-c6d3-459d-ac61-66eaf31f6fd4", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "editable": true, "isRequired": true, "description": "", "referenceId": "610f8341-46f0-4e26-a6b8-58be5d52f560", "referenceKey": "car", "referenceNode": "jadez5nidp"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "89dfe7b5-972a-4b2a-a2b4-86c9b851fe05", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 4872.272758733045, "y": 906.3278204357666, "id": "jade90v0rb", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 25, "textX": 0, "textY": 0, "width": 69.54184619969965, "hAlign": "center", "height": 238.42901338945512, "italic": false, "margin": 20, "toShape": "jadevgtszg", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadez5nidp", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4360.7236177911855, "y": 276.14527960371345, "id": "jade9wr70l", "pad": 6, "bold": false, "text": "结束_2", "type": "endNodeEnd", "dirty": false, "index": 26, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "bf589d2e-aff9-46f4-a266-4f3b6b4ea6e7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "9104e96f-26ec-46cf-88b4-1ff929f7b983", "from": "Input", "name": "out", "type": "String", "value": "您选择的试驾车型为:", "editable": true, "isRequired": true, "description": ""}, {"id": "7c278873-cea0-424b-b344-e22ab070aeb3", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "editable": true, "isRequired": true, "description": "", "referenceId": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "referenceKey": "car", "referenceNode": "jadeq2zedq"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "ab34cf0f-7fa9-424d-8b01-edc402fb163d", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3281.554641671145, "y": -72.84814124515464, "id": "jadehrizke", "pad": 6, "bold": false, "text": "结束", "type": "endNodeEnd", "dirty": false, "index": 27, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8fca4472-cb61-474b-97c8-be14566e998a", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "1e9b929c-bd6d-46c1-9b8c-23d1a0f7a7cc", "from": "Input", "name": "out", "type": "String", "value": "非常抱歉,不支持该车型的试驾。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "8fcd715b-5e4c-488c-bcb7-ec5f4b5c83c2", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 2918.657887350822, "y": 241.64718520187574, "id": "jadeke55eo", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 28, "textX": 0, "textY": 0, "width": 362.896754320323, "hAlign": "center", "height": -223.49532644703038, "italic": false, "margin": 20, "toShape": "jadehrizke", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeh0ccb7", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|23d6704f-527f-43d9-8621-d8577d71dfec"}, {"x": -503.16041743745245, "y": 128.7548542937538, "id": "jade1tc9vb", "pad": 6, "bold": false, "text": "用户问题分类", "type": "llmNodeState", "dirty": false, "index": 29, "width": 360, "height": 344, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8e3a79d1-d39d-4815-9236-2e08bcbeb89d", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "d9ef67b3-a4e8-4b6c-b15b-0f55de543159", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "22a75a6e-c13a-45e7-9492-15613f79b1d8", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a8265476-b028-4b32-88a4-cd9e27609d86", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "2c6a7c43-a6d7-4850-a60f-43d615085630", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "80222643-ef96-41ca-b9f6-6eae7f267a69", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "d655ab25-92c4-4af2-a01a-3e7e22a84362", "from": "Input", "name": "template", "type": "String", "value": "\"请分析用户的问题,并判断其意图是否是与问界汽车或是问界试驾有关。\n 如果用户的问题涉及问界汽车信息的询问,(例如:“请介绍一下问界M5”、 “给我推荐一款问界汽车”),则返回 ‘问界汽车问题’。\n如果用户只是咨询试驾相关内容(例如:“我想试驾问界M5”、“我想试驾保时捷911”),则返回 ‘试驾汽车问题’。\n如果用户问题是关于**其他品牌**的汽车或是一般性闲聊(例如:“最近有什么有趣的事?”、“今天天气不错”)则返回 ‘其他问题’\"\n用户问题:{{input}}\n**重要:不要回答``问界汽车问题``、``试驾汽车问题``、``其他问题``以外的文字**"}, {"id": "cfe7e088-9f69-4671-a44a-4cd0f553920e", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "046e05a4-4aa1-4694-8427-634bd97596d0", "from": "Reference", "name": "input", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "248bb3d3-abcb-4072-8b14-360428994714", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "89b4068b-9926-4429-a334-9b6daefc11d0", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "267e88b8-1cdc-4312-a117-a96ea6c37514", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "3b9fafe7-20ac-4d59-be6c-1dd61b264e70", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}, {"id": "ed3e6fda-3a66-405c-b5d4-100822755cd8", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "d4ae45a4-74cc-498c-9e6e-69a1694614fb", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "2d7b57fb-c452-41d3-9fed-bed3289c64eb", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": -763.5461204767116, "y": 297.25814386932325, "id": "jadeknglms", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 30, "textX": 0, "textY": 0, "width": 260.38570303925917, "hAlign": "center", "height": 3.496710424430546, "italic": false, "margin": 20, "toShape": "jade1tc9vb", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade6qm5eg", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": -66.83537340229776, "y": 197.7460840672867, "id": "jade5pubt6", "pad": 6, "bold": false, "text": "条件_1", "type": "conditionNodeCondition", "dirty": false, "index": 31, "width": 600, "height": 284, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "407a4d42-fe33-427e-8553-9de19e9bb002", "type": "if", "runnable": true, "conditions": [{"id": "e6cc2561-bf7f-43e9-873e-675ef7fa1340", "value": [{"id": "146ae59a-df8a-4181-9dbc-466e6b81cdb9", "from": "Reference", "name": "left", "type": "String", "value": ["output", "llmOutput"], "referenceId": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "referenceKey": "llmOutput", "referenceNode": "jade1tc9vb"}, {"id": "5a2bd11a-bbff-4e14-81a7-8f5d747d9e61", "from": "Input", "name": "right", "type": "String", "value": "问界汽车问题", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "7fe7b5fa-c661-4ba5-9f87-4e8070496dd0", "type": "if", "runnable": true, "conditions": [{"id": "fc38c7be-06ac-41eb-a896-e6bb0f9129d0", "value": [{"id": "767ed731-7595-46a6-9448-dcac3635694a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "llmOutput"], "referenceId": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "referenceKey": "llmOutput", "referenceNode": "jade1tc9vb"}, {"id": "1ce1f111-7dec-4fac-b6e5-fd02d5b78557", "from": "Input", "name": "right", "type": "String", "value": "试驾汽车问题", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "dc589e0f-3202-46e4-87f4-e550d54bbbc5", "type": "else", "runnable": true, "conditions": [{"id": "8d21bec4-7de8-4b35-9561-2e4374e42780", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": -143.16041743745245, "y": 300.7548542937538, "id": "jadey81zoy", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 32, "textX": 0, "textY": 0, "width": 76.32504403515469, "hAlign": "center", "height": 38.99122977353289, "italic": false, "margin": 20, "toShape": "jade5pubt6", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade1tc9vb", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 521.5373576131606, "y": 318.54609091093886, "id": "jade8w9r8o", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 33, "textX": 0, "textY": 0, "width": 297.6055178316176, "hAlign": "center", "height": -7.406532627248396, "italic": false, "margin": 20, "toShape": "jadewdnjbq", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade5pubt6", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|407a4d42-fe33-427e-8553-9de19e9bb002"}, {"x": 521.5373576131606, "y": 374.5460870922666, "id": "jadewp6fyj", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 34, "textX": 0, "textY": 0, "width": 905.4827536620555, "hAlign": "center", "height": 825.0513575690466, "italic": false, "margin": 20, "toShape": "jadetvqkdx", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade5pubt6", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|7fe7b5fa-c661-4ba5-9f87-4e8070496dd0"}, {"x": 521.5373576131606, "y": 421.54607877806717, "id": "jadeu36msk", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 35, "textX": 0, "textY": 0, "width": 234.93605257563172, "hAlign": "center", "height": 1212.883402909708, "italic": false, "margin": 20, "toShape": "jade3oqd4e", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade5pubt6", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 4052.389624614043, "y": 653.9380776568371, "id": "jade9wm99z", "pad": 6, "bold": false, "text": "大模型_4", "type": "llmNodeState", "dirty": false, "index": 36, "width": 360, "height": 344, "italic": false, "flowMeta": {"jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "09e984b4-261d-4db4-9a79-bfdcab112355", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f7469288-be18-4f27-8e0c-985b6444c3cf", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "57eece3d-c599-444e-8ad8-b76f7b2594ca", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "96ab5533-d3d0-4018-a341-16667d0df21b", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "6ee7671a-c9e2-4ae7-9348-d0f4c548e025", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "4e9c98fc-6547-4fd0-a71e-e21b9cd52f41", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "e7cd99dd-0143-44a9-81ee-ccebcc8b6a2c", "from": "Input", "name": "template", "type": "String", "value": "通过工具查询车型的图片:{{query}} "}, {"id": "56e29f98-ae8e-478c-b02e-75b8149f090a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "77353774-8079-4f34-8672-44df471f2c2a", "from": "Reference", "name": "query", "type": "String", "value": ["output", "car"], "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}]}, {"id": "6dd50ee8-6572-43d1-a7da-97c88138bf5d", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "0"}, {"id": "3d26bc7c-3757-4b90-b803-f919123bd1dc", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "bf11ba32-9201-4618-8084-66c81e4a0608", "from": "Input", "name": "问界车型宣传图片", "tags": ["FIT"], "type": "String", "value": "e754f978-d236-44fa-aa55-e8eb5d8f8269", "version": "1.0.0"}]}, {"id": "e0ff690b-0e1c-4086-a299-94ab3cbfe5e5", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "267a67d4-c64c-488d-8263-7977c26b1c23", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "4cfaec42-099b-4ec4-ae23-a3f47d9db635", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "29377aa8-2eb4-4a99-99c5-19ef52f309a0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "c7836226-62a7-47e6-b4fa-705ed2acffed", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "a2263372-420d-404c-93c0-e4e0edd79f39", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "llmComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 3943.4751136945915, "y": 982.1291139444377, "id": "jadepdt7pq", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 37, "textX": 0, "textY": 0, "width": 108.91451091945146, "hAlign": "center", "height": -156.19103628760058, "italic": false, "margin": 20, "toShape": "jade9wm99z", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadebywy1i", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4412.389624614043, "y": 825.9380776568371, "id": "jade28pvut", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 38, "textX": 0, "textY": 0, "width": 99.88313411900162, "hAlign": "center", "height": 80.38974277892953, "italic": false, "margin": 20, "toShape": "jadez5nidp", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade9wm99z", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2918.657887350822, "y": 297.6471616509573, "id": "jadeam5lo5", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 39, "textX": 0, "textY": 0, "width": 217.46385789847182, "hAlign": "center", "height": 113.61431667712702, "italic": false, "margin": 20, "toShape": "jadee2orhp", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeh0ccb7", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|6f8c44d7-ad5c-4004-95e0-e01c391be100"}, {"x": 3504.121745249294, "y": 411.2614783280843, "id": "jade13kr3a", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 40, "textX": 0, "textY": 0, "width": 137.02274773089266, "hAlign": "center", "height": -33.67339859514516, "italic": false, "margin": 20, "toShape": "jadeq2zedq", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadee2orhp", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 4001.1444929801864, "y": 377.58807973293915, "id": "jadef977tc", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 41, "textX": 0, "textY": 0, "width": 359.579124810999, "hAlign": "center", "height": -10.442800129225702, "italic": false, "margin": 20, "toShape": "jade9wr70l", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadeq2zedq", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}], "vAlign": "top", "itemPad": [0, 0, 0, 0], "division": -1, "dockMode": "none", "fontFace": "arial", "fontSize": 18, "hideText": true, "moveable": true, "shapesAs": {}, "backColor": "#fbfbfc", "container": "elsa-page:tvp1s6", "dockAlign": "top", "fontColor": "#ECD0A7", "fontStyle": "normal", "itemSpace": 5, "namespace": "jadeFlow", "fontWeight": "bold", "itemScroll": {"x": 0, "y": 0}, "borderColor": "white", "focusBackColor": "#fbfbfc"}], "title": "5711f3230eb94abdb168e61d2082d1d2", "source": "elsa", "tenant": "31f20efc7e0848deab6a6bc10fc3021e", "setting": {"pad": 10, "tag": {}, "code": "", "pDock": "none", "hAlign": "center", "margin": 25, "shadow": "", "shared": false, "vAlign": "top", "itemPad": [5, 5, 5, 5], "visible": true, "autoText": false, "dockMode": "none", "dragable": true, "editable": true, "fontFace": "arial", "fontSize": 12, "infoType": {"name": "none", "next": "INFORMATION"}, "moveable": true, "priority": 0, "allowLink": true, "autoWidth": false, "backAlpha": 0.15, "backColor": "whitesmoke", "dashWidth": 0, "deletable": true, "fontColor": "steelblue", "fontStyle": "normal", "headColor": "steelblue", "lineWidth": 2, "underline": false, "autoHeight": false, "emphasized": false, "fontWeight": "lighter", "itemScroll": {"x": 0, "y": 0}, "lineHeight": 1.5, "resizeable": true, "rotateAble": true, "scrollLock": {"x": false, "y": false}, "selectable": true, "shadowData": "2px 2px 4px", "borderColor": "#047bfc", "borderWidth": 1, "bulletSpeed": 1, "focusMargin": 0, "focusShadow": "", "globalAlpha": 1, "outstanding": false, "bulletedList": false, "cornerRadius": 4, "enableSocial": true, "mouseInColor": "orange", "numberedList": false, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "rotateDegree": 0, "captionhAlign": "center", "strikethrough": false, "focusBackColor": "whitesmoke", "focusFontColor": "darkorange", "progressStatus": {"name": "NONE", "next": "UNKNOWN", "color": "gray"}, "showedProgress": false, "allNodeNumLimit": 99, "captionfontFace": "arial black", "captionfontSize": 14, "enableAnimation": false, "progressPercent": 0.65, "captionfontColor": "whitesmoke", "captionfontStyle": "normal", "focusBorderColor": "#047bfc", "focusBorderWidth": 1, "mouseInBackColor": "whitesmoke", "mouseInFontColor": "orange", "captionfontWeight": "lighter", "captionlineHeight": 1, "mouseInBorderColor": "#047bfc", "sameTypeNodeNumLimit": 19}, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}, "enableText": false}', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('ae708d5828194845afc15402d2849b8b', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'ability', 'String', 'null', 'none', 'workflow', '能力配置', 1, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('b7a7c427418d4d8eb5e8f96165a1d6a6', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'chat', 'String', 'null', 'none', 'workflow', '聊天设置', 3, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('c383886d8a154b3f9e94950467d92432', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'memory', 'List', '["jade6qm5eg","memory"]', 'graph', 'chat', '多轮对话', 5, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('6290bce2ccf249239bc52866604a3920', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'opening', 'String', '"Hi~我是问界试驾助手,快来体验你喜欢的车型吧!"', 'input', 'chat', '开场白', 4, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('d8bd923772b247cf88bfcb7571059066', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'enterWorkflow', 'String', 'null', 'none', 'ability', '进入工作流编排', 2, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('01ec06bcc0e7483da79b7f1c55b7851e', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'inspiration', 'object', '{"category":[{"title":"root","id":"root","children":[]}],"inspirations":[{"name":"问界试驾预约","description":"试驾某一款问界车型","prompt":"我想试驾{{car}}","promptVarData":[{"key":"tsrvqc","var":"car","varType":"选择框","sourceType":"input","sourceInfo":"问界M5;问界M7;问界M9","multiple":false}],"category":null,"auto":false,"id":"rehmx8"},{"name":"问界车型咨询","description":"了解问界某一种车型的具体信息","prompt":"请介绍一下{{car}}的具体信息","promptVarData":[{"key":"hff2tk","var":"car","varType":"选择框","sourceType":"input","sourceInfo":"问界M5;问界新M5 增程 Max;问界M7;问界M7 Plus 五座四驱版","multiple":false}],"category":null,"auto":false,"id":"5u5v1u"}],"showInspiration":true}', 'input', 'chat', '创意灵感', 7, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('ba6cd122de7d4e20a8e69702379a4b9f', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'recommend', 'object', '{"showRecommend":false,"list":[]}', 'input', 'chat', '猜你想问', 6, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('662b1e243b8e43788092b8bff6b7a5f6', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'workflow', 'String', 'null', 'none', 'null', '工作流编排', 0, 0, '550177e8d0e34014a2d95988ef1c67c5') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."flow_definition" ("definition_id", "meta_id", "name", "tenant", "version", "status", "graph", "created_by", "created_at") VALUES ('803b4ba4d163472b81ad2330734e23b9', '5711f3230eb94abdb168e61d2082d1d2', '5711f3230eb94abdb168e61d2082d1d2', '31f20efc7e0848deab6a6bc10fc3021e', '1.0.0', 'active', '{"name": "5711f3230eb94abdb168e61d2082d1d2", "nodes": [{"name": "开始", "type": "startNodeStart", "metaId": "jade6qm5eg", "runnable": true, "inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": false}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": true}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, {"name": "大模型", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "31ba235d-1b26-4780-a7a7-32eca9500919", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "83653b54-dd04-4da9-957d-adb7c2728632", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "dd588a17-a69c-40c0-859a-d9930202a148", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "6c414e75-971e-403a-b2b1-c6850f128cc4", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "db5fdafa-4cbf-44ba-9cca-8a98f1f771f4", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "88f74d78-4711-4f81-a2e7-74d0034c5e88", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "35a710cf-1b79-4523-b16f-b50878d677fe", "from": "Input", "name": "template", "type": "String", "value": "如果用户未指定具体车型,则按照用户问题,结合工具提供的问界车型信息,给出简略概要类的回答。\n问题:{{query}} "}, {"id": "38fb27a1-71f4-4fcc-87d5-9d8a880bc04d", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "eee66922-4304-4209-89fc-b13ffa101630", "from": "Reference", "name": "query", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "a6865419-867c-4bfb-855c-f5c1876c965a", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "29d1707c-beaa-44c8-9eb2-08462880b031", "from": "Input", "name": "问界车型信息查询", "tags": ["FIT"], "type": "String", "value": "7cba6fdd-8c6d-410f-81dc-775ffe96902b", "version": "1.0.0"}]}, {"id": "308e2023-a8e9-486e-9784-8680addbb786", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "68f92923-d5da-42ce-8478-d7ac7d90664e", "from": "Input", "name": "systemPrompt", "type": "String", "value": "你是一个具备自主工具调用能力的智能体,可以展示中间的思考过程给用户。你的回答有两种情况:\n\n无需调用外部工具\n\n如果问题可通过已有对话历史或直接推理得到答案,直接输出最终结果,不需使用任何标签包装,也不显示详细思考过程。\n需要调用外部工具解决的复杂问题\n\n必须采用以下严格的标签体系输出,每个标签之间空一行,且仅展示真实的工具调用结果:\n...:展示你内部的思考过程。注意,这部分内容可以展示给用户,但仅限于描述思路,不应包含任何伪造的工具调用结果。\n...:描述你准备调用工具的原因和计划。此处仅说明你需要调用哪个工具以及原因,工具的名称对人类阅读要友好,切勿直接模拟或输出工具返回内容。\n...:当你真正调用某个工具后,等待工具反馈,然后将工具调用的返回结果做非常简略的摘要后放在此标签内,摘要字数在20字以内。绝对禁止在未获得真实工具反馈前预先构造。 标签内容。\n...:在获取所有真实工具调用结果后,将整合信息给出最终答案。\n**重要要求**:\n- **不要输出tool_call标签**。\n- **答案必须详细完整**,不仅仅是工具返回结果的简单总结,而是对结果进行深入分析和整合,并提供背景解释、推理过程和可行性分析。\n- **确保所有关键信息得到展开**,避免省略任何重要内容。\n- **如果适用,可以提供额外的解释、使用建议或应用场景,以增强回答的实用性**。\n- 请使用**标准 Markdown 语法**输出答案,保证语法完整,**不要拆分**列表结构。\n- **输出此标签后,不得追加任何其他内容或标签**。\n\n严格要求\n\n切勿在中间思考或工具调用计划中,提前生成伪造的 标签内容。必须在实际调用工具并获得反馈后,再以 标签展示真实结果,再生成 标签输出最终答案。\n如果历史对话中已包含真实的工具调用结果,应直接使用这些信息构造最终答案,避免重复调用或展示多余标签。\n在所有工具调用完成之前,不得输出 标签;只有在确认所有真实工具反馈后,才生成最终答案。"}, {"id": "78baad16-173f-4d70-a7cd-d1a2abc2f0d1", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "6d8d88d4-ebaa-4a57-9279-ae5b26654b5c", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "e1b4bea8-0028-49a1-9e7d-ec29cff215da", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "95d84d67-3198-415e-a63c-bc9a2da8d821", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "272c927a-9e25-48b6-a921-6a8ab20267a4", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "5782976c-0c1c-47b8-bcd5-8b6e22e52d39", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadewdnjbq", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "车型提取", "type": "textExtractionNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "分析试驾车型中...", "inputParams": [{"id": "extractParam_2ca71bb8-ea6e-4d08-8f24-16a6fc3b64b6", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_5d4f3012-93a0-4ebf-a9f1-17a9fe252651", "from": "Reference", "name": "text", "type": "String", "value": ["output", "llmOutput"], "referenceId": "272c927a-9e25-48b6-a921-6a8ab20267a4", "referenceKey": "llmOutput", "referenceNode": "jadewdnjbq"}, {"id": "desc_12bbcd63-44c5-48d3-88c6-8b3d48b7c431", "from": "Input", "name": "desc", "type": "String", "value": "车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "}, {"id": "outputSchema_77df0737-ef00-4e3b-864c-31402655c65c", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"}, {"id": "ed9f7d7e-4173-465b-a3f5-4d34345efa53", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "49a6dd9d-589f-4ca2-b66f-1b1951c5e886", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "582a3d24-d8d8-41c6-b9b7-277d5d994683", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_b5d5dd8c-1a39-450d-9851-130ff0aa3a78", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_eed12a01-ccac-4bbd-ae80-39cf2d25a06c", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_f20d73ee-6376-4c90-adf2-1386771aaabd", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_4828a286-e3fd-4803-9887-31517cc82520", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_c3ba42cf-cb22-46d4-bdcc-5d86204ad098", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_d7c69077-05bf-4c1b-8e38-735e03d984ad", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_51a356d1-f2ac-4f3b-b444-99a737100996", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "30bf32bc-b320-418e-ae62-b30d45b26255", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "37331645-54f7-4751-8d04-12ab9d74a8a7", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "from": "Input", "name": "carTypes", "type": "Array", "value": "", "description": "问界的车型列表,具体到型号"}]}, {"id": "success_e3a426e0-3d67-42e3-b985-1daa32a44d20", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "metaId": "jademzanbn", "runnable": true, "stageDesc": "分析试驾车型中...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, {"to": "jademzanbn", "from": "jadewdnjbq", "type": "jadeEvent", "metaId": "jadevbcutd", "runnable": true, "fromConnector": "E"}, {"name": "判断车型列表长度", "type": "codeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "cab31f1f-5429-4f02-99b9-540e0d795357", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "bc929113-6c29-46b8-a1ad-8d53f2d9bb2e", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "66c7a482-6c7f-4698-807c-159aaba67485", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: dict) -> str:\n is_valid_res = args.get(''input'', {}).get(''success'', bool)\n\n if not is_valid_res:\n return ''empty''\n\n input_list = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n\n if len(input_list) == 0:\n return ''empty''\n elif len(input_list) == 1:\n return ''single''\n else:\n return ''multi''\n", "language": "python"}, {"id": "5368a24a-8782-4c08-9b79-58bfcd86f6e3", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "e6aea608-a116-4f5c-9554-1a704547665e", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "string", "description": ""}}}}], "outputParams": [{"id": "70793ed8-e5c9-4ede-9945-5db35626f68f", "from": "Expand", "name": "output", "type": "String", "value": ""}]}}}, "metaId": "jade0ibwv7", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "条件", "type": "conditionNodeCondition", "metaId": "jadeh0ccb7", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "23d6704f-527f-43d9-8621-d8577d71dfec", "type": "if", "runnable": true, "conditions": [{"id": "ddee81d4-a971-494c-99df-f94f37633531", "value": [{"id": "4d1e95b4-e9fd-431c-9d33-2b5c874dea02", "from": "Reference", "name": "left", "type": "String", "value": ["output"], "referenceId": "70793ed8-e5c9-4ede-9945-5db35626f68f", "referenceKey": "output", "referenceNode": "jade0ibwv7"}, {"id": "57b838c4-c03d-47f3-9f57-3f75d62898f2", "from": "Input", "name": "right", "type": "String", "value": "empty", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "6f8c44d7-ad5c-4004-95e0-e01c391be100", "type": "if", "runnable": true, "conditions": [{"id": "7fd27d06-ac26-4225-a927-2b0d4a773cd4", "value": [{"id": "0c2c78a1-6770-4f46-b36e-a30f3ce96b56", "from": "Reference", "name": "left", "type": "String", "value": ["output"], "referenceId": "70793ed8-e5c9-4ede-9945-5db35626f68f", "referenceKey": "output", "referenceNode": "jade0ibwv7"}, {"id": "082798c7-f2f6-40a8-bc73-edc9a174d0d3", "from": "Input", "name": "right", "type": "String", "value": "single", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "73eee09c-caeb-44c1-a54b-65b54d2f8db8", "type": "else", "runnable": true, "conditions": [{"id": "7f70dfc4-154a-48bb-849a-158e22eff435", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"to": "jadeh0ccb7", "from": "jade0ibwv7", "type": "jadeEvent", "metaId": "jadec676as", "runnable": true, "fromConnector": "E"}, {"name": "选择需要了解的车型", "task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "83131a2d-781b-4756-a0c8-91ee865ffbae", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "from": "Input", "name": "car", "type": "String", "value": "car", "displayName": "我想深入了解的车型"}, {"id": "28da30c8-2e73-46d1-a1ad-85d8b0c734b9", "from": "Reference", "name": "car-options", "type": "Array", "value": ["output"], "referenceId": "504a2241-6962-4de4-901a-3df2b798eaa2", "referenceKey": "output", "referenceNode": "jadebz0q8j"}]}, {"id": "c554e101-37b5-4aa1-b9b3-bfcfb2423583", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "from": "Input", "name": "car", "type": "String", "value": "car", "options": {"from": "Reference", "type": "Array", "value": ["output"], "referenceId": "504a2241-6962-4de4-901a-3df2b798eaa2", "referenceKey": "output", "referenceNode": "jadebz0q8j"}, "renderType": "Radio", "displayName": "我想深入了解的车型"}]}}], "outputParams": [{"id": "b5220628-4334-42c5-9ac9-93d4fca29ac8", "name": "output", "type": "Object", "value": [{"id": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "name": "car", "type": "String", "value": ""}]}]}}}, "type": "intelligentFormNodeState", "metaId": "jadejnmnp4", "runnable": true, "triggerMode": "manual"}, {"name": "代码_1", "type": "codeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8f50ae1f-f0fc-4eac-889c-0a53274b9e12", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "11325c8d-0491-4f99-85d9-4df54a3048a5", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "32133c22-59bf-4b46-9eaa-d221a0032c23", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n list_car = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n return list_car[0]", "language": "python"}, {"id": "ff990b8b-cf0c-436d-a8e7-7d4863e8d396", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "9012d086-0ac4-4bcd-8455-e9b47e81c589", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "string", "description": ""}}}}], "outputParams": [{"id": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "from": "Expand", "name": "output", "type": "String", "value": ""}]}}}, "metaId": "jadee2orhp", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "大模型_2", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "263b7842-e631-454a-aca2-8d979a344865", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "7b6ccdee-5b0b-4411-8f21-b75fe7879f5f", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "357563a6-8a44-40b1-8bdf-d11330ea58bb", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "3668396b-2055-417b-bef3-974623bee721", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "0cdec945-916c-4d47-b14c-1059ce8189e3", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "8eb45463-3eb1-4543-ad3c-c8f4cb00a530", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "abf75403-ad7d-4364-9f33-92cfb306f000", "from": "Input", "name": "template", "type": "String", "value": "请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n问题:{{query}}"}, {"id": "7f267a0f-3a63-434f-a538-105229be8af6", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "b123d3e4-0570-42c6-a20b-6fbcb0235674", "from": "Reference", "name": "query", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "6a5694e0-5100-4697-bb4e-8b030ed89624", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "9eed644b-62ae-4fd2-b5da-c7b5a4244059", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "2dcf3b33-dd57-4bb6-ae66-f2484d44d2e6", "from": "Input", "name": "systemPrompt", "type": "String", "value": "角色:你是一个问界试驾助手。\n限制:对于涉及其他品牌车型的问题,不进行详细回答,建议用户提问关于问界车型的问题或是一般性的汽车知识问题。"}, {"id": "eed2b900-e733-4ca0-adbb-18d6a0b6082b", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "177986fa-db8d-4f92-a6f2-546b7232b94b", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "ca60a33d-41f2-4d36-bac2-19e8aa0cf6dc", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "98f2c414-2a1b-4d27-86aa-361a66973fd9", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "2e94082b-930d-4016-a180-a07bd0ad8e50", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "df7f2c19-3d1a-4531-a0a5-11d31286e6e8", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jade3oqd4e", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"name": "确认试驾车型", "task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "9ac3705a-a49d-4240-87dc-7963533a46a5", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "from": "Reference", "name": "car", "type": "String", "value": ["output"], "displayName": "试驾车型", "referenceId": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "referenceKey": "output", "referenceNode": "jadee2orhp"}]}, {"id": "a4dfd48f-e998-4725-bb71-dfd0644785e2", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "from": "Reference", "name": "car", "type": "String", "value": ["output"], "options": {"from": "Reference", "value": [], "referenceId": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "referenceNode": "jademzanbn"}, "renderType": "Input", "displayName": "试驾车型", "referenceId": "b2e1f031-2fc8-410a-b2ec-73157db9750e", "referenceKey": "output", "referenceNode": "jadee2orhp"}]}}], "outputParams": [{"id": "41e1e5aa-846e-48ce-92ea-07e4d61f6553", "name": "output", "type": "Object", "value": [{"id": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "name": "car", "type": "String", "value": ""}]}]}}}, "type": "intelligentFormNodeState", "metaId": "jadeq2zedq", "runnable": true, "triggerMode": "manual"}, {"name": "大模型_1", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "905a7ab5-9f27-4ed8-b126-2a41394d9fe4", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "d3ac3f4a-d699-4341-89c3-d1c4921c1d2e", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "316ae379-274d-4fda-af6b-2f28b0356e2f", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "9ab32d21-b81b-4f13-9b5c-cd849ee7d334", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "9ee1c339-c88d-4248-86d6-139b64b763cf", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "99c6709d-5907-49e5-8394-0d294e8a3053", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "9646d069-0d62-4da2-a6cd-709c2e6b2d06", "from": "Input", "name": "template", "type": "String", "value": "通过工具获取车型信息,详细介绍这个车型:{{query}} "}, {"id": "16b3b1ba-cefd-4353-a29f-8004670c684a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "4c02d0da-7879-4461-8090-960554b32128", "from": "Reference", "name": "query", "type": "String", "value": ["output", "car"], "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}]}, {"id": "c04281f5-6769-476f-8d7d-7d21aa714ca8", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "06142d65-2487-4a40-b592-ac4638ac527d", "from": "Input", "name": "问界车型信息查询", "tags": ["FIT"], "type": "String", "value": "7cba6fdd-8c6d-410f-81dc-775ffe96902b", "version": "1.0.0"}]}, {"id": "a188c341-d4c0-46a0-8a8c-7438b05a4b6c", "from": "Expand", "name": "workflows", "type": "Array", "value": []}, {"id": "14e1b376-64ab-4ce1-86d2-e3285cea971c", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "2308bdeb-ff69-4cd9-afd4-ba8132c5d939", "from": "input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "7f9b538a-7d1b-442d-b45e-5041364cfd4d", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "0"}, {"id": "62639076-5d67-4e37-bb54-024bdac816ec", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "8f3747e9-318f-49de-9de8-9610cf0049fc", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "d2156da5-09a9-4c8f-bf1a-9c63c457d439", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "6714da5e-b514-4911-b04b-96e3b83c15d7", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jadebywy1i", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadebywy1i", "from": "jadejnmnp4", "type": "jadeEvent", "metaId": "jadew1opy5", "runnable": true, "fromConnector": "E"}, {"name": "确认试驾车型2", "task": {"type": "AIPP_SMART_FORM", "taskId": "a910a3d38a4549eda1112beee008419d", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "2f92cbde-4e4b-4e7e-8307-18633cbb4352", "from": "Expand", "name": "data", "type": "Object", "value": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "displayName": "我要试驾车型", "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}, {"id": "76c41bdf-8383-4318-a667-fd61b42609ab", "from": "Input", "name": "schema", "type": "Object", "value": {"parameters": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "options": {"from": "Reference", "value": [], "referenceId": "f903ce3c-173c-4010-8e14-8e18d64c9b27", "referenceNode": "jademzanbn"}, "renderType": "Input", "displayName": "我要试驾车型", "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}}], "outputParams": [{"id": "a8df0b85-ef18-4362-b94b-df12022d1e13", "name": "output", "type": "Object", "value": [{"id": "610f8341-46f0-4e26-a6b8-58be5d52f560", "name": "car", "type": "String", "value": ""}]}]}}}, "type": "intelligentFormNodeState", "metaId": "jadez5nidp", "runnable": true, "triggerMode": "manual"}, {"name": "车型提取2", "type": "textExtractionNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "extractParam"}, {"name": "memoryConfig"}, {"name": "memorySwitch"}, {"name": "histories"}], "return": {"type": "object"}, "uniqueName": "3bca6a3f-9623-4228-b120-1a5e0d41dc14"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"stageDesc": "分析试驾车型中...", "inputParams": [{"id": "extractParam_db169c41-8428-4d04-9ca9-d5462638b9de", "from": "Expand", "name": "extractParam", "type": "Object", "value": [{"id": "text_ed4e777e-3973-4dfe-a5cd-8b6997e3c16f", "from": "Reference", "name": "text", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}, {"id": "desc_c5827ce1-b1c7-4959-98a6-79736761bfd7", "from": "Input", "name": "desc", "type": "String", "value": "车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "}, {"id": "outputSchema_2dda5dc9-c4f7-4f4e-a3ac-60a5387d66c9", "from": "Input", "name": "outputSchema", "type": "String", "value": "{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"}, {"id": "6958ac49-541d-4768-b198-dfdf3767649a", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "fb995664-4eb1-49e2-80ba-b6d2991eedd5", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "755800ba-5209-4a3c-90b0-b4aa4bfd8fe2", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "temperature_6bb0ad3b-7bbf-4110-acbd-f4b103214374", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}]}, {"id": "memoryConfig_392e3f83-1fe1-43b5-88ae-afb9999ee4ee", "from": "Expand", "name": "memoryConfig", "type": "Object", "value": [{"id": "windowAlg_cde542de-39f0-4550-91dd-b1cf979f310d", "from": "Input", "name": "windowAlg", "type": "String", "value": "buffer_window"}, {"id": "serializeAlg_153d40da-349c-466e-8780-6eefc42ae5c6", "from": "Input", "name": "serializeAlg", "type": "String", "value": "full"}, {"id": "property_fb24ab56-f614-412b-b6d6-dfbbbc189365", "from": "Input", "name": "property", "type": "Integer", "value": "0"}]}, {"id": "memorySwitch_6b354c48-ed57-44b3-91a4-5940425dc1dc", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "histories_d7e7c55e-d25b-4e03-80f1-b9937979faf1", "from": "Reference", "name": "histories", "type": "Array", "value": ["memories"], "referenceId": "memories", "referenceKey": "memories", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "b65edebe-1855-4502-a72f-0a207fd6c99f", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "66248c5c-9f8f-4000-8597-e8d6b0d7b16d", "from": "Expand", "name": "extractedParams", "type": "Object", "value": [{"id": "eb21be95-d82b-49b3-9eaf-455f4e449410", "from": "Input", "name": "carTypes", "type": "Array", "value": "", "description": "问界的车型列表,具体到型号"}]}, {"id": "success_e1a7af2a-fde0-4e73-81c1-cced296e08e8", "from": "Input", "name": "success", "type": "Boolean", "value": "Boolean"}]}], "enableStageDesc": true, "jadeNodeConfigChangeIgnored": false}}}, "metaId": "jadetvqkdx", "runnable": true, "stageDesc": "分析试驾车型中...", "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "enableStageDesc": true}, {"name": "聚合车型列表", "type": "codeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "ee12101b-d717-4f49-9ff5-6d840676047a", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "b8d2fbbf-1152-4403-a6dc-8ae88d7ddec3", "from": "Reference", "name": "input1", "type": "Object", "value": ["output"], "referenceId": "30bf32bc-b320-418e-ae62-b30d45b26255", "referenceKey": "output", "referenceNode": "jademzanbn"}, {"id": "662c4a18-21e8-47e0-bce2-10c89cb51b63", "from": "Reference", "name": "input2", "type": "Object", "value": ["output"], "referenceId": "b65edebe-1855-4502-a72f-0a207fd6c99f", "referenceKey": "output", "referenceNode": "jadetvqkdx"}]}, {"id": "08e9c25a-e55c-4620-bcca-325d714160d5", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n if args[''input1'']:\n return args[''input1'']\n else:\n return args[''input2''] \n", "language": "python"}, {"id": "7df2184c-f82f-43ab-9a30-d695fae550ea", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "35868ea7-d973-4a6c-b9f2-340a06f9f112", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "object", "properties": {}, "description": ""}}}}], "outputParams": [{"id": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "from": "Expand", "name": "output", "type": "Object", "value": []}]}}}, "metaId": "jadez5f1df", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadez5f1df", "from": "jademzanbn", "type": "jadeEvent", "metaId": "jadeanptlq", "runnable": true, "fromConnector": "E"}, {"to": "jadez5f1df", "from": "jadetvqkdx", "type": "jadeEvent", "metaId": "jade58w7a7", "runnable": true, "fromConnector": "E"}, {"to": "jade0ibwv7", "from": "jadez5f1df", "type": "jadeEvent", "metaId": "jadexs8po6", "runnable": true, "fromConnector": "E"}, {"name": "提取车型列表", "type": "codeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "args"}, {"name": "code"}, {"name": "language"}, {"name": "output"}], "return": {"type": "object"}, "uniqueName": "e147f301-957a-4335-a155-1e86d1a45ae5"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "ac8da121-58a3-4801-82f3-862533c0db2b", "from": "Expand", "name": "args", "type": "Object", "value": [{"id": "90d97368-2212-4176-ab52-55215cb5d6c6", "from": "Reference", "name": "input", "type": "Object", "value": ["output"], "referenceId": "7f1994bf-3a0b-442a-9bbb-d0069949fbbd", "referenceKey": "output", "referenceNode": "jadez5f1df"}]}, {"id": "5abd8220-a2e6-47a1-b3d7-61da5c91a7c8", "from": "Input", "name": "code", "type": "String", "value": "async def main(args: Args) -> Output:\n return args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])", "language": "python"}, {"id": "d09bd08d-d2f7-47c2-a74b-a9f9fe899387", "from": "Input", "name": "language", "type": "String", "value": "python"}, {"id": "c57b604c-0ae0-4d32-bef3-30c14793ddf1", "from": "Input", "name": "output", "type": "Object", "value": {"properties": {"output": {"type": "array", "description": ""}}}}], "outputParams": [{"id": "504a2241-6962-4de4-901a-3df2b798eaa2", "from": "Expand", "name": "output", "type": "Array", "value": ""}]}}}, "metaId": "jadebz0q8j", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadebz0q8j", "from": "jadeh0ccb7", "type": "jadeEvent", "metaId": "jadep8j6qd", "runnable": true, "fromConnector": "dynamic-999"}, {"to": "jadejnmnp4", "from": "jadebz0q8j", "type": "jadeEvent", "metaId": "jader2ugw2", "runnable": true, "fromConnector": "E"}, {"name": "结束_1", "type": "endNodeEnd", "metaId": "jadeaevz6w", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "e42435d1-bd40-4a8f-a6da-6ce3b8c9e936", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "0cecce75-2752-4f0b-8c01-e55897f82eef", "from": "Reference", "name": "finalOutput", "type": "String", "value": ["output", "llmOutput"], "editable": true, "isRequired": true, "description": "", "referenceId": "2e94082b-930d-4016-a180-a07bd0ad8e50", "referenceKey": "llmOutput", "referenceNode": "jade3oqd4e"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "f7b318fa-c166-4b2d-b72a-e6b90b8c7324", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadeaevz6w", "from": "jade3oqd4e", "type": "jadeEvent", "metaId": "jadewhsta6", "runnable": true, "fromConnector": "E"}, {"name": "结束_3", "type": "endNodeEnd", "metaId": "jadevgtszg", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "10392a5e-479e-468d-9a87-bb85a2649cc2", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "b2ab53ef-8e29-4a95-9fed-be9894df8806", "from": "Input", "name": "out", "type": "String", "value": "您选择的试驾车型为:", "editable": true, "isRequired": true, "description": ""}, {"id": "31d34355-c6d3-459d-ac61-66eaf31f6fd4", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "editable": true, "isRequired": true, "description": "", "referenceId": "610f8341-46f0-4e26-a6b8-58be5d52f560", "referenceKey": "car", "referenceNode": "jadez5nidp"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "89dfe7b5-972a-4b2a-a2b4-86c9b851fe05", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadevgtszg", "from": "jadez5nidp", "type": "jadeEvent", "metaId": "jade90v0rb", "runnable": true, "fromConnector": "E"}, {"name": "结束_2", "type": "endNodeEnd", "metaId": "jade9wr70l", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "bf589d2e-aff9-46f4-a266-4f3b6b4ea6e7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "9104e96f-26ec-46cf-88b4-1ff929f7b983", "from": "Input", "name": "out", "type": "String", "value": "您选择的试驾车型为:", "editable": true, "isRequired": true, "description": ""}, {"id": "7c278873-cea0-424b-b344-e22ab070aeb3", "from": "Reference", "name": "car", "type": "String", "value": ["output", "car"], "editable": true, "isRequired": true, "description": "", "referenceId": "2c678112-4c6d-44b2-a1f6-3d4b8718b893", "referenceKey": "car", "referenceNode": "jadeq2zedq"}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "ab34cf0f-7fa9-424d-8b01-edc402fb163d", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "结束", "type": "endNodeEnd", "metaId": "jadehrizke", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8fca4472-cb61-474b-97c8-be14566e998a", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "1e9b929c-bd6d-46c1-9b8c-23d1a0f7a7cc", "from": "Input", "name": "out", "type": "String", "value": "非常抱歉,不支持该车型的试驾。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "8fcd715b-5e4c-488c-bcb7-ec5f4b5c83c2", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadehrizke", "from": "jadeh0ccb7", "type": "jadeEvent", "metaId": "jadeke55eo", "runnable": true, "fromConnector": "dynamic-0|23d6704f-527f-43d9-8621-d8577d71dfec"}, {"name": "用户问题分类", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "8e3a79d1-d39d-4815-9236-2e08bcbeb89d", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "d9ef67b3-a4e8-4b6c-b15b-0f55de543159", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "22a75a6e-c13a-45e7-9492-15613f79b1d8", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "a8265476-b028-4b32-88a4-cd9e27609d86", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "2c6a7c43-a6d7-4850-a60f-43d615085630", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "80222643-ef96-41ca-b9f6-6eae7f267a69", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "d655ab25-92c4-4af2-a01a-3e7e22a84362", "from": "Input", "name": "template", "type": "String", "value": "\"请分析用户的问题,并判断其意图是否是与问界汽车或是问界试驾有关。\n 如果用户的问题涉及问界汽车信息的询问,(例如:“请介绍一下问界M5”、 “给我推荐一款问界汽车”),则返回 ‘问界汽车问题’。\n如果用户只是咨询试驾相关内容(例如:“我想试驾问界M5”、“我想试驾保时捷911”),则返回 ‘试驾汽车问题’。\n如果用户问题是关于**其他品牌**的汽车或是一般性闲聊(例如:“最近有什么有趣的事?”、“今天天气不错”)则返回 ‘其他问题’\"\n用户问题:{{input}}\n**重要:不要回答``问界汽车问题``、``试驾汽车问题``、``其他问题``以外的文字**"}, {"id": "cfe7e088-9f69-4671-a44a-4cd0f553920e", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "046e05a4-4aa1-4694-8427-634bd97596d0", "from": "Reference", "name": "input", "type": "String", "value": ["Question"], "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "referenceKey": "Question", "referenceNode": "jade6qm5eg"}]}]}, {"id": "248bb3d3-abcb-4072-8b14-360428994714", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "3"}, {"id": "89b4068b-9926-4429-a334-9b6daefc11d0", "from": "Expand", "name": "tools", "type": "Array", "value": []}, {"id": "267e88b8-1cdc-4312-a117-a96ea6c37514", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "3b9fafe7-20ac-4d59-be6c-1dd61b264e70", "from": "Input", "name": "enableLog", "type": "Boolean", "value": false}, {"id": "ed3e6fda-3a66-405c-b5d4-100822755cd8", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "d4ae45a4-74cc-498c-9e6e-69a1694614fb", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "2d7b57fb-c452-41d3-9fed-bed3289c64eb", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jade1tc9vb", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jade1tc9vb", "from": "jade6qm5eg", "type": "jadeEvent", "metaId": "jadeknglms", "runnable": true, "fromConnector": "E"}, {"name": "条件_1", "type": "conditionNodeCondition", "metaId": "jade5pubt6", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "407a4d42-fe33-427e-8553-9de19e9bb002", "type": "if", "runnable": true, "conditions": [{"id": "e6cc2561-bf7f-43e9-873e-675ef7fa1340", "value": [{"id": "146ae59a-df8a-4181-9dbc-466e6b81cdb9", "from": "Reference", "name": "left", "type": "String", "value": ["output", "llmOutput"], "referenceId": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "referenceKey": "llmOutput", "referenceNode": "jade1tc9vb"}, {"id": "5a2bd11a-bbff-4e14-81a7-8f5d747d9e61", "from": "Input", "name": "right", "type": "String", "value": "问界汽车问题", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "7fe7b5fa-c661-4ba5-9f87-4e8070496dd0", "type": "if", "runnable": true, "conditions": [{"id": "fc38c7be-06ac-41eb-a896-e6bb0f9129d0", "value": [{"id": "767ed731-7595-46a6-9448-dcac3635694a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "llmOutput"], "referenceId": "e8bd45b4-2216-4eda-af81-d008bb6012a9", "referenceKey": "llmOutput", "referenceNode": "jade1tc9vb"}, {"id": "1ce1f111-7dec-4fac-b6e5-fd02d5b78557", "from": "Input", "name": "right", "type": "String", "value": "试驾汽车问题", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "dc589e0f-3202-46e4-87f4-e550d54bbbc5", "type": "else", "runnable": true, "conditions": [{"id": "8d21bec4-7de8-4b35-9561-2e4374e42780", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"to": "jade5pubt6", "from": "jade1tc9vb", "type": "jadeEvent", "metaId": "jadey81zoy", "runnable": true, "fromConnector": "E"}, {"to": "jadewdnjbq", "from": "jade5pubt6", "type": "jadeEvent", "metaId": "jade8w9r8o", "runnable": true, "fromConnector": "dynamic-0|407a4d42-fe33-427e-8553-9de19e9bb002"}, {"to": "jadetvqkdx", "from": "jade5pubt6", "type": "jadeEvent", "metaId": "jadewp6fyj", "runnable": true, "fromConnector": "dynamic-1|7fe7b5fa-c661-4ba5-9f87-4e8070496dd0"}, {"to": "jade3oqd4e", "from": "jade5pubt6", "type": "jadeEvent", "metaId": "jadeu36msk", "runnable": true, "fromConnector": "dynamic-999"}, {"name": "大模型_4", "type": "llmNodeState", "jober": {"name": "", "type": "general_jober", "isAsync": "true", "fitables": ["modelengine.fit.jober.aipp.fitable.LLMComponent"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "09e984b4-261d-4db4-9a79-bfdcab112355", "from": "Input", "name": "model", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "f7469288-be18-4f27-8e0c-985b6444c3cf", "from": "Expand", "name": "accessInfo", "type": "Object", "value": [{"id": "57eece3d-c599-444e-8ad8-b76f7b2594ca", "from": "Input", "name": "serviceName", "type": "String", "value": "Qwen/Qwen2.5-72B-Instruct"}, {"id": "96ab5533-d3d0-4018-a341-16667d0df21b", "from": "Input", "name": "tag", "type": "String", "value": "SiliconFlow,Jade"}]}, {"id": "6ee7671a-c9e2-4ae7-9348-d0f4c548e025", "from": "Input", "name": "temperature", "type": "Number", "value": "0.3"}, {"id": "4e9c98fc-6547-4fd0-a71e-e21b9cd52f41", "from": "Expand", "name": "prompt", "type": "Object", "value": [{"id": "e7cd99dd-0143-44a9-81ee-ccebcc8b6a2c", "from": "Input", "name": "template", "type": "String", "value": "通过工具查询车型的图片:{{query}} "}, {"id": "56e29f98-ae8e-478c-b02e-75b8149f090a", "from": "Expand", "name": "variables", "type": "Object", "value": [{"id": "77353774-8079-4f34-8672-44df471f2c2a", "from": "Reference", "name": "query", "type": "String", "value": ["output", "car"], "referenceId": "input_1bb450c2-e4f9-471f-ac11-4760ed04461c", "referenceKey": "car", "referenceNode": "jadejnmnp4"}]}]}, {"id": "6dd50ee8-6572-43d1-a7da-97c88138bf5d", "from": "Input", "name": "maxMemoryRounds", "type": "Integer", "value": "0"}, {"id": "3d26bc7c-3757-4b90-b803-f919123bd1dc", "from": "Expand", "name": "tools", "type": "Array", "value": [{"id": "bf11ba32-9201-4618-8084-66c81e4a0608", "from": "Input", "name": "问界车型宣传图片", "tags": ["FIT"], "type": "String", "value": "e754f978-d236-44fa-aa55-e8eb5d8f8269", "version": "1.0.0"}]}, {"id": "e0ff690b-0e1c-4086-a299-94ab3cbfe5e5", "from": "Input", "name": "systemPrompt", "type": "String", "value": ""}, {"id": "267a67d4-c64c-488d-8263-7977c26b1c23", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}, {"id": "4cfaec42-099b-4ec4-ae23-a3f47d9db635", "from": "Expand", "name": "knowledgeBases", "type": "Array", "value": []}], "outputParams": [{"id": "29377aa8-2eb4-4a99-99c5-19ef52f309a0", "from": "Expand", "name": "output", "type": "Object", "value": [{"id": "c7836226-62a7-47e6-b4fa-705ed2acffed", "from": "Input", "name": "llmOutput", "type": "String", "value": "", "description": ""}, {"id": "a2263372-420d-404c-93c0-e4e0edd79f39", "from": "Input", "name": "reference", "type": "Array", "value": [], "description": ""}]}], "tempReference": {}}}}, "metaId": "jade9wm99z", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jade9wm99z", "from": "jadebywy1i", "type": "jadeEvent", "metaId": "jadepdt7pq", "runnable": true, "fromConnector": "E"}, {"to": "jadez5nidp", "from": "jade9wm99z", "type": "jadeEvent", "metaId": "jade28pvut", "runnable": true, "fromConnector": "E"}, {"to": "jadee2orhp", "from": "jadeh0ccb7", "type": "jadeEvent", "metaId": "jadeam5lo5", "runnable": true, "fromConnector": "dynamic-1|6f8c44d7-ad5c-4004-95e0-e01c391be100"}, {"to": "jadeq2zedq", "from": "jadee2orhp", "type": "jadeEvent", "metaId": "jade13kr3a", "runnable": true, "fromConnector": "E"}, {"to": "jade9wr70l", "from": "jadeq2zedq", "type": "jadeEvent", "metaId": "jadef977tc", "runnable": true, "fromConnector": "E"}], "metaId": "5711f3230eb94abdb168e61d2082d1d2", "status": "active", "version": "1.0.0", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}', 'Jade', '2025-04-19 09:15:55.578319') ON CONFLICT (definition_id) DO NOTHING; + +INSERT INTO "public"."flow_graph" ("id", "version", "tenant", "status", "name", "data", "created_by", "created_at", "updated_by", "updated_at", "previous", "is_deleted") VALUES ('5711f3230eb94abdb168e61d2082d1d2', '1.0.0', '31f20efc7e0848deab6a6bc10fc3021e', 'active', '5711f3230eb94abdb168e61d2082d1d2', '{"id":"5711f3230eb94abdb168e61d2082d1d2","title":"5711f3230eb94abdb168e61d2082d1d2","source":"elsa","type":"jadeFlowGraph","tenant":"31f20efc7e0848deab6a6bc10fc3021e","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"name":"none","next":"INFORMATION"},"progressStatus":{"name":"NONE","next":"UNKNOWN","color":"gray"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{},"allNodeNumLimit":99,"sameTypeNodeNumLimit":19,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10},"pages":[{"x":-449.2228577394942,"y":648.7782362023345,"id":"elsa-page:tvp1s6","bold":false,"mode":"configuration","text":"newFlowPage","type":"jadeFlowPage","dirty":true,"index":0,"width":1600,"hAlign":"left","height":800,"isPage":true,"italic":false,"scaleX":0.7732920492783848,"scaleY":0.7732920492783848,"vAlign":"top","itemPad":[0,0,0,0],"division":-1,"dockMode":"none","fontFace":"arial","fontSize":18,"hideText":true,"moveable":true,"shapesAs":{},"backColor":"#fbfbfc","container":"elsa-page:tvp1s6","dockAlign":"top","fontColor":"#ECD0A7","fontStyle":"normal","itemSpace":5,"namespace":"jadeFlow","fontWeight":"bold","itemScroll":{"x":0,"y":0},"borderColor":"white","focusBackColor":"#fbfbfc","shapes":[{"x":-1123.5461204767116,"y":184.25814386932322,"id":"jade6qm5eg","pad":6,"bold":false,"text":"开始","type":"startNodeStart","dirty":false,"index":0,"width":360,"height":226,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","from":"Expand","name":"input","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","from":"Input","name":"Question","type":"String","value":"","isVisible":true,"isRequired":true,"description":"这是用户输入的问题。","displayName":"用户问题","disableModifiable":true}],"config":[{"allowAdd":false}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","from":"Expand","name":"memory","type":"Object","value":[{"id":"a7675623-7fc7-468c-8910-e73c70e5e468","from":"Input","name":"memorySwitch","type":"Boolean","value":true},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","from":"Input","name":"type","type":"String","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","from":"Input","name":"value","type":"Integer","value":"3"}]}],"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":false,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"startComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"mouseInBorderColor":"rgba(28,31,35,.08)"},{"x":819.1428754447782,"y":139.13955828369046,"id":"jadewdnjbq","pad":6,"bold":false,"text":"大模型","type":"llmNodeState","dirty":false,"index":1,"width":360,"height":344,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"31ba235d-1b26-4780-a7a7-32eca9500919","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"83653b54-dd04-4da9-957d-adb7c2728632","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"dd588a17-a69c-40c0-859a-d9930202a148","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"6c414e75-971e-403a-b2b1-c6850f128cc4","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"db5fdafa-4cbf-44ba-9cca-8a98f1f771f4","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"88f74d78-4711-4f81-a2e7-74d0034c5e88","from":"Expand","name":"prompt","type":"Object","value":[{"id":"35a710cf-1b79-4523-b16f-b50878d677fe","from":"Input","name":"template","type":"String","value":"如果用户未指定具体车型,则按照用户问题,结合工具提供的问界车型信息,给出简略概要类的回答。\n问题:{{query}} "},{"id":"38fb27a1-71f4-4fcc-87d5-9d8a880bc04d","from":"Expand","name":"variables","type":"Object","value":[{"id":"eee66922-4304-4209-89fc-b13ffa101630","from":"Reference","name":"query","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"}]}]},{"id":"a6865419-867c-4bfb-855c-f5c1876c965a","from":"Expand","name":"tools","type":"Array","value":[{"id":"29d1707c-beaa-44c8-9eb2-08462880b031","from":"Input","name":"问界车型信息查询","tags":["FIT"],"type":"String","value":"7cba6fdd-8c6d-410f-81dc-775ffe96902b","version":"1.0.0"}]},{"id":"308e2023-a8e9-486e-9784-8680addbb786","from":"Expand","name":"workflows","type":"Array","value":[]},{"id":"68f92923-d5da-42ce-8478-d7ac7d90664e","from":"Input","name":"systemPrompt","type":"String","value":"你是一个具备自主工具调用能力的智能体,可以展示中间的思考过程给用户。你的回答有两种情况:\n\n无需调用外部工具\n\n如果问题可通过已有对话历史或直接推理得到答案,直接输出最终结果,不需使用任何标签包装,也不显示详细思考过程。\n需要调用外部工具解决的复杂问题\n\n必须采用以下严格的标签体系输出,每个标签之间空一行,且仅展示真实的工具调用结果:\n...:展示你内部的思考过程。注意,这部分内容可以展示给用户,但仅限于描述思路,不应包含任何伪造的工具调用结果。\n...:描述你准备调用工具的原因和计划。此处仅说明你需要调用哪个工具以及原因,工具的名称对人类阅读要友好,切勿直接模拟或输出工具返回内容。\n...:当你真正调用某个工具后,等待工具反馈,然后将工具调用的返回结果做非常简略的摘要后放在此标签内,摘要字数在20字以内。绝对禁止在未获得真实工具反馈前预先构造。 标签内容。\n...:在获取所有真实工具调用结果后,将整合信息给出最终答案。\n**重要要求**:\n- **不要输出tool_call标签**。\n- **答案必须详细完整**,不仅仅是工具返回结果的简单总结,而是对结果进行深入分析和整合,并提供背景解释、推理过程和可行性分析。\n- **确保所有关键信息得到展开**,避免省略任何重要内容。\n- **如果适用,可以提供额外的解释、使用建议或应用场景,以增强回答的实用性**。\n- 请使用**标准 Markdown 语法**输出答案,保证语法完整,**不要拆分**列表结构。\n- **输出此标签后,不得追加任何其他内容或标签**。\n\n严格要求\n\n切勿在中间思考或工具调用计划中,提前生成伪造的 标签内容。必须在实际调用工具并获得反馈后,再以 标签展示真实结果,再生成 标签输出最终答案。\n如果历史对话中已包含真实的工具调用结果,应直接使用这些信息构造最终答案,避免重复调用或展示多余标签。\n在所有工具调用完成之前,不得输出 标签;只有在确认所有真实工具反馈后,才生成最终答案。"},{"id":"78baad16-173f-4d70-a7cd-d1a2abc2f0d1","from":"input","name":"enableLog","type":"Boolean","value":true},{"id":"6d8d88d4-ebaa-4a57-9279-ae5b26654b5c","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"e1b4bea8-0028-49a1-9e7d-ec29cff215da","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"95d84d67-3198-415e-a63c-bc9a2da8d821","from":"Expand","name":"output","type":"Object","value":[{"id":"272c927a-9e25-48b6-a921-6a8ab20267a4","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"5782976c-0c1c-47b8-bcd5-8b6e22e52d39","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1324.8563982124583,"y":33.988095238095184,"id":"jademzanbn","pad":6,"bold":false,"text":"车型提取","type":"textExtractionNodeState","dirty":false,"index":2,"width":360,"height":334,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"extractParam"},{"name":"memoryConfig"},{"name":"memorySwitch"},{"name":"histories"}],"return":{"type":"object"},"uniqueName":"3bca6a3f-9623-4228-b120-1a5e0d41dc14"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"stageDesc":"分析试驾车型中...","inputParams":[{"id":"extractParam_2ca71bb8-ea6e-4d08-8f24-16a6fc3b64b6","from":"Expand","name":"extractParam","type":"Object","value":[{"id":"text_5d4f3012-93a0-4ebf-a9f1-17a9fe252651","from":"Reference","name":"text","type":"String","value":["output","llmOutput"],"referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","referenceNode":"jadewdnjbq"},{"id":"desc_12bbcd63-44c5-48d3-88c6-8b3d48b7c431","from":"Input","name":"desc","type":"String","value":"车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "},{"id":"outputSchema_77df0737-ef00-4e3b-864c-31402655c65c","from":"Input","name":"outputSchema","type":"String","value":"{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"},{"id":"ed9f7d7e-4173-465b-a3f5-4d34345efa53","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"49a6dd9d-589f-4ca2-b66f-1b1951c5e886","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"582a3d24-d8d8-41c6-b9b7-277d5d994683","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"temperature_b5d5dd8c-1a39-450d-9851-130ff0aa3a78","from":"Input","name":"temperature","type":"Number","value":"0.3"}]},{"id":"memoryConfig_eed12a01-ccac-4bbd-ae80-39cf2d25a06c","from":"Expand","name":"memoryConfig","type":"Object","value":[{"id":"windowAlg_f20d73ee-6376-4c90-adf2-1386771aaabd","from":"Input","name":"windowAlg","type":"String","value":"buffer_window"},{"id":"serializeAlg_4828a286-e3fd-4803-9887-31517cc82520","from":"Input","name":"serializeAlg","type":"String","value":"full"},{"id":"property_c3ba42cf-cb22-46d4-bdcc-5d86204ad098","from":"Input","name":"property","type":"Integer","value":"0"}]},{"id":"memorySwitch_d7c69077-05bf-4c1b-8e38-735e03d984ad","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"histories_51a356d1-f2ac-4f3b-b444-99a737100996","from":"Reference","name":"histories","type":"Array","value":["memories"],"referenceId":"memories","referenceKey":"memories","referenceNode":"_systemEnv"}],"outputParams":[{"id":"30bf32bc-b320-418e-ae62-b30d45b26255","from":"Expand","name":"output","type":"Object","value":[{"id":"37331645-54f7-4751-8d04-12ab9d74a8a7","from":"Expand","name":"extractedParams","type":"Object","value":[{"id":"f903ce3c-173c-4010-8e14-8e18d64c9b27","from":"Input","name":"carTypes","type":"Array","value":"","description":"问界的车型列表,具体到型号"}]},{"id":"success_e3a426e0-3d67-42e3-b985-1daa32a44d20","from":"Input","name":"success","type":"Boolean","value":"Boolean"}]}],"enableStageDesc":true,"jadeNodeConfigChangeIgnored":false}}},"stageDesc":"分析试驾车型中...","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","enableStageDesc":true},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"textExtractionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1179.1428754447782,"y":311.13955828369046,"id":"jadevbcutd","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":3,"textX":0,"textY":0,"width":145.71352276768016,"hAlign":"center","height":-110.15146304559528,"italic":false,"margin":20,"toShape":"jademzanbn","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadewdnjbq","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1938.9763707660359,"y":-16.95528828179343,"id":"jade0ibwv7","pad":6,"bold":false,"text":"判断车型列表长度","type":"codeNodeState","dirty":false,"index":4,"width":368,"height":252,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"args"},{"name":"code"},{"name":"language"},{"name":"output"}],"return":{"type":"object"},"uniqueName":"e147f301-957a-4335-a155-1e86d1a45ae5"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"cab31f1f-5429-4f02-99b9-540e0d795357","from":"Expand","name":"args","type":"Object","value":[{"id":"bc929113-6c29-46b8-a1ad-8d53f2d9bb2e","from":"Reference","name":"input","type":"Object","value":["output"],"referenceId":"7f1994bf-3a0b-442a-9bbb-d0069949fbbd","referenceKey":"output","referenceNode":"jadez5f1df"}]},{"id":"66c7a482-6c7f-4698-807c-159aaba67485","from":"Input","name":"code","type":"String","value":"async def main(args: dict) -> str:\n is_valid_res = args.get(''input'', {}).get(''success'', bool)\n\n if not is_valid_res:\n return ''empty''\n\n input_list = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n\n if len(input_list) == 0:\n return ''empty''\n elif len(input_list) == 1:\n return ''single''\n else:\n return ''multi''\n","language":"python"},{"id":"5368a24a-8782-4c08-9b79-58bfcd86f6e3","from":"Input","name":"language","type":"String","value":"python"},{"id":"e6aea608-a116-4f5c-9554-1a704547665e","from":"Input","name":"output","type":"Object","value":{"properties":{"output":{"type":"string","description":""}}}}],"outputParams":[{"id":"70793ed8-e5c9-4ede-9945-5db35626f68f","from":"Expand","name":"output","type":"String","value":""}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"codeComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2330.285047191377,"y":120.84717835822356,"id":"jadeh0ccb7","pad":6,"bold":false,"text":"条件","type":"conditionNodeCondition","dirty":false,"index":5,"width":600,"height":284,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"23d6704f-527f-43d9-8621-d8577d71dfec","type":"if","runnable":true,"conditions":[{"id":"ddee81d4-a971-494c-99df-f94f37633531","value":[{"id":"4d1e95b4-e9fd-431c-9d33-2b5c874dea02","from":"Reference","name":"left","type":"String","value":["output"],"referenceId":"70793ed8-e5c9-4ede-9945-5db35626f68f","referenceKey":"output","referenceNode":"jade0ibwv7"},{"id":"57b838c4-c03d-47f3-9f57-3f75d62898f2","from":"Input","name":"right","type":"String","value":"empty","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"6f8c44d7-ad5c-4004-95e0-e01c391be100","type":"if","runnable":true,"conditions":[{"id":"7fd27d06-ac26-4225-a927-2b0d4a773cd4","value":[{"id":"0c2c78a1-6770-4f46-b36e-a30f3ce96b56","from":"Reference","name":"left","type":"String","value":["output"],"referenceId":"70793ed8-e5c9-4ede-9945-5db35626f68f","referenceKey":"output","referenceNode":"jade0ibwv7"},{"id":"082798c7-f2f6-40a8-bc73-edc9a174d0d3","from":"Input","name":"right","type":"String","value":"single","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"73eee09c-caeb-44c1-a54b-65b54d2f8db8","type":"else","runnable":true,"conditions":[{"id":"7f70dfc4-154a-48bb-849a-158e22eff435","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2306.976370766036,"y":109.04471171820657,"id":"jadec676as","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":6,"textX":0,"textY":0,"width":23.30867642534122,"hAlign":"center","height":153.802466640017,"italic":false,"margin":20,"toShape":"jadeh0ccb7","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade0ibwv7","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":3095.528839751806,"y":1087.2644560112249,"id":"jadejnmnp4","pad":6,"bold":false,"text":"选择需要了解的车型","type":"intelligentFormNodeState","dirty":false,"index":7,"width":360,"height":236,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","taskId":"a910a3d38a4549eda1112beee008419d","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"83131a2d-781b-4756-a0c8-91ee865ffbae","from":"Expand","name":"data","type":"Object","value":[{"id":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","from":"Input","name":"car","type":"String","value":"car","displayName":"我想深入了解的车型"},{"id":"28da30c8-2e73-46d1-a1ad-85d8b0c734b9","name":"car-options","from":"Reference","referenceNode":"jadebz0q8j","referenceId":"504a2241-6962-4de4-901a-3df2b798eaa2","referenceKey":"output","value":["output"],"type":"Array"}]},{"id":"c554e101-37b5-4aa1-b9b3-bfcfb2423583","from":"Input","name":"schema","type":"Object","value":{"parameters":[{"id":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","from":"Input","name":"car","type":"String","value":"car","options":{"from":"Reference","type":"Array","value":["output"],"referenceId":"504a2241-6962-4de4-901a-3df2b798eaa2","referenceKey":"output","referenceNode":"jadebz0q8j"},"renderType":"Radio","displayName":"我想深入了解的车型"}]}}],"outputParams":[{"id":"b5220628-4334-42c5-9ac9-93d4fca29ac8","name":"output","type":"Object","value":[{"id":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","name":"car","type":"String","value":""}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"intelligentFormComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3136.121745249294,"y":285.2614783280843,"id":"jadee2orhp","pad":6,"bold":false,"text":"代码_1","type":"codeNodeState","dirty":false,"index":8,"width":368,"height":252,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"args"},{"name":"code"},{"name":"language"},{"name":"output"}],"return":{"type":"object"},"uniqueName":"e147f301-957a-4335-a155-1e86d1a45ae5"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"8f50ae1f-f0fc-4eac-889c-0a53274b9e12","from":"Expand","name":"args","type":"Object","value":[{"id":"11325c8d-0491-4f99-85d9-4df54a3048a5","from":"Reference","name":"input","type":"Object","value":["output"],"referenceId":"7f1994bf-3a0b-442a-9bbb-d0069949fbbd","referenceKey":"output","referenceNode":"jadez5f1df"}]},{"id":"32133c22-59bf-4b46-9eaa-d221a0032c23","from":"Input","name":"code","type":"String","value":"async def main(args: Args) -> Output:\n list_car = args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])\n return list_car[0]","language":"python"},{"id":"ff990b8b-cf0c-436d-a8e7-7d4863e8d396","from":"Input","name":"language","type":"String","value":"python"},{"id":"9012d086-0ac4-4bcd-8455-e9b47e81c589","from":"Input","name":"output","type":"Object","value":{"properties":{"output":{"type":"string","description":""}}}}],"outputParams":[{"id":"b2e1f031-2fc8-410a-b2ec-73157db9750e","from":"Expand","name":"output","type":"String","value":""}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"codeComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":756.4734101887923,"y":1462.429481687775,"id":"jade3oqd4e","pad":6,"bold":false,"text":"大模型_2","type":"llmNodeState","dirty":false,"index":9,"width":360,"height":344,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"263b7842-e631-454a-aca2-8d979a344865","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"7b6ccdee-5b0b-4411-8f21-b75fe7879f5f","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"357563a6-8a44-40b1-8bdf-d11330ea58bb","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"3668396b-2055-417b-bef3-974623bee721","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"0cdec945-916c-4d47-b14c-1059ce8189e3","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"8eb45463-3eb1-4543-ad3c-c8f4cb00a530","from":"Expand","name":"prompt","type":"Object","value":[{"id":"abf75403-ad7d-4364-9f33-92cfb306f000","from":"Input","name":"template","type":"String","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n问题:{{query}}"},{"id":"7f267a0f-3a63-434f-a538-105229be8af6","from":"Expand","name":"variables","type":"Object","value":[{"id":"b123d3e4-0570-42c6-a20b-6fbcb0235674","from":"Reference","name":"query","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"}]}]},{"id":"6a5694e0-5100-4697-bb4e-8b030ed89624","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"9eed644b-62ae-4fd2-b5da-c7b5a4244059","from":"Expand","name":"workflows","type":"Array","value":[]},{"id":"2dcf3b33-dd57-4bb6-ae66-f2484d44d2e6","from":"Input","name":"systemPrompt","type":"String","value":"角色:你是一个问界试驾助手。\n限制:对于涉及其他品牌车型的问题,不进行详细回答,建议用户提问关于问界车型的问题或是一般性的汽车知识问题。"},{"id":"eed2b900-e733-4ca0-adbb-18d6a0b6082b","from":"input","name":"enableLog","type":"Boolean","value":true},{"id":"177986fa-db8d-4f92-a6f2-546b7232b94b","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"ca60a33d-41f2-4d36-bac2-19e8aa0cf6dc","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"98f2c414-2a1b-4d27-86aa-361a66973fd9","from":"Expand","name":"output","type":"Object","value":[{"id":"2e94082b-930d-4016-a180-a07bd0ad8e50","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"df7f2c19-3d1a-4531-a0a5-11d31286e6e8","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3641.1444929801864,"y":259.58807973293915,"id":"jadeq2zedq","pad":6,"bold":false,"text":"确认试驾车型","type":"intelligentFormNodeState","dirty":false,"index":10,"width":360,"height":236,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","taskId":"a910a3d38a4549eda1112beee008419d","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"9ac3705a-a49d-4240-87dc-7963533a46a5","from":"Expand","name":"data","type":"Object","value":[{"id":"2c678112-4c6d-44b2-a1f6-3d4b8718b893","from":"Reference","name":"car","type":"String","value":["output"],"displayName":"试驾车型","referenceId":"b2e1f031-2fc8-410a-b2ec-73157db9750e","referenceKey":"output","referenceNode":"jadee2orhp"}]},{"id":"a4dfd48f-e998-4725-bb71-dfd0644785e2","from":"Input","name":"schema","type":"Object","value":{"parameters":[{"id":"2c678112-4c6d-44b2-a1f6-3d4b8718b893","from":"Reference","name":"car","type":"String","value":["output"],"options":{"from":"Reference","value":[],"referenceId":"f903ce3c-173c-4010-8e14-8e18d64c9b27","referenceNode":"jademzanbn"},"renderType":"Input","displayName":"试驾车型","referenceId":"b2e1f031-2fc8-410a-b2ec-73157db9750e","referenceKey":"output","referenceNode":"jadee2orhp"}]}}],"outputParams":[{"id":"41e1e5aa-846e-48ce-92ea-07e4d61f6553","name":"output","type":"Object","value":[{"id":"2c678112-4c6d-44b2-a1f6-3d4b8718b893","name":"car","type":"String","value":""}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"intelligentFormComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3583.4751136945915,"y":810.1291139444377,"id":"jadebywy1i","pad":6,"bold":false,"text":"大模型_1","type":"llmNodeState","dirty":false,"index":11,"width":360,"height":344,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"905a7ab5-9f27-4ed8-b126-2a41394d9fe4","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"d3ac3f4a-d699-4341-89c3-d1c4921c1d2e","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"316ae379-274d-4fda-af6b-2f28b0356e2f","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"9ab32d21-b81b-4f13-9b5c-cd849ee7d334","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"9ee1c339-c88d-4248-86d6-139b64b763cf","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"99c6709d-5907-49e5-8394-0d294e8a3053","from":"Expand","name":"prompt","type":"Object","value":[{"id":"9646d069-0d62-4da2-a6cd-709c2e6b2d06","from":"Input","name":"template","type":"String","value":"通过工具获取车型信息,详细介绍这个车型:{{query}} "},{"id":"16b3b1ba-cefd-4353-a29f-8004670c684a","from":"Expand","name":"variables","type":"Object","value":[{"id":"4c02d0da-7879-4461-8090-960554b32128","from":"Reference","name":"query","type":"String","value":["output","car"],"referenceId":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","referenceKey":"car","referenceNode":"jadejnmnp4"}]}]},{"id":"c04281f5-6769-476f-8d7d-7d21aa714ca8","from":"Expand","name":"tools","type":"Array","value":[{"id":"06142d65-2487-4a40-b592-ac4638ac527d","from":"Input","name":"问界车型信息查询","tags":["FIT"],"type":"String","value":"7cba6fdd-8c6d-410f-81dc-775ffe96902b","version":"1.0.0"}]},{"id":"a188c341-d4c0-46a0-8a8c-7438b05a4b6c","from":"Expand","name":"workflows","type":"Array","value":[]},{"id":"14e1b376-64ab-4ce1-86d2-e3285cea971c","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"2308bdeb-ff69-4cd9-afd4-ba8132c5d939","from":"input","name":"enableLog","type":"Boolean","value":true},{"id":"7f9b538a-7d1b-442d-b45e-5041364cfd4d","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"0"},{"id":"62639076-5d67-4e37-bb54-024bdac816ec","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"8f3747e9-318f-49de-9de8-9610cf0049fc","from":"Expand","name":"output","type":"Object","value":[{"id":"d2156da5-09a9-4c8f-bf1a-9c63c457d439","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"6714da5e-b514-4911-b04b-96e3b83c15d7","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3455.528839751806,"y":1205.2644560112249,"id":"jadew1opy5","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":12,"textX":0,"textY":0,"width":127.94627394278541,"hAlign":"center","height":-223.1353420667872,"italic":false,"margin":20,"toShape":"jadebywy1i","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadejnmnp4","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4512.272758733045,"y":788.3278204357666,"id":"jadez5nidp","pad":6,"bold":false,"text":"确认试驾车型2","type":"intelligentFormNodeState","dirty":false,"index":13,"width":360,"height":236,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","taskId":"a910a3d38a4549eda1112beee008419d","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"2f92cbde-4e4b-4e7e-8307-18633cbb4352","from":"Expand","name":"data","type":"Object","value":[{"id":"610f8341-46f0-4e26-a6b8-58be5d52f560","from":"Reference","name":"car","type":"String","value":["output","car"],"displayName":"我要试驾车型","referenceId":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","referenceKey":"car","referenceNode":"jadejnmnp4"}]},{"id":"76c41bdf-8383-4318-a667-fd61b42609ab","from":"Input","name":"schema","type":"Object","value":{"parameters":[{"id":"610f8341-46f0-4e26-a6b8-58be5d52f560","from":"Reference","name":"car","type":"String","value":["output","car"],"options":{"from":"Reference","value":[],"referenceId":"f903ce3c-173c-4010-8e14-8e18d64c9b27","referenceNode":"jademzanbn"},"renderType":"Input","displayName":"我要试驾车型","referenceId":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","referenceKey":"car","referenceNode":"jadejnmnp4"}]}}],"outputParams":[{"id":"a8df0b85-ef18-4362-b94b-df12022d1e13","name":"output","type":"Object","value":[{"id":"610f8341-46f0-4e26-a6b8-58be5d52f560","name":"car","type":"String","value":""}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"intelligentFormComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1427.020111275216,"y":1032.5974446613131,"id":"jadetvqkdx","pad":6,"bold":false,"text":"车型提取2","type":"textExtractionNodeState","dirty":false,"index":14,"width":360,"height":334,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"extractParam"},{"name":"memoryConfig"},{"name":"memorySwitch"},{"name":"histories"}],"return":{"type":"object"},"uniqueName":"3bca6a3f-9623-4228-b120-1a5e0d41dc14"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"stageDesc":"分析试驾车型中...","inputParams":[{"id":"extractParam_db169c41-8428-4d04-9ca9-d5462638b9de","from":"Expand","name":"extractParam","type":"Object","value":[{"id":"text_ed4e777e-3973-4dfe-a5cd-8b6997e3c16f","from":"Reference","name":"text","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"},{"id":"desc_c5827ce1-b1c7-4959-98a6-79736761bfd7","from":"Input","name":"desc","type":"String","value":"车型必须在该范围内:问界新M5 增程 Max,问界新M5 增程 Max RS,问界新M5 纯电 Max,问界M7 Ultra 五座后驱版,问界M7 Ultra 五座四驱版,问界M7 Ultra 六座后驱版,问界M7 Ultra 六座四驱版,问界M7 Pro 五座后驱版,问界M7 Pro 五座四驱版,问界M7 Pro 六座后驱版,问界M7 Pro 六座四驱版,问界M9 增程 Max 六座版,问界M9 增程 Ultra 六座版,问界M9 纯电 Max 六座版,问界M9 纯电 Ultra 六座版,问界M9 增程 Max 五座版,问界M9 增程 Ultra 五座版,问界M9 纯电 Ultra 五座版 "},{"id":"outputSchema_2dda5dc9-c4f7-4f4e-a3ac-60a5387d66c9","from":"Input","name":"outputSchema","type":"String","value":"{\"type\":\"object\",\"properties\":{\"carTypes\":{\"type\":\"array\",\"description\":\"问界的车型列表,具体到型号\"}}}"},{"id":"6958ac49-541d-4768-b198-dfdf3767649a","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"fb995664-4eb1-49e2-80ba-b6d2991eedd5","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"755800ba-5209-4a3c-90b0-b4aa4bfd8fe2","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"temperature_6bb0ad3b-7bbf-4110-acbd-f4b103214374","from":"Input","name":"temperature","type":"Number","value":"0.3"}]},{"id":"memoryConfig_392e3f83-1fe1-43b5-88ae-afb9999ee4ee","from":"Expand","name":"memoryConfig","type":"Object","value":[{"id":"windowAlg_cde542de-39f0-4550-91dd-b1cf979f310d","from":"Input","name":"windowAlg","type":"String","value":"buffer_window"},{"id":"serializeAlg_153d40da-349c-466e-8780-6eefc42ae5c6","from":"Input","name":"serializeAlg","type":"String","value":"full"},{"id":"property_fb24ab56-f614-412b-b6d6-dfbbbc189365","from":"Input","name":"property","type":"Integer","value":"0"}]},{"id":"memorySwitch_6b354c48-ed57-44b3-91a4-5940425dc1dc","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"histories_d7e7c55e-d25b-4e03-80f1-b9937979faf1","from":"Reference","name":"histories","type":"Array","value":["memories"],"referenceId":"memories","referenceKey":"memories","referenceNode":"_systemEnv"}],"outputParams":[{"id":"b65edebe-1855-4502-a72f-0a207fd6c99f","from":"Expand","name":"output","type":"Object","value":[{"id":"66248c5c-9f8f-4000-8597-e8d6b0d7b16d","from":"Expand","name":"extractedParams","type":"Object","value":[{"id":"eb21be95-d82b-49b3-9eaf-455f4e449410","from":"Input","name":"carTypes","type":"Array","value":"","description":"问界的车型列表,具体到型号"}]},{"id":"success_e1a7af2a-fde0-4e73-81c1-cced296e08e8","from":"Input","name":"success","type":"Boolean","value":"Boolean"}]}],"enableStageDesc":true,"jadeNodeConfigChangeIgnored":false}}},"stageDesc":"分析试驾车型中...","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","enableStageDesc":true},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"textExtractionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1912.2742953652482,"y":796.1082161366603,"id":"jadez5f1df","pad":6,"bold":false,"text":"聚合车型列表","type":"codeNodeState","dirty":false,"index":15,"width":368,"height":252,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"args"},{"name":"code"},{"name":"language"},{"name":"output"}],"return":{"type":"object"},"uniqueName":"e147f301-957a-4335-a155-1e86d1a45ae5"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"ee12101b-d717-4f49-9ff5-6d840676047a","from":"Expand","name":"args","type":"Object","value":[{"id":"b8d2fbbf-1152-4403-a6dc-8ae88d7ddec3","from":"Reference","name":"input1","type":"Object","value":["output"],"referenceId":"30bf32bc-b320-418e-ae62-b30d45b26255","referenceKey":"output","referenceNode":"jademzanbn"},{"id":"662c4a18-21e8-47e0-bce2-10c89cb51b63","from":"Reference","name":"input2","type":"Object","value":["output"],"referenceId":"b65edebe-1855-4502-a72f-0a207fd6c99f","referenceKey":"output","referenceNode":"jadetvqkdx"}]},{"id":"08e9c25a-e55c-4620-bcca-325d714160d5","from":"Input","name":"code","type":"String","value":"async def main(args: Args) -> Output:\n if args[''input1'']:\n return args[''input1'']\n else:\n return args[''input2''] \n","language":"python"},{"id":"7df2184c-f82f-43ab-9a30-d695fae550ea","from":"Input","name":"language","type":"String","value":"python"},{"id":"35868ea7-d973-4a6c-b9f2-340a06f9f112","from":"Input","name":"output","type":"Object","value":{"properties":{"output":{"type":"object","description":"","properties":{}}}}}],"outputParams":[{"id":"7f1994bf-3a0b-442a-9bbb-d0069949fbbd","from":"Expand","name":"output","type":"Object","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"codeComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1684.8563982124583,"y":200.98809523809518,"id":"jadeanptlq","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":16,"textX":0,"textY":0,"width":227.41789715278992,"hAlign":"center","height":721.1201208985651,"italic":false,"margin":20,"toShape":"jadez5f1df","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jademzanbn","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1787.020111275216,"y":1199.5974446613131,"id":"jade58w7a7","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":17,"textX":0,"textY":0,"width":125.25418409003214,"hAlign":"center","height":-277.48922852465284,"italic":false,"margin":20,"toShape":"jadez5f1df","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadetvqkdx","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2280.2742953652482,"y":922.1082161366603,"id":"jadexs8po6","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":18,"textX":0,"textY":0,"width":-341.29792459921237,"hAlign":"center","height":-813.0635044184537,"italic":false,"margin":20,"toShape":"jade0ibwv7","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadez5f1df","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2383.9637395101945,"y":939.1301739903586,"id":"jadebz0q8j","pad":6,"bold":false,"text":"提取车型列表","type":"codeNodeState","dirty":false,"index":19,"width":368,"height":252,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"args"},{"name":"code"},{"name":"language"},{"name":"output"}],"return":{"type":"object"},"uniqueName":"e147f301-957a-4335-a155-1e86d1a45ae5"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"ac8da121-58a3-4801-82f3-862533c0db2b","from":"Expand","name":"args","type":"Object","value":[{"id":"90d97368-2212-4176-ab52-55215cb5d6c6","from":"Reference","name":"input","type":"Object","value":["output"],"referenceId":"7f1994bf-3a0b-442a-9bbb-d0069949fbbd","referenceKey":"output","referenceNode":"jadez5f1df"}]},{"id":"5abd8220-a2e6-47a1-b3d7-61da5c91a7c8","from":"Input","name":"code","type":"String","value":"async def main(args: Args) -> Output:\n return args.get(''input'', {}).get(''extractedParams'', {}).get(''carTypes'', [])","language":"python"},{"id":"d09bd08d-d2f7-47c2-a74b-a9f9fe899387","from":"Input","name":"language","type":"String","value":"python"},{"id":"c57b604c-0ae0-4d32-bef3-30c14793ddf1","from":"Input","name":"output","type":"Object","value":{"properties":{"output":{"type":"array","description":""}}}}],"outputParams":[{"id":"504a2241-6962-4de4-901a-3df2b798eaa2","from":"Expand","name":"output","type":"Array","value":""}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"codeComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2918.657887350822,"y":344.64718910145405,"id":"jadep8j6qd","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":20,"textX":0,"textY":0,"width":-534.6941478406275,"hAlign":"center","height":720.4829848889045,"italic":false,"margin":20,"toShape":"jadebz0q8j","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeh0ccb7","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":2751.9637395101945,"y":1065.1301739903586,"id":"jader2ugw2","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":21,"textX":0,"textY":0,"width":343.5651002416116,"hAlign":"center","height":140.1342820208663,"italic":false,"margin":20,"toShape":"jadejnmnp4","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadebz0q8j","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1585.717679196791,"y":1882.192672636369,"id":"jadeaevz6w","pad":6,"bold":false,"text":"结束_1","type":"endNodeEnd","dirty":false,"index":22,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"e42435d1-bd40-4a8f-a6da-6ce3b8c9e936","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"0cecce75-2752-4f0b-8c01-e55897f82eef","from":"Reference","name":"finalOutput","type":"String","value":["output","llmOutput"],"editable":true,"isRequired":true,"description":"","referenceId":"2e94082b-930d-4016-a180-a07bd0ad8e50","referenceKey":"llmOutput","referenceNode":"jade3oqd4e"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"f7b318fa-c166-4b2d-b72a-e6b90b8c7324","from":"Input","name":"enableLog","type":"Boolean","value":false}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":1116.4734101887923,"y":1634.429481687775,"id":"jadewhsta6","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":23,"textX":0,"textY":0,"width":469.2442690079988,"hAlign":"center","height":338.763190948594,"italic":false,"margin":20,"toShape":"jadeaevz6w","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade3oqd4e","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4941.814604932744,"y":1053.7568338252217,"id":"jadevgtszg","pad":6,"bold":false,"text":"结束_3","type":"endNodeEnd","dirty":false,"index":24,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"10392a5e-479e-468d-9a87-bb85a2649cc2","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"b2ab53ef-8e29-4a95-9fed-be9894df8806","from":"Input","name":"out","type":"String","value":"您选择的试驾车型为:","editable":true,"isRequired":true,"description":""},{"id":"31d34355-c6d3-459d-ac61-66eaf31f6fd4","from":"Reference","name":"car","type":"String","value":["output","car"],"editable":true,"isRequired":true,"description":"","referenceId":"610f8341-46f0-4e26-a6b8-58be5d52f560","referenceKey":"car","referenceNode":"jadez5nidp"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"89dfe7b5-972a-4b2a-a2b4-86c9b851fe05","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":4872.272758733045,"y":906.3278204357666,"id":"jade90v0rb","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":25,"textX":0,"textY":0,"width":69.54184619969965,"hAlign":"center","height":238.42901338945512,"italic":false,"margin":20,"toShape":"jadevgtszg","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadez5nidp","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4360.7236177911855,"y":276.14527960371345,"id":"jade9wr70l","pad":6,"bold":false,"text":"结束_2","type":"endNodeEnd","dirty":false,"index":26,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"bf589d2e-aff9-46f4-a266-4f3b6b4ea6e7","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"9104e96f-26ec-46cf-88b4-1ff929f7b983","from":"Input","name":"out","type":"String","value":"您选择的试驾车型为:","editable":true,"isRequired":true,"description":""},{"id":"7c278873-cea0-424b-b344-e22ab070aeb3","from":"Reference","name":"car","type":"String","value":["output","car"],"editable":true,"isRequired":true,"description":"","referenceId":"2c678112-4c6d-44b2-a1f6-3d4b8718b893","referenceKey":"car","referenceNode":"jadeq2zedq"}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"ab34cf0f-7fa9-424d-8b01-edc402fb163d","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3281.554641671145,"y":-72.84814124515464,"id":"jadehrizke","pad":6,"bold":false,"text":"结束","type":"endNodeEnd","dirty":false,"index":27,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"8fca4472-cb61-474b-97c8-be14566e998a","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"1e9b929c-bd6d-46c1-9b8c-23d1a0f7a7cc","from":"Input","name":"out","type":"String","value":"非常抱歉,不支持该车型的试驾。","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"8fcd715b-5e4c-488c-bcb7-ec5f4b5c83c2","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":2918.657887350822,"y":241.64718520187574,"id":"jadeke55eo","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":28,"textX":0,"textY":0,"width":362.896754320323,"hAlign":"center","height":-223.49532644703038,"italic":false,"margin":20,"toShape":"jadehrizke","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeh0ccb7","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|23d6704f-527f-43d9-8621-d8577d71dfec"},{"x":-503.16041743745245,"y":128.7548542937538,"id":"jade1tc9vb","pad":6,"bold":false,"text":"用户问题分类","type":"llmNodeState","dirty":false,"index":29,"width":360,"height":344,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"8e3a79d1-d39d-4815-9236-2e08bcbeb89d","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"d9ef67b3-a4e8-4b6c-b15b-0f55de543159","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"22a75a6e-c13a-45e7-9492-15613f79b1d8","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"a8265476-b028-4b32-88a4-cd9e27609d86","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"2c6a7c43-a6d7-4850-a60f-43d615085630","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"80222643-ef96-41ca-b9f6-6eae7f267a69","from":"Expand","name":"prompt","type":"Object","value":[{"id":"d655ab25-92c4-4af2-a01a-3e7e22a84362","from":"Input","name":"template","type":"String","value":"\"请分析用户的问题,并判断其意图是否是与问界汽车或是问界试驾有关。\n 如果用户的问题涉及问界汽车信息的询问,(例如:“请介绍一下问界M5”、 “给我推荐一款问界汽车”),则返回 ‘问界汽车问题’。\n如果用户只是咨询试驾相关内容(例如:“我想试驾问界M5”、“我想试驾保时捷911”),则返回 ‘试驾汽车问题’。\n如果用户问题是关于**其他品牌**的汽车或是一般性闲聊(例如:“最近有什么有趣的事?”、“今天天气不错”)则返回 ‘其他问题’\"\n用户问题:{{input}}\n**重要:不要回答``问界汽车问题``、``试驾汽车问题``、``其他问题``以外的文字**"},{"id":"cfe7e088-9f69-4671-a44a-4cd0f553920e","from":"Expand","name":"variables","type":"Object","value":[{"id":"046e05a4-4aa1-4694-8427-634bd97596d0","from":"Reference","name":"input","type":"String","value":["Question"],"referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","referenceNode":"jade6qm5eg"}]}]},{"id":"248bb3d3-abcb-4072-8b14-360428994714","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"3"},{"id":"89b4068b-9926-4429-a334-9b6daefc11d0","from":"Expand","name":"tools","type":"Array","value":[]},{"id":"267e88b8-1cdc-4312-a117-a96ea6c37514","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"3b9fafe7-20ac-4d59-be6c-1dd61b264e70","from":"Input","name":"enableLog","type":"Boolean","value":false},{"id":"ed3e6fda-3a66-405c-b5d4-100822755cd8","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"d4ae45a4-74cc-498c-9e6e-69a1694614fb","from":"Expand","name":"output","type":"Object","value":[{"id":"e8bd45b4-2216-4eda-af81-d008bb6012a9","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"2d7b57fb-c452-41d3-9fed-bed3289c64eb","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":-763.5461204767116,"y":297.25814386932325,"id":"jadeknglms","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":30,"textX":0,"textY":0,"width":260.38570303925917,"hAlign":"center","height":3.496710424430546,"italic":false,"margin":20,"toShape":"jade1tc9vb","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade6qm5eg","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":-66.83537340229776,"y":197.7460840672867,"id":"jade5pubt6","pad":6,"bold":false,"text":"条件_1","type":"conditionNodeCondition","dirty":false,"index":31,"width":600,"height":284,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"407a4d42-fe33-427e-8553-9de19e9bb002","type":"if","runnable":true,"conditions":[{"id":"e6cc2561-bf7f-43e9-873e-675ef7fa1340","value":[{"id":"146ae59a-df8a-4181-9dbc-466e6b81cdb9","from":"Reference","name":"left","type":"String","value":["output","llmOutput"],"referenceId":"e8bd45b4-2216-4eda-af81-d008bb6012a9","referenceKey":"llmOutput","referenceNode":"jade1tc9vb"},{"id":"5a2bd11a-bbff-4e14-81a7-8f5d747d9e61","from":"Input","name":"right","type":"String","value":"问界汽车问题","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"7fe7b5fa-c661-4ba5-9f87-4e8070496dd0","type":"if","runnable":true,"conditions":[{"id":"fc38c7be-06ac-41eb-a896-e6bb0f9129d0","value":[{"id":"767ed731-7595-46a6-9448-dcac3635694a","from":"Reference","name":"left","type":"String","value":["output","llmOutput"],"referenceId":"e8bd45b4-2216-4eda-af81-d008bb6012a9","referenceKey":"llmOutput","referenceNode":"jade1tc9vb"},{"id":"1ce1f111-7dec-4fac-b6e5-fd02d5b78557","from":"Input","name":"right","type":"String","value":"试驾汽车问题","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"dc589e0f-3202-46e4-87f4-e550d54bbbc5","type":"else","runnable":true,"conditions":[{"id":"8d21bec4-7de8-4b35-9561-2e4374e42780","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":-143.16041743745245,"y":300.7548542937538,"id":"jadey81zoy","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":32,"textX":0,"textY":0,"width":76.32504403515469,"hAlign":"center","height":38.99122977353289,"italic":false,"margin":20,"toShape":"jade5pubt6","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade1tc9vb","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":521.5373576131606,"y":318.54609091093886,"id":"jade8w9r8o","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":33,"textX":0,"textY":0,"width":297.6055178316176,"hAlign":"center","height":-7.406532627248396,"italic":false,"margin":20,"toShape":"jadewdnjbq","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade5pubt6","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|407a4d42-fe33-427e-8553-9de19e9bb002"},{"x":521.5373576131606,"y":374.5460870922666,"id":"jadewp6fyj","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":34,"textX":0,"textY":0,"width":905.4827536620555,"hAlign":"center","height":825.0513575690466,"italic":false,"margin":20,"toShape":"jadetvqkdx","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade5pubt6","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|7fe7b5fa-c661-4ba5-9f87-4e8070496dd0"},{"x":521.5373576131606,"y":421.54607877806717,"id":"jadeu36msk","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":35,"textX":0,"textY":0,"width":234.93605257563172,"hAlign":"center","height":1212.883402909708,"italic":false,"margin":20,"toShape":"jade3oqd4e","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade5pubt6","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":4052.389624614043,"y":653.9380776568371,"id":"jade9wm99z","pad":6,"bold":false,"text":"大模型_4","type":"llmNodeState","dirty":false,"index":36,"width":360,"height":344,"italic":false,"flowMeta":{"jober":{"name":"","type":"general_jober","isAsync":"true","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"09e984b4-261d-4db4-9a79-bfdcab112355","from":"Input","name":"model","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"f7469288-be18-4f27-8e0c-985b6444c3cf","from":"Expand","name":"accessInfo","type":"Object","value":[{"id":"57eece3d-c599-444e-8ad8-b76f7b2594ca","from":"Input","name":"serviceName","type":"String","value":"Qwen/Qwen2.5-72B-Instruct"},{"id":"96ab5533-d3d0-4018-a341-16667d0df21b","from":"Input","name":"tag","type":"String","value":"SiliconFlow,Jade"}]},{"id":"6ee7671a-c9e2-4ae7-9348-d0f4c548e025","from":"Input","name":"temperature","type":"Number","value":"0.3"},{"id":"4e9c98fc-6547-4fd0-a71e-e21b9cd52f41","from":"Expand","name":"prompt","type":"Object","value":[{"id":"e7cd99dd-0143-44a9-81ee-ccebcc8b6a2c","from":"Input","name":"template","type":"String","value":"通过工具查询车型的图片:{{query}} "},{"id":"56e29f98-ae8e-478c-b02e-75b8149f090a","from":"Expand","name":"variables","type":"Object","value":[{"id":"77353774-8079-4f34-8672-44df471f2c2a","from":"Reference","name":"query","type":"String","value":["output","car"],"referenceId":"input_1bb450c2-e4f9-471f-ac11-4760ed04461c","referenceKey":"car","referenceNode":"jadejnmnp4"}]}]},{"id":"6dd50ee8-6572-43d1-a7da-97c88138bf5d","from":"Input","name":"maxMemoryRounds","type":"Integer","value":"0"},{"id":"3d26bc7c-3757-4b90-b803-f919123bd1dc","from":"Expand","name":"tools","type":"Array","value":[{"id":"bf11ba32-9201-4618-8084-66c81e4a0608","from":"Input","name":"问界车型宣传图片","tags":["FIT"],"type":"String","value":"e754f978-d236-44fa-aa55-e8eb5d8f8269","version":"1.0.0"}]},{"id":"e0ff690b-0e1c-4086-a299-94ab3cbfe5e5","from":"Input","name":"systemPrompt","type":"String","value":""},{"id":"267a67d4-c64c-488d-8263-7977c26b1c23","from":"Input","name":"enableLog","type":"Boolean","value":true},{"id":"4cfaec42-099b-4ec4-ae23-a3f47d9db635","from":"Expand","name":"knowledgeBases","type":"Array","value":[]}],"outputParams":[{"id":"29377aa8-2eb4-4a99-99c5-19ef52f309a0","from":"Expand","name":"output","type":"Object","value":[{"id":"c7836226-62a7-47e6-b4fa-705ed2acffed","from":"Input","name":"llmOutput","type":"String","value":"","description":""},{"id":"a2263372-420d-404c-93c0-e4e0edd79f39","from":"Input","name":"reference","type":"Array","value":[],"description":""}]}],"tempReference":{}}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"llmComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":3943.4751136945915,"y":982.1291139444377,"id":"jadepdt7pq","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":37,"textX":0,"textY":0,"width":108.91451091945146,"hAlign":"center","height":-156.19103628760058,"italic":false,"margin":20,"toShape":"jade9wm99z","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadebywy1i","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4412.389624614043,"y":825.9380776568371,"id":"jade28pvut","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":38,"textX":0,"textY":0,"width":99.88313411900162,"hAlign":"center","height":80.38974277892953,"italic":false,"margin":20,"toShape":"jadez5nidp","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade9wm99z","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2918.657887350822,"y":297.6471616509573,"id":"jadeam5lo5","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":39,"textX":0,"textY":0,"width":217.46385789847182,"hAlign":"center","height":113.61431667712702,"italic":false,"margin":20,"toShape":"jadee2orhp","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeh0ccb7","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|6f8c44d7-ad5c-4004-95e0-e01c391be100"},{"x":3504.121745249294,"y":411.2614783280843,"id":"jade13kr3a","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":40,"textX":0,"textY":0,"width":137.02274773089266,"hAlign":"center","height":-33.67339859514516,"italic":false,"margin":20,"toShape":"jadeq2zedq","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadee2orhp","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":4001.1444929801864,"y":377.58807973293915,"id":"jadef977tc","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":41,"textX":0,"textY":0,"width":359.579124810999,"hAlign":"center","height":-10.442800129225702,"italic":false,"margin":20,"toShape":"jade9wr70l","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadeq2zedq","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"}]}],"enableText":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.fitable.FlowInfoCallback"]},"enableOutputScope":true,"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler","modelengine.fit.jober.fitable.FlowInfoException"]},"version":"1.0.0"}', 'Jade', '2025-04-19 09:15:55.131413', 'Jade', '2025-04-19 09:15:55.585765', NULL, 'f') ON CONFLICT (id, version) DO NOTHING; + +INSERT INTO "public"."task_new" ("id", "name", "version", "template_id", "tenant_id", "attributes", "created_by", "created_at", "updated_by", "updated_at", "is_deleted") VALUES ('e785d5f9abaa4c5581612a2448c08441', '问界试驾助手', '1.0.0', 'dfe319109bc84f6793645e3483c029ca', '31f20efc7e0848deab6a6bc10fc3021e', '{"app_id": "550177e8d0e34014a2d95988ef1c67c5", "version": "1.0.0", "aipp_type": "NORMAL", "meta_icon": "", "publish_at": "2025-04-19T09:15:56.022104797", "description": "", "meta_status": "active", "unique_name": "2a3141b2-8c83-40c2-b2b6-103746c125d3", "flow_config_id": "5711f3230eb94abdb168e61d2082d1d2", "flow_definition_id": "803b4ba4d163472b81ad2330734e23b9", "publish_update_log": "", "publish_description": "问界试驾助手"}', 'Jade', '2025-04-19 09:15:55.552466', 'Jade', '2025-04-19 09:15:56.035246', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('问界试驾助手', '{"name":"问界试驾助手","description":"","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"dfe319109bc84f6793645e3483c029ca","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '{"FIT":{"fitableId":"water.flow.invoke","genericableId":"07b51bd246594c159d403164369ce1db"},"APP":{"aippId":"dfe319109bc84f6793645e3483c029ca","appCategory":"chatbot","version":"1.0.0","appId":"550177e8d0e34014a2d95988ef1c67c5"}}', 'null', '2a3141b2-8c83-40c2-b2b6-103746c125d3', '1.0.0', 't', '2a3141b2-8c83-40c2-b2b6-103746c125d3', '2a3141b2-8c83-40c2-b2b6-103746c125d3', '2a3141b2-8c83-40c2-b2b6-103746c125d3') ON CONFLICT ("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_app" ("source", "icon", "app_category", "tool_name", "tool_unique_name") VALUES ('system', '', 'chatbot', '问界试驾助手', '2a3141b2-8c83-40c2-b2b6-103746c125d3') ON CONFLICT ("tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('2a3141b2-8c83-40c2-b2b6-103746c125d3', '{"name":"2a3141b2-8c83-40c2-b2b6-103746c125d3","description":"","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"dfe319109bc84f6793645e3483c029ca","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '2a3141b2-8c83-40c2-b2b6-103746c125d3') ON CONFLICT ("definition_group_name", "name") DO NOTHING; + +INSERT INTO "public"."store_definition_group" ("name", "summary", "description", "extensions") VALUES ('2a3141b2-8c83-40c2-b2b6-103746c125d3', 'no summary', 'no desc', 'null') ON CONFLICT ("name") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('2a3141b2-8c83-40c2-b2b6-103746c125d3', 'APP') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('2a3141b2-8c83-40c2-b2b6-103746c125d3', 'APP_TYPE_4DB152B24F94473AB683B1ACBFE3C865') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; + +INSERT INTO "public"."store_tool_group" ("name", "definition_group_name", "summary", "description", "extensions") VALUES ('2a3141b2-8c83-40c2-b2b6-103746c125d3', '2a3141b2-8c83-40c2-b2b6-103746c125d3', 'no summary', 'no desc', 'null') ON CONFLICT ("name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('问界产品信息查询', '{"name":"问界产品信息查询","description":"用于查询问界产品信息查询","parameters":{"type":"object","properties":{"args":{"defaultValue":"","description":"预留参数,当前传入空字符串即可","name":"args","type":"string","examples":"","required":true}},"required":["args"]},"order":["args"],"parameterExtensions":null,"return":{"type":"string","convertor":""}}', 'Wenjie') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('问界产品宣传图', '{"name":"问界产品宣传图","description":"用于查询问界产品宣传图","parameters":{"type":"object","properties":{"carType":{"defaultValue":"","description":"车的型号","name":"carType","type":"string","examples":"","required":true}},"required":["carType"]},"order":["carType"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object"},"convertor":""}}', 'Wenjie') ON CONFLICT ("definition_group_name", "name") DO NOTHING; + +INSERT INTO "public"."store_definition_group" ("name", "summary", "description", "extensions") VALUES ('Wenjie', '', '', '{}') ON CONFLICT ("name") DO NOTHING; + +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin", "source", "icon") VALUES ('90468c455f728a6082d1b1546547748f3afe55e99d27b5e44acc9bd3935e6f13', 'wenjie-cars', '{"uniqueness.groupId":"modelengine.fit.jade.plugin","pluginFullName":"wenjie-data-1.0.0-SNAPSHOT_1745053576903.jar","checksum":"8313760d85dcd3382bf5a2da18251ecd0e1d272626d0054e6df17d37b916c4bb","name":"wenjie-cars","description":"问界的车型介绍","uniqueness.artifactId":"wenjie-data","type":"java"}', 'DEPLOYED', 'f', '', NULL) ON CONFLICT ("plugin_id") DO NOTHING; + +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES ('问界车型信息查询', '90468c455f728a6082d1b1546547748f3afe55e99d27b5e44acc9bd3935e6f13', '7cba6fdd-8c6d-410f-81dc-775ffe96902b', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES ('问界车型宣传图片', '90468c455f728a6082d1b1546547748f3afe55e99d27b5e44acc9bd3935e6f13', 'e754f978-d236-44fa-aa55-e8eb5d8f8269', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('e754f978-d236-44fa-aa55-e8eb5d8f8269', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('7cba6fdd-8c6d-410f-81dc-775ffe96902b', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('问界车型信息查询', '{"name":"问界车型信息查询","description":"用于查询问界的车型信息","parameters":{"type":"object","properties":{"args":{"examples":"","defaultValue":"","name":"args","description":"预留参数,当前传入空字符串即可","type":"string","required":false}},"required":["args"]},"return":{"convertor":"","examples":"","name":"","description":"问界车型介绍","type":"string"},"order":["args"]}', '{"FIT":{"genericableId":"modelengine.jober.aipp.AITO.describe","fitableId":"default"}}', '{"tags":["FIT"]}', '7cba6fdd-8c6d-410f-81dc-775ffe96902b', '1.0.0', 't', 'WenjieImpl', '问界产品信息查询', 'Wenjie') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('问界车型宣传图片', '{"name":"问界车型宣传图片","description":"用于查询问界车型宣传图片","parameters":{"type":"object","properties":{"carType":{"examples":"","defaultValue":"","name":"carType","description":"车的型号","type":"string","required":false}},"required":["carType"]},"return":{"convertor":"","examples":"","name":"","description":"问界车型的宣传图片的访问地址","type":"array","items":{"type":"object"}},"order":["carType"]}', '{"FIT":{"genericableId":"modelengine.jober.aipp.AITO.url","fitableId":"default"}}', '{"tags":["FIT"]}', 'e754f978-d236-44fa-aa55-e8eb5d8f8269', '1.0.0', 't', 'WenjieImpl', '问界产品宣传图', 'Wenjie') ON CONFLICT ("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_tool_group" ("name", "definition_group_name", "summary", "description", "extensions") VALUES ('WenjieImpl', 'Wenjie', '', '', '{}') ON CONFLICT ("name") DO NOTHING; diff --git a/app-engine/plugins/app-announcement/src/main/resources/sql/app_engine_announcement_create_table.sql b/app-engine/plugins/app-announcement/src/main/resources/sql/schema/create_tables/app_engine_announcement_create_table.sql similarity index 100% rename from app-engine/plugins/app-announcement/src/main/resources/sql/app_engine_announcement_create_table.sql rename to app-engine/plugins/app-announcement/src/main/resources/sql/schema/create_tables/app_engine_announcement_create_table.sql diff --git a/app-engine/plugins/app-base/src/main/resources/sql/07_app_base_creat_table.sql b/app-engine/plugins/app-base/src/main/resources/sql/schema/create_tables/app_base_create_table.sql similarity index 100% rename from app-engine/plugins/app-base/src/main/resources/sql/07_app_base_creat_table.sql rename to app-engine/plugins/app-base/src/main/resources/sql/schema/create_tables/app_base_create_table.sql diff --git a/app-engine/plugins/app-metrics/src/main/resources/sql/app_engine_metrics_create_table.sql b/app-engine/plugins/app-metrics/src/main/resources/sql/schema/create_tables/app_engine_metrics_create_table.sql similarity index 100% rename from app-engine/plugins/app-metrics/src/main/resources/sql/app_engine_metrics_create_table.sql rename to app-engine/plugins/app-metrics/src/main/resources/sql/schema/create_tables/app_engine_metrics_create_table.sql diff --git a/app-eval/plugins/eval-dataset/src/main/resources/sql/app_eval_create_table.sql b/app-eval/plugins/eval-dataset/src/main/resources/sql/schema/create_tables/app_eval_create_table.sql similarity index 100% rename from app-eval/plugins/eval-dataset/src/main/resources/sql/app_eval_create_table.sql rename to app-eval/plugins/eval-dataset/src/main/resources/sql/schema/create_tables/app_eval_create_table.sql diff --git a/app-eval/plugins/eval-task/src/main/resources/sql/app_task_create_table.sql b/app-eval/plugins/eval-task/src/main/resources/sql/schema/create_tables/app_task_create_table.sql similarity index 94% rename from app-eval/plugins/eval-task/src/main/resources/sql/app_task_create_table.sql rename to app-eval/plugins/eval-task/src/main/resources/sql/schema/create_tables/app_task_create_table.sql index 5a7fab2676..967a04cfdf 100644 --- a/app-eval/plugins/eval-task/src/main/resources/sql/app_task_create_table.sql +++ b/app-eval/plugins/eval-task/src/main/resources/sql/schema/create_tables/app_task_create_table.sql @@ -4,8 +4,8 @@ create table if not exists t_app_engine_eval_task "name" varchar(64) not null, "description" varchar(512) not null, "status" varchar(32) not null, - "created_at" timestamp(9) default current_timestamp not null, - "updated_at" timestamp(9) default current_timestamp not null, + "created_at" timestamp default current_timestamp not null, + "updated_at" timestamp default current_timestamp not null, "created_by" varchar(64) default 'system' not null, "updated_by" varchar(64) default 'system' not null, "app_id" varchar(255) not null, @@ -77,9 +77,9 @@ create table if not exists t_app_engine_eval_instance "pass_rate" smallint default -1 not null, "pass_count" smallint default 0 not null, "created_by" varchar(64) default 'system' not null, - "created_at" timestamp(9) default current_timestamp not null, - "updated_at" timestamp(9) default current_timestamp not null, - "finished_at" timestamp(9) default current_timestamp not null, + "created_at" timestamp default current_timestamp not null, + "updated_at" timestamp default current_timestamp not null, + "finished_at" timestamp default current_timestamp not null, "trace_id" varchar(32) not null, "task_id" bigint not null ); diff --git a/app-eval/plugins/simple-uid-generator/src/main/resources/sql/simple_id_generator_create_table.sql b/app-eval/plugins/simple-uid-generator/src/main/resources/sql/schema/sequence/simple_id_generator_create_sequence.sql similarity index 100% rename from app-eval/plugins/simple-uid-generator/src/main/resources/sql/simple_id_generator_create_table.sql rename to app-eval/plugins/simple-uid-generator/src/main/resources/sql/schema/sequence/simple_id_generator_create_sequence.sql diff --git a/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/data/tr_t_knowledge_config.sql b/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/data/tr_t_knowledge_config.sql new file mode 100644 index 0000000000..a413fe00a4 --- /dev/null +++ b/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/data/tr_t_knowledge_config.sql @@ -0,0 +1,72 @@ +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('添加知识库配置', '{"name":"添加知识库配置","description":"增加用户的知识库配置信息","parameters":{"type":"object","properties":{"knowledgeConfigDto":{"examples":"","defaultValue":"","name":"knowledgeConfigDto","description":"知识库配置dto","type":"object","properties":{"isDefault":{"type":"boolean"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer"},"userId":{"type":"string"}}}},"required":["knowledgeConfigDto"]},"return":{"convertor":"","examples":"","name":"","description":"增加用户的知识库配置信息","type":"null"},"order":["knowledgeConfigDto"]}', '{"FIT":{"genericableId":"knowledge.center.service.addUserKnowledgeConfig","fitableId":"knowledge.config.service.impl"}}', '{"tags":["FIT","KNOWLEDGE"]}', 'f952e986-a1ee-474d-bd3a-bdf154db58e7', '1.0.0', 't', 'Knowledge_Center_Service_Impl', 'add_user_knowledge_config', 'Knowledge_Center_Service') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('修改知识库配置', '{"name":"修改知识库配置","description":"修改用户的知识库配置信息","parameters":{"type":"object","properties":{"knowledgeConfigDto":{"examples":"","defaultValue":"","name":"knowledgeConfigDto","description":"知识库配置dto","type":"object","properties":{"isDefault":{"type":"boolean"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer"},"userId":{"type":"string"}}}},"required":["knowledgeConfigDto"]},"return":{"convertor":"","examples":"","name":"","description":"修改用户的知识库配置信息","type":"null"},"order":["knowledgeConfigDto"]}', '{"FIT":{"genericableId":"knowledge.center.service.editUserKnowledgeConfig","fitableId":"knowledge.config.service.impl"}}', '{"tags":["FIT","KNOWLEDGE"]}', '39eea5b4-034a-409a-935a-e9df7736dda8', '1.0.0', 't', 'Knowledge_Center_Service_Impl', 'edit_user_knowledge_config', 'Knowledge_Center_Service') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('删除知识库配置', '{"name":"删除知识库配置","description":"删除用户的知识库配置信息","parameters":{"type":"object","properties":{"id":{"examples":"","defaultValue":"","name":"id","description":"知识库配置id","type":"integer","required":true}},"required":["id"]},"return":{"convertor":"","examples":"","name":"","description":"删除用户的知识库配置信息","type":"null"},"order":["id"]}', '{"FIT":{"genericableId":"knowledge.center.service.deleteUserKnowledgeConfig","fitableId":"knowledge.config.service.impl"}}', '{"tags":["FIT","KNOWLEDGE"]}', '24146b66-2bbe-46a4-848b-1c48057a4ed7', '1.0.0', 't', 'Knowledge_Center_Service_Impl', 'delete_user_knowledge_config', 'Knowledge_Center_Service') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('查询知识库配置', '{"name":"查询知识库配置","description":"查询用户的知识库配置信息","parameters":{"type":"object","properties":{"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string","required":true}},"required":["userId"]},"return":{"convertor":"","examples":"","name":"","description":"查询用户的知识库配置信息","type":"array","items":{"type":"object","properties":{"isDefault":{"type":"boolean"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer"},"userId":{"type":"string"}}}},"order":["userId"]}', '{"FIT":{"genericableId":"knowledge.center.service.listUserKnowledgeConfig","fitableId":"knowledge.config.service.impl"}}', '{"tags":["FIT","KNOWLEDGE"]}', 'b04f2abf-8dbc-4103-b652-b26148838981', '1.0.0', 't', 'Knowledge_Center_Service_Impl', 'list_user_knowledge_config', 'Knowledge_Center_Service') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('查询知识库集列表', '{"name":"查询知识库集列表","description":"获取支持使用的知识库集列表","parameters":{"type":"object","properties":{"userId":{"examples":"","defaultValue":"","name":"userId","description":"用户id","type":"string"}},"required":[]},"return":{"convertor":"","examples":"","name":"","description":"获取支持使用的知识库集列表","type":"array","items":{"type":"object","properties":{"groupId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}}},"order":["userId"]}', '{"FIT":{"genericableId":"knowledge.center.service.listSupportKnowledges","fitableId":"knowledge.config.service.impl"}}', '{"tags":["FIT","KNOWLEDGE"]}', 'aed53a7c-4701-437b-b651-a5ec298dd0cf', '1.0.0', 't', 'Knowledge_Center_Service_Impl', 'list_support_knowledges', 'Knowledge_Center_Service') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('知识库配置应用', '{"name":"知识库配置应用","description":"当你想要配置知识库的时候,请使用我!","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"5185dad4c8124522a2612c20f8497cf0","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '{"FIT":{"fitableId":"water.flow.invoke","genericableId":"07b51bd246594c159d403164369ce1db"},"APP":{"aippId":"5185dad4c8124522a2612c20f8497cf0","appCategory":"chatbot","version":"1.0.0","appId":"c419cf9d3f2d472da6b376bbb07c0f5a"}}', 'null', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', '1.0.0', 't', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0') ON CONFLICT ("unique_name", "version") DO NOTHING; + +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('add_user_knowledge_config', '{"name":"add_user_knowledge_config","description":"增加用户的知识库配置信息","parameters":{"type":"object","properties":{"knowledgeConfigDto":{"defaultValue":"","description":"知识库配置dto","name":"knowledgeConfigDto","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"userId":{"type":"string"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"isDefault":{"type":"boolean"}},"examples":""}},"required":["knowledgeConfigDto"]},"order":["knowledgeConfigDto"],"parameterExtensions":null,"return":{"type":"null","convertor":""}}', 'Knowledge_Center_Service') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('edit_user_knowledge_config', '{"name":"edit_user_knowledge_config","description":"修改用户的知识库配置信息","parameters":{"type":"object","properties":{"knowledgeConfigDto":{"defaultValue":"","description":"知识库配置dto","name":"knowledgeConfigDto","type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"userId":{"type":"string"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"isDefault":{"type":"boolean"}},"examples":""}},"required":["knowledgeConfigDto"]},"order":["knowledgeConfigDto"],"parameterExtensions":null,"return":{"type":"null","convertor":""}}', 'Knowledge_Center_Service') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('delete_user_knowledge_config', '{"name":"delete_user_knowledge_config","description":"删除用户的知识库配置信息","parameters":{"type":"object","properties":{"id":{"defaultValue":"","description":"知识库配置id","name":"id","type":"integer","examples":"","required":true}},"required":["id"]},"order":["id"],"parameterExtensions":null,"return":{"type":"null","convertor":""}}', 'Knowledge_Center_Service') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('list_user_knowledge_config', '{"name":"list_user_knowledge_config","description":"查询用户的知识库配置信息","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":"","required":true}},"required":["userId"]},"order":["userId"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"userId":{"type":"string"},"apiKey":{"type":"string"},"groupId":{"type":"string"},"isDefault":{"type":"boolean"}}},"convertor":""}}', 'Knowledge_Center_Service') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('list_support_knowledges', '{"name":"list_support_knowledges","description":"获取支持使用的知识库集列表","parameters":{"type":"object","properties":{"userId":{"defaultValue":"","description":"用户id","name":"userId","type":"string","examples":""}},"required":[]},"order":["userId"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"convertor":""}}', 'Knowledge_Center_Service') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', '{"name":"4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0","description":"当你想要配置知识库的时候,请使用我!","manualIntervention":false,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"5185dad4c8124522a2612c20f8497cf0","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"Question":{"type":"String","description":"这是用户输入的问题。"}},"required":["Question"],"order":["Question"]},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"return":{"type":"object","properties":{}},"order":["tenantId","aippId","version","inputParams"]}', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0') ON CONFLICT ("definition_group_name", "name") DO NOTHING; + +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('f952e986-a1ee-474d-bd3a-bdf154db58e7', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('f952e986-a1ee-474d-bd3a-bdf154db58e7', 'KNOWLEDGE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('39eea5b4-034a-409a-935a-e9df7736dda8', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('39eea5b4-034a-409a-935a-e9df7736dda8', 'KNOWLEDGE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('24146b66-2bbe-46a4-848b-1c48057a4ed7', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('24146b66-2bbe-46a4-848b-1c48057a4ed7', 'KNOWLEDGE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('b04f2abf-8dbc-4103-b652-b26148838981', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('b04f2abf-8dbc-4103-b652-b26148838981', 'KNOWLEDGE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('aed53a7c-4701-437b-b651-a5ec298dd0cf', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('aed53a7c-4701-437b-b651-a5ec298dd0cf', 'KNOWLEDGE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', 'APP') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") VALUES ('4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0', 'APP_TYPE_B653EDB7EB5A49BE91ABCD2C5877C6AD') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; + +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '添加知识库配置', '3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', 'f952e986-a1ee-474d-bd3a-bdf154db58e7', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '修改知识库配置', '3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', '39eea5b4-034a-409a-935a-e9df7736dda8', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '删除知识库配置', '3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', '24146b66-2bbe-46a4-848b-1c48057a4ed7', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '查询知识库配置', '3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', 'b04f2abf-8dbc-4103-b652-b26148838981', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("like_count", "download_count", "tool_name", "plugin_id", "tool_unique_name", "source", "icon") VALUES (0, 0, '查询知识库集列表', '3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', 'aed53a7c-4701-437b-b651-a5ec298dd0cf', '', NULL) ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin", "source", "icon") VALUES ('3733674b4180b02ebb49f60193373d38e08753d890d31d41a1ca880cf4364cdd', '用户知识库配置服务', '{"uniqueness.groupId":"store-knowledge-config-service","pluginFullName":"weather-1.0-SNAPSHOT_1745752448118.jar","checksum":"e48217e7e2121849e4dbae4d4c922cbf79802c638a4b0bed71d3d412fa1c88fd","name":"用户知识库配置服务","description":"这是一个用户知识库配置服务工具","uniqueness.artifactId":"jade-knowledge-config-service","type":"java"}', 'DEPLOYED', 'f', '', NULL) ON CONFLICT ("plugin_id") DO NOTHING; + +INSERT INTO "public"."app_builder_form" ("id", "name", "tenant_id", "appearance", "type", "create_by", "create_at", "update_by", "update_at", "is_deleted", "form_suite_id", "version") VALUES ('aed5570845d440c78ed3326f8482483c', '知识库管理表单', '31f20efc7e0848deab6a6bc10fc3021e', '{"imgUrl": "smart_form/17b732c9-5272-42a6-a79d-8d0334a8aa19/form.jpeg", "schema": {"name": "知识库管理表单", "return": {"type": "object", "properties": {"info": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "apiKey": {"type": "string"}, "groupId": {"type": "string"}, "isDefault": {"type": "integer"}}}, "action": {"enum": ["add", "delete", "switch", "quit"], "type": "string"}}}, "parameters": {"type": "object", "required": ["knowledgeList", "knowledgeOptions"], "properties": {"knowledgeList": {"type": "array", "items": {"type": "object", "required": ["groupId", "name", "apiKey", "isDefault"], "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "apiKey": {"type": "string"}, "userId": {"type": "String"}, "groupId": {"type": "string"}, "isDefault": {"type": "integer"}}}}, "knowledgeOptions": {"type": "array", "items": {"type": "object", "required": ["name", "groupId", "description"], "properties": {"name": {"type": "string"}, "groupId": {"type": "string"}, "description": {"type": "string"}}}}}}}, "fileName": "knowledge.zip", "fileSize": 362092, "fileUuid": "904be596a4b94873b22a008ca807cc3b", "iframeUrl": "smart_form/17b732c9-5272-42a6-a79d-8d0334a8aa19/build/index.html", "description": "这是一个知识库管理表单"}', 'runtime', 'Jade', '2025-04-28 02:04:18.174594', 'Jade', '2025-04-28 14:05:47.721196', 0, '83dc556b25544414b88b538281be4d66', '1.0.0') ON CONFLICT ("id") DO NOTHING; + +INSERT INTO "public"."app_builder_app" ("id", "name", "create_by", "create_at", "update_by", "update_at", "config_id", "flow_graph_id", "tenant_id", "type", "version", "attributes", "state", "app_built_type", "app_category", "collection_usr_cnt", "is_deleted", "path", "app_type") VALUES ('c419cf9d3f2d472da6b376bbb07c0f5a', '知识库配置应用', 'Jade', '2025-04-27 11:38:16.181311', 'Jade', '2025-04-28 14:11:01.841006', 'c9a41dd87eb04b89bbfa6de2b221bb5b', '7075f47449504e639571887473986da6', '31f20efc7e0848deab6a6bc10fc3021e', 'app', '1.0.0', '{"icon": "", "name": "知识库配置应用", "app_type": "b653edb7eb5a49be91abcd2c5877c6ad", "greeting": "", "store_id": "4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0", "is_update": false, "description": "当你想要配置知识库的时候,请使用我!", "publishedUpdateLog": "", "publishedDescription": ""}', 'active', 'workflow', 'chatbot', 0, 0, 'z7hFDTDrjuCUHMn4', 'b653edb7eb5a49be91abcd2c5877c6ad') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config" ("id", "form_id", "app_id", "tenant_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('c9a41dd87eb04b89bbfa6de2b221bb5b', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'c419cf9d3f2d472da6b376bbb07c0f5a', '31f20efc7e0848deab6a6bc10fc3021e', 'Jade', '2025-04-27 11:38:16.181311', 'Jade', '2025-04-28 14:11:01.841006', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('5b3d5cd9e18c462fa026376f3fea968c', 'jadewdnjbq', 'a80ad3fc2f534efaa0d8d9ce712fb959', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('9f708d4d918443d28305d24076b53e7b', 'jadewdnjbq', '2b9f6bf4cc8a4fdf8577f244172bd795', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('e88c66bcc7734a4b8c1c548c906c9887', 'jade6qm5eg', '63053f5ed97b4b3389374fb53f48b622', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('2eed9c8579b240c1b9f70b644033d4e3', 'jade0pg2ag', '8687c7fa1b6b4880a3a0b398d82b435d', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('96bd64f1f5a34159a1b38a65877209db', 'jadewdnjbq', 'bfcf1e4ef3e04e57ab3a0e22cb4c3c6a', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('3c4b023698884a5aa90ae521410b011a', 'jadewdnjbq', '1210169d69fc4a41978677eda6f2fa40', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('7cbd923586e14bdfb54f7bdb481a1747', 'jadewdnjbq', '8e451697002345d5a41d1dc4f05ce8cd', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('0f36c6755c724e4191e5167b6f7ad2c3', 'jadewdnjbq', '957e6742fff1494bb25672a808a420d1', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_config_property" ("id", "node_id", "form_property_id", "config_id", "is_deleted") VALUES ('53a05f767f34412c9b4fd047da831351', NULL, 'a98380a087f245b588c0d90943dae056', 'c9a41dd87eb04b89bbfa6de2b221bb5b', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_flow_graph" ("id", "name", "create_by", "create_at", "update_by", "update_at", "appearance", "is_deleted") VALUES ('7075f47449504e639571887473986da6', 'LLM模板', 'Jade', '2025-04-27 11:38:16.181311', 'Jade', '2025-04-28 14:11:01.841006', '{"id": "7075f47449504e639571887473986da6", "type": "jadeFlowGraph", "pages": [{"x": -961.4761904761909, "y": 116.92460317460332, "id": "elsa-page:tvp1s6", "bold": false, "mode": "configuration", "text": "newFlowPage", "type": "jadeFlowPage", "dirty": true, "index": 0, "width": 1600, "hAlign": "left", "height": 800, "isPage": true, "italic": false, "scaleX": 0.7, "scaleY": 0.7, "shapes": [{"x": 0, "y": 255, "id": "jade6qm5eg", "pad": 6, "bold": false, "text": "开始", "type": "startNodeStart", "dirty": false, "index": 0, "width": 360, "height": 226, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": false, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "startComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2290, "y": 277, "id": "jadesoux5i", "pad": 6, "bold": false, "text": "退出表单结束", "type": "endNodeEnd", "dirty": false, "index": 1, "width": 360, "height": 182, "italic": false, "shadow": "0 2px 4px 0 rgba(0,0,0,.1)", "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Input", "name": "finalOutput", "type": "String", "value": "已退出,请重新开始对话来发起新的知识库配置请求。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c26bf2ca-75b3-4a6f-bc47-132c2e170895", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "flowable", "autoHeight": true, "emphasized": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)", "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 410, "y": 219, "id": "jadecz3u6c", "pad": 6, "bold": false, "text": "查询知识库集列表", "type": "toolInvokeNodeState", "dirty": false, "index": 2, "width": 360, "height": 186, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "aed53a7c-4701-437b-b651-a5ec298dd0cf"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_19b06f68-cea8-4735-b969-0aaf6b116fc0", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_d4892455-0e93-46b5-aa9c-635c4b0c457b", "name": "output", "type": "Array", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 360, "y": 368, "id": "jade89i9gi", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 3, "textX": 0, "textY": 0, "width": 50, "hAlign": "center", "height": -56, "italic": false, "margin": 20, "toShape": "jadecz3u6c", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade6qm5eg", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 820, "y": 275, "id": "jadei19roa", "pad": 6, "bold": false, "text": "查询知识库配置", "type": "toolInvokeNodeState", "dirty": false, "index": 4, "width": 360, "height": 186, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "b04f2abf-8dbc-4103-b652-b26148838981"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_a70ff0a8-b1be-4f17-91d3-43c54336777b", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca", "name": "output", "type": "Array", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 770, "y": 312, "id": "jaderfoxvl", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 5, "textX": 0, "textY": 0, "width": 50, "hAlign": "center", "height": 56, "italic": false, "margin": 20, "toShape": "jadei19roa", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadecz3u6c", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1230, "y": 110.5, "id": "jadec9yzdt", "pad": 6, "bold": false, "text": "人工表单", "type": "manualCheckNodeState", "dirty": false, "index": 6, "width": 360, "height": 243, "italic": false, "flowMeta": {"task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/17b732c9-5272-42a6-a79d-8d0334a8aa19/form.jpeg", "taskId": "aed5570845d440c78ed3326f8482483c", "formName": "知识库管理表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeList_4b685308-6c69-4003-8c15-58206d58f422", "from": "Reference", "name": "knowledgeList", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca", "referenceKey": "output", "referenceNode": "jadei19roa"}, {"id": "knowledgeOptions_ba5502bb-cf76-4a4d-99ee-24c07a6a0168", "from": "Reference", "name": "knowledgeOptions", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_d4892455-0e93-46b5-aa9c-635c4b0c457b", "referenceKey": "output", "referenceNode": "jadecz3u6c"}], "outputParams": [{"id": "output_8f40ac88-0578-40ba-9e1d-d07c9fbd4895", "name": "output", "type": "Object", "value": [{"id": "output_05328f82-59a9-4d1f-b0a5-abdd91b1c50a", "name": "info", "type": "Object", "value": [{"id": "95faeb9f-cb89-4fd8-84e1-b9456c80cb84", "name": "id", "type": "Integer", "value": "Integer"}, {"id": "3eb51995-476d-4042-b837-7bd386a28e11", "name": "name", "type": "String", "value": "String"}, {"id": "d6f2bc5d-5adf-4694-9604-4649da356592", "name": "apiKey", "type": "String", "value": "String"}, {"id": "05d099fd-c5b3-4637-94b1-e2bf54673e2b", "name": "groupId", "type": "String", "value": "String"}, {"id": "21db3893-26dd-4dd6-97c0-89395c9cff39", "name": "isDefault", "type": "Integer", "value": "Integer"}]}, {"id": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "name": "action", "type": "String", "value": "String"}]}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "manual"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "manualCheckComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1180, "y": 368, "id": "jadevfzbzx", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 7, "textX": 0, "textY": 0, "width": 50, "hAlign": "center", "height": -136, "italic": false, "margin": 20, "toShape": "jadec9yzdt", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadei19roa", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 1640, "y": 0, "id": "jadew0e5na", "pad": 6, "bold": false, "text": "条件", "type": "conditionNodeCondition", "dirty": false, "index": 8, "width": 600, "height": 340, "italic": false, "flowMeta": {"joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "1b529270-f576-4482-9e10-829b5efe8f4c", "type": "if", "runnable": true, "conditions": [{"id": "1a238c89-f75b-434b-9db0-113f795b6948", "value": [{"id": "fa891702-7f64-48d2-a826-240f1f32f15a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "ca213caa-aa28-4d92-b8f9-508a31a535c3", "from": "Input", "name": "right", "type": "String", "value": "add", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "3662b75b-dcd5-4d42-b07e-323b540fed2c", "type": "if", "runnable": true, "conditions": [{"id": "eac5bf57-9a2c-46e9-b399-fbb1cf37767b", "value": [{"id": "89441c12-a9fd-4983-bd18-1afc3c9cc3f3", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "73df1184-b2f9-403b-91b2-5be580ad929e", "from": "Input", "name": "right", "type": "String", "value": "delete", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "2a9016e8-dd25-49fd-a20f-8857f53eb5e5", "type": "if", "runnable": true, "conditions": [{"id": "317dbc6b-8d8b-4d1d-acea-7e639435f4ea", "value": [{"id": "4958c0b7-f7f5-4f54-81a2-db350387ea2b", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "0da2406c-d0da-4e0e-a0ca-e6e765fe8fb4", "from": "Input", "name": "right", "type": "String", "value": "edit", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "1c79acc0-7a5d-4fe8-a16e-1393eee702ac", "type": "else", "runnable": true, "conditions": [{"id": "034537e5-252b-4f89-9dd9-3a77a634a6f2", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "conditionComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 1590, "y": 232, "id": "jadec1nmlz", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 9, "textX": 0, "textY": 0, "width": 50, "hAlign": "center", "height": -62, "italic": false, "margin": 20, "toShape": "jadew0e5na", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadec9yzdt", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2290, "y": 499, "id": "jade1s5jcz", "pad": 6, "bold": false, "text": "添加知识库配置", "type": "toolInvokeNodeState", "dirty": false, "index": 10, "width": 360, "height": 186, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "knowledgeConfigDto"}], "return": {"type": "null"}, "uniqueName": "f952e986-a1ee-474d-bd3a-bdf154db58e7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeConfigDto_261d3e3a-dcb8-4c22-a75f-3d3f74cf346c", "from": "Expand", "name": "knowledgeConfigDto", "type": "Object", "props": [{"id": "isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85", "from": "Reference", "name": "isDefault", "type": "Boolean", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e", "from": "Reference", "name": "apiKey", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "groupId_8717c66d-1924-481b-bec5-d86c1424db95", "from": "Reference", "name": "groupId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2", "from": "Reference", "name": "name", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb", "from": "Reference", "name": "id", "type": "Integer", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1", "from": "Reference", "name": "userId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "value": [{"id": "isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85", "from": "Reference", "name": "isDefault", "type": "Integer", "value": ["output", "info", "isDefault"], "isRequired": false, "referenceId": "bf487724-94ab-49ee-b6f0-1e513aba1c56", "referenceKey": "isDefault", "referenceNode": "jadec9yzdt"}, {"id": "apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": false, "referenceId": "6ffe7076-3c40-4635-b212-d346d19e25c6", "referenceKey": "apiKey", "referenceNode": "jadec9yzdt"}, {"id": "groupId_8717c66d-1924-481b-bec5-d86c1424db95", "from": "Reference", "name": "groupId", "type": "String", "value": ["output", "info", "groupId"], "isRequired": false, "referenceId": "a93a03cf-96a4-41c3-be28-253ac3f08db9", "referenceKey": "groupId", "referenceNode": "jadec9yzdt"}, {"id": "name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2", "from": "Reference", "name": "name", "type": "String", "value": ["output", "info", "name"], "isRequired": false, "referenceId": "79f19d08-b670-47ea-9c4e-8cbeb4faafd9", "referenceKey": "name", "referenceNode": "jadec9yzdt"}, {"id": "id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": false, "referenceId": "a41cf4ed-2caf-456f-a725-cd9fdd9e6d09", "referenceKey": "id", "referenceNode": "jadec9yzdt"}, {"id": "userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "isRequired": true, "description": "知识库配置dto", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "outputParams": [{"id": "output_9ae5e3ff-b9bd-4324-8772-11b3e41c13b1", "name": "output", "type": "Null", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 2228.7142508370534, "y": 121.00000653948103, "id": "jadelnyzxr", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 11, "textX": 0, "textY": 0, "width": 61.28574916294656, "hAlign": "center", "height": 470.99999346051897, "italic": false, "margin": 20, "toShape": "jade1s5jcz", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadew0e5na", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-0|1b529270-f576-4482-9e10-829b5efe8f4c"}, {"x": 2292.857142857144, "y": 715.0000000000002, "id": "jadey43fab", "pad": 6, "bold": false, "text": "删除知识库配置", "type": "toolInvokeNodeState", "dirty": false, "index": 12, "width": 360, "height": 186, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "id"}], "return": {"type": "null"}, "uniqueName": "24146b66-2bbe-46a4-848b-1c48057a4ed7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "id_304a6dbf-a9e3-40da-8d9f-99a090d65ec2", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": true, "description": "知识库配置id", "referenceId": "95faeb9f-cb89-4fd8-84e1-b9456c80cb84", "referenceKey": "id", "referenceNode": "jadec9yzdt"}], "outputParams": [{"id": "output_cb31d1c3-94e0-49b9-97ec-4821c259f009", "name": "output", "type": "Null", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2228.7142508370534, "y": 176.99999128069197, "id": "jadetwo6e9", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 13, "textX": 0, "textY": 0, "width": 64.14289202009058, "hAlign": "center", "height": 631.0000087193082, "italic": false, "margin": 20, "toShape": "jadey43fab", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadew0e5na", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-1|3662b75b-dcd5-4d42-b07e-323b540fed2c"}, {"x": 2297.142857142856, "y": 1001.5714285714284, "id": "jadepkkcxc", "pad": 6, "bold": false, "text": "修改知识库配置", "type": "toolInvokeNodeState", "dirty": false, "index": 14, "width": 360, "height": 186, "italic": false, "flowMeta": {"jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "knowledgeConfigDto"}], "return": {"type": "null"}, "uniqueName": "39eea5b4-034a-409a-935a-e9df7736dda8"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeConfigDto_a6cfbc37-5b18-4b23-9d55-b0ba5c66275f", "from": "Expand", "name": "knowledgeConfigDto", "type": "Object", "props": [{"id": "isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138", "from": "Reference", "name": "isDefault", "type": "Boolean", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81", "from": "Reference", "name": "apiKey", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac", "from": "Reference", "name": "groupId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d", "from": "Reference", "name": "name", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "id_12af714a-bb40-4709-a0f8-68c900ef96c6", "from": "Reference", "name": "id", "type": "Integer", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "userId_fe3f0968-e107-4346-9bba-feb235e95e36", "from": "Reference", "name": "userId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "value": [{"id": "isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138", "from": "Reference", "name": "isDefault", "type": "Integer", "value": ["output", "info", "isDefault"], "isRequired": false, "referenceId": "bf487724-94ab-49ee-b6f0-1e513aba1c56", "referenceKey": "isDefault", "referenceNode": "jadec9yzdt"}, {"id": "apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": false, "referenceId": "6ffe7076-3c40-4635-b212-d346d19e25c6", "referenceKey": "apiKey", "referenceNode": "jadec9yzdt"}, {"id": "groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac", "from": "Reference", "name": "groupId", "type": "String", "value": ["output", "info", "groupId"], "isRequired": false, "referenceId": "a93a03cf-96a4-41c3-be28-253ac3f08db9", "referenceKey": "groupId", "referenceNode": "jadec9yzdt"}, {"id": "name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d", "from": "Reference", "name": "name", "type": "String", "value": ["output", "info", "name"], "isRequired": false, "referenceId": "79f19d08-b670-47ea-9c4e-8cbeb4faafd9", "referenceKey": "name", "referenceNode": "jadec9yzdt"}, {"id": "id_12af714a-bb40-4709-a0f8-68c900ef96c6", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": false, "referenceId": "a41cf4ed-2caf-456f-a725-cd9fdd9e6d09", "referenceKey": "id", "referenceNode": "jadec9yzdt"}, {"id": "userId_fe3f0968-e107-4346-9bba-feb235e95e36", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "isRequired": true, "description": "知识库配置dto", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "outputParams": [{"id": "output_112b0398-521f-4e2b-a2db-432d222d8d7b", "name": "output", "type": "Null", "value": []}]}}}, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "toolInvokeComponent", "focusBackColor": "white", "sourcePlatform": "", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 2228.7142508370534, "y": 232.999997820173, "id": "jadeq9kd4e", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 15, "textX": 0, "textY": 0, "width": 68.42860630580253, "hAlign": "center", "height": 861.5714307512554, "italic": false, "margin": 20, "toShape": "jadepkkcxc", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadew0e5na", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-2|2a9016e8-dd25-49fd-a20f-8857f53eb5e5"}, {"x": 2228.7142508370534, "y": 280.0000108991351, "id": "jadecfc196", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 16, "textX": 0, "textY": 0, "width": 61.28574916294656, "hAlign": "center", "height": 87.99998910086492, "italic": false, "margin": 20, "toShape": "jadesoux5i", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadew0e5na", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "dynamic-999"}, {"x": 2700, "y": 501, "id": "jadetxz7va", "pad": 6, "bold": false, "text": "添加知识库配置结束", "type": "endNodeEnd", "dirty": false, "index": 17, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "09653288-b85d-473b-aa07-7f45d5d304c1", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ed672a2c-4646-4159-b1e7-a5bad27f38ba", "from": "Input", "name": "finalOutput", "type": "String", "value": "添加知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "9287a49c-1d31-40d5-aa84-2b41559e5524", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28,31,35,.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderWidth": 1, "mouseInBorderColor": "#B1B1B7"}, {"x": 2650, "y": 592, "id": "jade794yv3", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 18, "textX": 0, "textY": 0, "width": 50, "hAlign": "center", "height": 0, "italic": false, "margin": 20, "toShape": "jadetxz7va", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jade1s5jcz", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2700, "y": 763, "id": "jadeosexw5", "pad": 6, "bold": false, "text": "删除知识库配置结束", "type": "endNodeEnd", "dirty": false, "index": 19, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "e8f6f23e-5cba-48bc-ac8c-7c586f33e829", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "85f62677-cc62-4b96-a72c-adaf98a41586", "from": "Input", "name": "finalOutput", "type": "String", "value": "刪除知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "9de263fe-b145-49ba-b87d-42a8a9f31fcd", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2652.857142857144, "y": 808.0000000000002, "id": "jadetzo1lg", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": true, "index": 20, "textX": 0, "textY": 0, "width": 47.14285714285597, "hAlign": "center", "height": 45.99999999999977, "italic": false, "margin": 20, "toShape": "jadeosexw5", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadey43fab", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}, {"x": 2700, "y": 1025, "id": "jadeyg0z15", "pad": 6, "bold": false, "text": "修改知识库配置结束", "type": "endNodeEnd", "dirty": false, "index": 21, "width": 360, "height": 182, "italic": false, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "7bdd90a5-f510-42f7-be02-e01c34292e04", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "76cd9a71-97e4-46c9-8580-9ae21176ba23", "from": "Input", "name": "finalOutput", "type": "String", "value": "修改知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "eddcd9df-7a1c-4ddf-b49a-01b9b8cf5662", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "triggerMode": "auto"}, "hasError": false, "hideText": true, "moveable": true, "runnable": true, "backColor": "white", "container": "elsa-page:tvp1s6", "dashWidth": 0, "deletable": true, "namespace": "jadeFlow", "autoHeight": true, "emphasized": false, "enableMask": false, "rotateAble": false, "borderColor": "rgba(28, 31, 35, 0.08)", "borderWidth": 1, "runningTask": 0, "triggerMode": "auto", "warningTask": 0, "cornerRadius": 8, "outlineColor": "rgba(74, 147, 255, 0.12)", "outlineWidth": 10, "completedTask": 0, "componentName": "endComponent", "focusBackColor": "white", "sourcePlatform": "official", "enableAnimation": false, "focusBorderColor": "rgb(4, 123, 252)", "focusBorderWidth": 1, "mouseInBorderColor": "rgb(4, 123, 252)"}, {"x": 2657.142857142856, "y": 1094.5714285714284, "id": "jade8je5i3", "pad": 0, "bold": false, "text": "", "type": "jadeEvent", "dirty": false, "index": 22, "textX": 0, "textY": 0, "width": 42.85714285714403, "hAlign": "center", "height": 21.42857142857156, "italic": false, "margin": 20, "toShape": "jadeyg0z15", "endArrow": true, "hideText": true, "lineMode": {"type": "auto_curve"}, "runnable": true, "allowLink": false, "backColor": "white", "container": "elsa-page:tvp1s6", "fromShape": "jadepkkcxc", "lineWidth": 2, "namespace": "elsa", "beginArrow": false, "borderColor": "#B1B1B7", "borderWidth": 1, "curvePoint1": {"x": 0, "y": 0}, "curvePoint2": {"x": 0, "y": 0}, "brokenPoints": [], "endArrowSize": 4, "arrowEndPoint": {"x": 0, "y": 0}, "endArrowEmpty": false, "beginArrowSize": 4, "arrowBeginPoint": {"x": 0, "y": 0}, "beginArrowEmpty": false, "definedToConnector": "W", "mouseInBorderColor": "#B1B1B7", "allowSwitchLineMode": false, "definedFromConnector": "E"}], "vAlign": "top", "itemPad": [0, 0, 0, 0], "division": -1, "dockMode": "none", "fontFace": "arial", "fontSize": 18, "hideText": true, "moveable": true, "shapesAs": {}, "backColor": "#fbfbfc", "container": "elsa-page:tvp1s6", "dockAlign": "top", "fontColor": "#ECD0A7", "fontStyle": "normal", "itemSpace": 5, "namespace": "jadeFlow", "fontWeight": "bold", "itemScroll": {"x": 0, "y": 0}, "borderColor": "white", "focusBackColor": "#fbfbfc"}], "title": "7075f47449504e639571887473986da6", "source": "elsa", "tenant": "31f20efc7e0848deab6a6bc10fc3021e", "setting": {"pad": 10, "tag": {}, "code": "", "pDock": "none", "hAlign": "center", "margin": 25, "shadow": "", "shared": false, "vAlign": "top", "itemPad": [5, 5, 5, 5], "visible": true, "autoText": false, "dockMode": "none", "dragable": true, "editable": true, "fontFace": "arial", "fontSize": 12, "infoType": {"name": "none", "next": "INFORMATION"}, "moveable": true, "priority": 0, "allowLink": true, "autoWidth": false, "backAlpha": 0.15, "backColor": "whitesmoke", "dashWidth": 0, "deletable": true, "fontColor": "steelblue", "fontStyle": "normal", "headColor": "steelblue", "lineWidth": 2, "underline": false, "autoHeight": false, "emphasized": false, "fontWeight": "lighter", "itemScroll": {"x": 0, "y": 0}, "lineHeight": 1.5, "resizeable": true, "rotateAble": true, "scrollLock": {"x": false, "y": false}, "selectable": true, "shadowData": "2px 2px 4px", "borderColor": "#047bfc", "borderWidth": 1, "bulletSpeed": 1, "focusMargin": 0, "focusShadow": "", "globalAlpha": 1, "outstanding": false, "bulletedList": false, "cornerRadius": 4, "enableSocial": true, "mouseInColor": "orange", "numberedList": false, "outlineColor": "rgba(74,147,255,0.12)", "outlineWidth": 10, "rotateDegree": 0, "captionhAlign": "center", "strikethrough": false, "focusBackColor": "whitesmoke", "focusFontColor": "darkorange", "progressStatus": {"name": "NONE", "next": "UNKNOWN", "color": "gray"}, "showedProgress": false, "allNodeNumLimit": 99, "captionfontFace": "arial black", "captionfontSize": 14, "enableAnimation": false, "progressPercent": 0.65, "captionfontColor": "whitesmoke", "captionfontStyle": "normal", "focusBorderColor": "#047bfc", "focusBorderWidth": 1, "mouseInBackColor": "whitesmoke", "mouseInFontColor": "orange", "captionfontWeight": "lighter", "captionlineHeight": 1, "mouseInBorderColor": "#047bfc", "sameTypeNodeNumLimit": 19}, "flowMeta": {"callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}, "enableText": false}', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('2b9f6bf4cc8a4fdf8577f244172bd795', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'ability', 'String', 'null', 'none', 'workflow', '能力配置', 1, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('1210169d69fc4a41978677eda6f2fa40', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'enterWorkflow', 'String', 'null', 'none', 'ability', '进入工作流编排', 2, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('63053f5ed97b4b3389374fb53f48b622', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'chat', 'String', 'null', 'none', 'workflow', '聊天设置', 3, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('bfcf1e4ef3e04e57ab3a0e22cb4c3c6a', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'opening', 'String', '"Hi~你好!"', 'input', 'chat', '开场白', 4, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('a80ad3fc2f534efaa0d8d9ce712fb959', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'workflow', 'String', 'null', 'none', 'null', '工作流编排', 0, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('8687c7fa1b6b4880a3a0b398d82b435d', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'memory', 'List', '["jade6qm5eg","memory"]', 'graph', 'chat', '多轮对话', 5, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('957e6742fff1494bb25672a808a420d1', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'recommend', 'object', '{"showRecommend":false,"list":[]}', 'input', 'chat', '猜你想问', 6, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('8e451697002345d5a41d1dc4f05ce8cd', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'inspiration', 'object', '{"category":[{"title":"root","id":"root","children":[]}],"inspirations":[{"name":"开始配置","description":"当你想要开始配置的时候,请点击。","prompt":"开始配置","promptVarData":[],"category":null,"auto":true,"id":"emgvsx"}],"showInspiration":true}', 'input', 'chat', '创意灵感', 7, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; +INSERT INTO "public"."app_builder_form_property" ("id", "form_id", "name", "data_type", "default_value", "data_from", "in_group", "description", "default_index", "is_deleted", "app_id") VALUES ('a98380a087f245b588c0d90943dae056', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'multimodal', 'object', '{"useMultimodal":true,"maxUploadFilesNum":5,"autoChatOnUpload":false}', 'input', 'chat', '多模态', 8, 0, 'c419cf9d3f2d472da6b376bbb07c0f5a') ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."task_new" ("id", "name", "version", "template_id", "tenant_id", "attributes", "created_by", "created_at", "updated_by", "updated_at", "is_deleted") VALUES ('62b2d37c111e4821a0e1e59b5b694a91', '知识库配置应用', '1.0.0', '5185dad4c8124522a2612c20f8497cf0', '31f20efc7e0848deab6a6bc10fc3021e', '{"app_id": "c419cf9d3f2d472da6b376bbb07c0f5a", "version": "1.0.0", "aipp_type": "NORMAL", "meta_icon": "", "publish_at": "2025-04-28T14:11:19.140470668", "description": "当你想要配置知识库的时候,请使用我!", "meta_status": "active", "unique_name": "4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0", "flow_config_id": "7075f47449504e639571887473986da6", "flow_definition_id": "970b4eaf085d44179df6c505d4f96cc8", "publish_update_log": "", "publish_description": ""}', 'Jade', '2025-04-28 14:11:17.767357', 'Jade', '2025-04-28 14:11:19.15666', 0) ON CONFLICT (id) DO NOTHING; + +INSERT INTO "public"."flow_definition" ("definition_id", "meta_id", "name", "tenant", "version", "status", "graph", "created_by", "created_at") VALUES ('970b4eaf085d44179df6c505d4f96cc8', '7075f47449504e639571887473986da6', '7075f47449504e639571887473986da6', '31f20efc7e0848deab6a6bc10fc3021e', '1.0.0', 'active', '{"name": "7075f47449504e639571887473986da6", "nodes": [{"name": "开始", "type": "startNodeStart", "metaId": "jade6qm5eg", "runnable": true, "inputParams": [{"id": "91138f09-b635-43df-95c6-1fe3d1745829", "from": "Expand", "name": "input", "type": "Object", "value": [{"id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb", "from": "Input", "name": "Question", "type": "String", "value": "", "isVisible": true, "isRequired": true, "description": "这是用户输入的问题。", "displayName": "用户问题", "disableModifiable": true}], "config": [{"allowAdd": true}]}, {"id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6", "from": "Expand", "name": "memory", "type": "Object", "value": [{"id": "a7675623-7fc7-468c-8910-e73c70e5e468", "from": "Input", "name": "memorySwitch", "type": "Boolean", "value": false}, {"id": "cee9a31b-781c-4835-a616-ceed73be22f2", "from": "Input", "name": "type", "type": "String", "value": "ByConversationTurn"}, {"id": "69592622-4291-409d-9d65-9faea83db657", "from": "Input", "name": "value", "type": "Integer", "value": "3"}]}], "triggerMode": "auto"}, {"name": "退出表单结束", "type": "endNodeEnd", "metaId": "jadesoux5i", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "54dab89c-5693-4082-baa7-12c648d812f7", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c", "from": "Input", "name": "finalOutput", "type": "String", "value": "已退出,请重新开始对话来发起新的知识库配置请求。", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "c26bf2ca-75b3-4a6f-bc47-132c2e170895", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"name": "查询知识库集列表", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "aed53a7c-4701-437b-b651-a5ec298dd0cf"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_19b06f68-cea8-4735-b969-0aaf6b116fc0", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_d4892455-0e93-46b5-aa9c-635c4b0c457b", "name": "output", "type": "Array", "value": []}]}}}, "metaId": "jadecz3u6c", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadecz3u6c", "from": "jade6qm5eg", "type": "jadeEvent", "metaId": "jade89i9gi", "runnable": true, "fromConnector": "E"}, {"name": "查询知识库配置", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "userId"}], "return": {"type": "array"}, "uniqueName": "b04f2abf-8dbc-4103-b652-b26148838981"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "userId_a70ff0a8-b1be-4f17-91d3-43c54336777b", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": true, "description": "用户id", "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "outputParams": [{"id": "output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca", "name": "output", "type": "Array", "value": []}]}}}, "metaId": "jadei19roa", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadei19roa", "from": "jadecz3u6c", "type": "jadeEvent", "metaId": "jaderfoxvl", "runnable": true, "fromConnector": "E"}, {"name": "人工表单", "task": {"type": "AIPP_SMART_FORM", "imgUrl": "http://localhost:8001/api/jober/static/smart_form/17b732c9-5272-42a6-a79d-8d0334a8aa19/form.jpeg", "taskId": "aed5570845d440c78ed3326f8482483c", "formName": "知识库管理表单", "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeList_4b685308-6c69-4003-8c15-58206d58f422", "from": "Reference", "name": "knowledgeList", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca", "referenceKey": "output", "referenceNode": "jadei19roa"}, {"id": "knowledgeOptions_ba5502bb-cf76-4a4d-99ee-24c07a6a0168", "from": "Reference", "name": "knowledgeOptions", "type": "Array", "value": ["output"], "isRequired": true, "referenceId": "output_d4892455-0e93-46b5-aa9c-635c4b0c457b", "referenceKey": "output", "referenceNode": "jadecz3u6c"}], "outputParams": [{"id": "output_8f40ac88-0578-40ba-9e1d-d07c9fbd4895", "name": "output", "type": "Object", "value": [{"id": "output_05328f82-59a9-4d1f-b0a5-abdd91b1c50a", "name": "info", "type": "Object", "value": [{"id": "95faeb9f-cb89-4fd8-84e1-b9456c80cb84", "name": "id", "type": "Integer", "value": "Integer"}, {"id": "3eb51995-476d-4042-b837-7bd386a28e11", "name": "name", "type": "String", "value": "String"}, {"id": "d6f2bc5d-5adf-4694-9604-4649da356592", "name": "apiKey", "type": "String", "value": "String"}, {"id": "05d099fd-c5b3-4637-94b1-e2bf54673e2b", "name": "groupId", "type": "String", "value": "String"}, {"id": "21db3893-26dd-4dd6-97c0-89395c9cff39", "name": "isDefault", "type": "Integer", "value": "Integer"}]}, {"id": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "name": "action", "type": "String", "value": "String"}]}]}}}, "type": "manualCheckNodeState", "metaId": "jadec9yzdt", "runnable": true, "triggerMode": "manual"}, {"to": "jadec9yzdt", "from": "jadei19roa", "type": "jadeEvent", "metaId": "jadevfzbzx", "runnable": true, "fromConnector": "E"}, {"name": "条件", "type": "conditionNodeCondition", "metaId": "jadew0e5na", "runnable": true, "triggerMode": "auto", "conditionParams": {"branches": [{"id": "1b529270-f576-4482-9e10-829b5efe8f4c", "type": "if", "runnable": true, "conditions": [{"id": "1a238c89-f75b-434b-9db0-113f795b6948", "value": [{"id": "fa891702-7f64-48d2-a826-240f1f32f15a", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "ca213caa-aa28-4d92-b8f9-508a31a535c3", "from": "Input", "name": "right", "type": "String", "value": "add", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "3662b75b-dcd5-4d42-b07e-323b540fed2c", "type": "if", "runnable": true, "conditions": [{"id": "eac5bf57-9a2c-46e9-b399-fbb1cf37767b", "value": [{"id": "89441c12-a9fd-4983-bd18-1afc3c9cc3f3", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "73df1184-b2f9-403b-91b2-5be580ad929e", "from": "Input", "name": "right", "type": "String", "value": "delete", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "2a9016e8-dd25-49fd-a20f-8857f53eb5e5", "type": "if", "runnable": true, "conditions": [{"id": "317dbc6b-8d8b-4d1d-acea-7e639435f4ea", "value": [{"id": "4958c0b7-f7f5-4f54-81a2-db350387ea2b", "from": "Reference", "name": "left", "type": "String", "value": ["output", "action"], "referenceId": "9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50", "referenceKey": "action", "referenceNode": "jadec9yzdt"}, {"id": "0da2406c-d0da-4e0e-a0ca-e6e765fe8fb4", "from": "Input", "name": "right", "type": "String", "value": "edit", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "condition": "equal"}], "conditionRelation": "and"}, {"id": "1c79acc0-7a5d-4fe8-a16e-1393eee702ac", "type": "else", "runnable": true, "conditions": [{"id": "034537e5-252b-4f89-9dd9-3a77a634a6f2", "value": [], "condition": "true"}], "conditionRelation": "and"}], "jadeNodeConfigChangeIgnored": true}}, {"to": "jadew0e5na", "from": "jadec9yzdt", "type": "jadeEvent", "metaId": "jadec1nmlz", "runnable": true, "fromConnector": "E"}, {"name": "添加知识库配置", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "knowledgeConfigDto"}], "return": {"type": "null"}, "uniqueName": "f952e986-a1ee-474d-bd3a-bdf154db58e7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeConfigDto_261d3e3a-dcb8-4c22-a75f-3d3f74cf346c", "from": "Expand", "name": "knowledgeConfigDto", "type": "Object", "props": [{"id": "isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85", "from": "Reference", "name": "isDefault", "type": "Boolean", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e", "from": "Reference", "name": "apiKey", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "groupId_8717c66d-1924-481b-bec5-d86c1424db95", "from": "Reference", "name": "groupId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2", "from": "Reference", "name": "name", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb", "from": "Reference", "name": "id", "type": "Integer", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1", "from": "Reference", "name": "userId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "value": [{"id": "isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85", "from": "Reference", "name": "isDefault", "type": "Integer", "value": ["output", "info", "isDefault"], "isRequired": false, "referenceId": "bf487724-94ab-49ee-b6f0-1e513aba1c56", "referenceKey": "isDefault", "referenceNode": "jadec9yzdt"}, {"id": "apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": false, "referenceId": "6ffe7076-3c40-4635-b212-d346d19e25c6", "referenceKey": "apiKey", "referenceNode": "jadec9yzdt"}, {"id": "groupId_8717c66d-1924-481b-bec5-d86c1424db95", "from": "Reference", "name": "groupId", "type": "String", "value": ["output", "info", "groupId"], "isRequired": false, "referenceId": "a93a03cf-96a4-41c3-be28-253ac3f08db9", "referenceKey": "groupId", "referenceNode": "jadec9yzdt"}, {"id": "name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2", "from": "Reference", "name": "name", "type": "String", "value": ["output", "info", "name"], "isRequired": false, "referenceId": "79f19d08-b670-47ea-9c4e-8cbeb4faafd9", "referenceKey": "name", "referenceNode": "jadec9yzdt"}, {"id": "id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": false, "referenceId": "a41cf4ed-2caf-456f-a725-cd9fdd9e6d09", "referenceKey": "id", "referenceNode": "jadec9yzdt"}, {"id": "userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "isRequired": true, "description": "知识库配置dto", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "outputParams": [{"id": "output_9ae5e3ff-b9bd-4324-8772-11b3e41c13b1", "name": "output", "type": "Null", "value": []}]}}}, "metaId": "jade1s5jcz", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jade1s5jcz", "from": "jadew0e5na", "type": "jadeEvent", "metaId": "jadelnyzxr", "runnable": true, "fromConnector": "dynamic-0|1b529270-f576-4482-9e10-829b5efe8f4c"}, {"name": "删除知识库配置", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "id"}], "return": {"type": "null"}, "uniqueName": "24146b66-2bbe-46a4-848b-1c48057a4ed7"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "id_304a6dbf-a9e3-40da-8d9f-99a090d65ec2", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": true, "description": "知识库配置id", "referenceId": "95faeb9f-cb89-4fd8-84e1-b9456c80cb84", "referenceKey": "id", "referenceNode": "jadec9yzdt"}], "outputParams": [{"id": "output_cb31d1c3-94e0-49b9-97ec-4821c259f009", "name": "output", "type": "Null", "value": []}]}}}, "metaId": "jadey43fab", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadey43fab", "from": "jadew0e5na", "type": "jadeEvent", "metaId": "jadetwo6e9", "runnable": true, "fromConnector": "dynamic-1|3662b75b-dcd5-4d42-b07e-323b540fed2c"}, {"name": "修改知识库配置", "type": "toolInvokeNodeState", "jober": {"name": "", "type": "STORE_JOBER", "entity": {"params": [{"name": "knowledgeConfigDto"}], "return": {"type": "null"}, "uniqueName": "39eea5b4-034a-409a-935a-e9df7736dda8"}, "fitables": [], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "knowledgeConfigDto_a6cfbc37-5b18-4b23-9d55-b0ba5c66275f", "from": "Expand", "name": "knowledgeConfigDto", "type": "Object", "props": [{"id": "isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138", "from": "Reference", "name": "isDefault", "type": "Boolean", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81", "from": "Reference", "name": "apiKey", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac", "from": "Reference", "name": "groupId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d", "from": "Reference", "name": "name", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "id_12af714a-bb40-4709-a0f8-68c900ef96c6", "from": "Reference", "name": "id", "type": "Integer", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "userId_fe3f0968-e107-4346-9bba-feb235e95e36", "from": "Reference", "name": "userId", "type": "String", "value": [], "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}], "value": [{"id": "isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138", "from": "Reference", "name": "isDefault", "type": "Integer", "value": ["output", "info", "isDefault"], "isRequired": false, "referenceId": "bf487724-94ab-49ee-b6f0-1e513aba1c56", "referenceKey": "isDefault", "referenceNode": "jadec9yzdt"}, {"id": "apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81", "from": "Reference", "name": "apiKey", "type": "String", "value": ["output", "info", "apiKey"], "isRequired": false, "referenceId": "6ffe7076-3c40-4635-b212-d346d19e25c6", "referenceKey": "apiKey", "referenceNode": "jadec9yzdt"}, {"id": "groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac", "from": "Reference", "name": "groupId", "type": "String", "value": ["output", "info", "groupId"], "isRequired": false, "referenceId": "a93a03cf-96a4-41c3-be28-253ac3f08db9", "referenceKey": "groupId", "referenceNode": "jadec9yzdt"}, {"id": "name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d", "from": "Reference", "name": "name", "type": "String", "value": ["output", "info", "name"], "isRequired": false, "referenceId": "79f19d08-b670-47ea-9c4e-8cbeb4faafd9", "referenceKey": "name", "referenceNode": "jadec9yzdt"}, {"id": "id_12af714a-bb40-4709-a0f8-68c900ef96c6", "from": "Reference", "name": "id", "type": "Integer", "value": ["output", "info", "id"], "isRequired": false, "referenceId": "a41cf4ed-2caf-456f-a725-cd9fdd9e6d09", "referenceKey": "id", "referenceNode": "jadec9yzdt"}, {"id": "userId_fe3f0968-e107-4346-9bba-feb235e95e36", "from": "Reference", "name": "userId", "type": "String", "value": ["userId"], "isRequired": false, "referenceId": "userId", "referenceKey": "userId", "referenceNode": "_systemEnv"}], "isRequired": true, "description": "知识库配置dto", "referenceId": "", "referenceKey": "", "referenceNode": ""}], "outputParams": [{"id": "output_112b0398-521f-4e2b-a2db-432d222d8d7b", "name": "output", "type": "Null", "value": []}]}}}, "metaId": "jadepkkcxc", "runnable": true, "joberFilter": {"type": "MINIMUM_SIZE_FILTER", "threshold": 1}, "triggerMode": "auto"}, {"to": "jadepkkcxc", "from": "jadew0e5na", "type": "jadeEvent", "metaId": "jadeq9kd4e", "runnable": true, "fromConnector": "dynamic-2|2a9016e8-dd25-49fd-a20f-8857f53eb5e5"}, {"to": "jadesoux5i", "from": "jadew0e5na", "type": "jadeEvent", "metaId": "jadecfc196", "runnable": true, "fromConnector": "dynamic-999"}, {"name": "添加知识库配置结束", "type": "endNodeEnd", "metaId": "jadetxz7va", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "09653288-b85d-473b-aa07-7f45d5d304c1", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "ed672a2c-4646-4159-b1e7-a5bad27f38ba", "from": "Input", "name": "finalOutput", "type": "String", "value": "添加知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "9287a49c-1d31-40d5-aa84-2b41559e5524", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadetxz7va", "from": "jade1s5jcz", "type": "jadeEvent", "metaId": "jade794yv3", "runnable": true, "fromConnector": "E"}, {"name": "删除知识库配置结束", "type": "endNodeEnd", "metaId": "jadeosexw5", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "e8f6f23e-5cba-48bc-ac8c-7c586f33e829", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "85f62677-cc62-4b96-a72c-adaf98a41586", "from": "Input", "name": "finalOutput", "type": "String", "value": "刪除知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "9de263fe-b145-49ba-b87d-42a8a9f31fcd", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadeosexw5", "from": "jadey43fab", "type": "jadeEvent", "metaId": "jadetzo1lg", "runnable": true, "fromConnector": "E"}, {"name": "修改知识库配置结束", "type": "endNodeEnd", "metaId": "jadeyg0z15", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"], "converter": {"type": "mapping_converter", "entity": {"inputParams": [{"id": "7bdd90a5-f510-42f7-be02-e01c34292e04", "from": "Expand", "name": "finalOutput", "type": "Object", "value": [{"id": "76cd9a71-97e4-46c9-8580-9ae21176ba23", "from": "Input", "name": "finalOutput", "type": "String", "value": "修改知识库配置结束", "editable": true, "isRequired": true, "description": ""}], "editable": false, "isRequired": false, "referenceId": "", "referenceKey": "", "referenceNode": ""}, {"id": "eddcd9df-7a1c-4ddf-b49a-01b9b8cf5662", "from": "Input", "name": "enableLog", "type": "Boolean", "value": true}], "outputParams": [{}]}}}, "runnable": true, "triggerMode": "auto"}, {"to": "jadeyg0z15", "from": "jadepkkcxc", "type": "jadeEvent", "metaId": "jade8je5i3", "runnable": true, "fromConnector": "E"}], "metaId": "7075f47449504e639571887473986da6", "status": "active", "version": "1.0.0", "callback": {"name": "通知回调", "type": "general_callback", "fitables": ["modelengine.fit.jober.fitable.FlowInfoCallback"]}, "enableOutputScope": true, "exceptionFitables": ["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler", "modelengine.fit.jober.fitable.FlowInfoException"]}', 'Jade', '2025-04-28 14:11:17.785057') ON CONFLICT (definition_id) DO NOTHING; + +INSERT INTO "public"."flow_graph" ("id", "version", "tenant", "status", "name", "data", "created_by", "created_at", "updated_by", "updated_at", "previous", "is_deleted") VALUES ('7075f47449504e639571887473986da6', '1.0.0', '31f20efc7e0848deab6a6bc10fc3021e', 'active', '7075f47449504e639571887473986da6', '{"id":"7075f47449504e639571887473986da6","title":"7075f47449504e639571887473986da6","source":"elsa","type":"jadeFlowGraph","tenant":"31f20efc7e0848deab6a6bc10fc3021e","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"name":"none","next":"INFORMATION"},"progressStatus":{"name":"NONE","next":"UNKNOWN","color":"gray"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{},"allNodeNumLimit":99,"sameTypeNodeNumLimit":19,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10},"pages":[{"x":-961.4761904761909,"y":116.92460317460332,"id":"elsa-page:tvp1s6","bold":false,"mode":"configuration","text":"newFlowPage","type":"jadeFlowPage","dirty":true,"index":0,"width":1600,"hAlign":"left","height":800,"isPage":true,"italic":false,"scaleX":0.7,"scaleY":0.7,"vAlign":"top","itemPad":[0,0,0,0],"division":-1,"dockMode":"none","fontFace":"arial","fontSize":18,"hideText":true,"moveable":true,"shapesAs":{},"backColor":"#fbfbfc","container":"elsa-page:tvp1s6","dockAlign":"top","fontColor":"#ECD0A7","fontStyle":"normal","itemSpace":5,"namespace":"jadeFlow","fontWeight":"bold","itemScroll":{"x":0,"y":0},"borderColor":"white","focusBackColor":"#fbfbfc","shapes":[{"x":0,"y":255,"id":"jade6qm5eg","pad":6,"bold":false,"text":"开始","type":"startNodeStart","dirty":false,"index":0,"width":360,"height":226,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","from":"Expand","name":"input","type":"Object","value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","from":"Input","name":"Question","type":"String","value":"","isVisible":true,"isRequired":true,"description":"这是用户输入的问题。","displayName":"用户问题","disableModifiable":true}],"config":[{"allowAdd":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","from":"Expand","name":"memory","type":"Object","value":[{"id":"a7675623-7fc7-468c-8910-e73c70e5e468","from":"Input","name":"memorySwitch","type":"Boolean","value":false},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","from":"Input","name":"type","type":"String","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","from":"Input","name":"value","type":"Integer","value":"3"}]}],"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":false,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"startComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2290,"y":277,"id":"jadesoux5i","pad":6,"bold":false,"text":"退出表单结束","type":"endNodeEnd","dirty":false,"index":1,"width":360,"height":182,"italic":false,"shadow":"0 2px 4px 0 rgba(0,0,0,.1)","flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"54dab89c-5693-4082-baa7-12c648d812f7","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","from":"Input","name":"finalOutput","type":"String","value":"已退出,请重新开始对话来发起新的知识库配置请求。","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"c26bf2ca-75b3-4a6f-bc47-132c2e170895","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"flowable","autoHeight":true,"emphasized":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","mouseInBorderColor":"rgb(4, 123, 252)"},{"x":410,"y":219,"id":"jadecz3u6c","pad":6,"bold":false,"text":"查询知识库集列表","type":"toolInvokeNodeState","dirty":false,"index":2,"width":360,"height":186,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"userId"}],"return":{"type":"array"},"uniqueName":"aed53a7c-4701-437b-b651-a5ec298dd0cf"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"userId_19b06f68-cea8-4735-b969-0aaf6b116fc0","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":false,"description":"用户id","referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"outputParams":[{"id":"output_d4892455-0e93-46b5-aa9c-635c4b0c457b","name":"output","type":"Array","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":360,"y":368,"id":"jade89i9gi","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":3,"textX":0,"textY":0,"width":50,"hAlign":"center","height":-56,"italic":false,"margin":20,"toShape":"jadecz3u6c","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade6qm5eg","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":820,"y":275,"id":"jadei19roa","pad":6,"bold":false,"text":"查询知识库配置","type":"toolInvokeNodeState","dirty":false,"index":4,"width":360,"height":186,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"userId"}],"return":{"type":"array"},"uniqueName":"b04f2abf-8dbc-4103-b652-b26148838981"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"userId_a70ff0a8-b1be-4f17-91d3-43c54336777b","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":true,"description":"用户id","referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"outputParams":[{"id":"output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca","name":"output","type":"Array","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":770,"y":312,"id":"jaderfoxvl","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":5,"textX":0,"textY":0,"width":50,"hAlign":"center","height":56,"italic":false,"margin":20,"toShape":"jadei19roa","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadecz3u6c","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1230,"y":110.5,"id":"jadec9yzdt","pad":6,"bold":false,"text":"人工表单","type":"manualCheckNodeState","dirty":false,"index":6,"width":360,"height":243,"italic":false,"flowMeta":{"task":{"type":"AIPP_SMART_FORM","imgUrl":"http://localhost:8001/api/jober/static/smart_form/17b732c9-5272-42a6-a79d-8d0334a8aa19/form.jpeg","taskId":"aed5570845d440c78ed3326f8482483c","formName":"知识库管理表单","converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"knowledgeList_4b685308-6c69-4003-8c15-58206d58f422","from":"Reference","name":"knowledgeList","type":"Array","value":["output"],"isRequired":true,"referenceId":"output_bbe22a56-e6d2-48eb-b8a2-9aedf5efcbca","referenceKey":"output","referenceNode":"jadei19roa"},{"id":"knowledgeOptions_ba5502bb-cf76-4a4d-99ee-24c07a6a0168","from":"Reference","name":"knowledgeOptions","type":"Array","value":["output"],"isRequired":true,"referenceId":"output_d4892455-0e93-46b5-aa9c-635c4b0c457b","referenceKey":"output","referenceNode":"jadecz3u6c"}],"outputParams":[{"id":"output_8f40ac88-0578-40ba-9e1d-d07c9fbd4895","name":"output","type":"Object","value":[{"id":"output_05328f82-59a9-4d1f-b0a5-abdd91b1c50a","name":"info","type":"Object","value":[{"id":"95faeb9f-cb89-4fd8-84e1-b9456c80cb84","name":"id","type":"Integer","value":"Integer"},{"id":"3eb51995-476d-4042-b837-7bd386a28e11","name":"name","type":"String","value":"String"},{"id":"d6f2bc5d-5adf-4694-9604-4649da356592","name":"apiKey","type":"String","value":"String"},{"id":"05d099fd-c5b3-4637-94b1-e2bf54673e2b","name":"groupId","type":"String","value":"String"},{"id":"21db3893-26dd-4dd6-97c0-89395c9cff39","name":"isDefault","type":"Integer","value":"Integer"}]},{"id":"9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50","name":"action","type":"String","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"manual"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"manualCheckComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1180,"y":368,"id":"jadevfzbzx","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":7,"textX":0,"textY":0,"width":50,"hAlign":"center","height":-136,"italic":false,"margin":20,"toShape":"jadec9yzdt","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadei19roa","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":1640,"y":0,"id":"jadew0e5na","pad":6,"bold":false,"text":"条件","type":"conditionNodeCondition","dirty":false,"index":8,"width":600,"height":340,"italic":false,"flowMeta":{"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto","conditionParams":{"branches":[{"id":"1b529270-f576-4482-9e10-829b5efe8f4c","type":"if","runnable":true,"conditions":[{"id":"1a238c89-f75b-434b-9db0-113f795b6948","value":[{"id":"fa891702-7f64-48d2-a826-240f1f32f15a","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50","referenceKey":"action","referenceNode":"jadec9yzdt"},{"id":"ca213caa-aa28-4d92-b8f9-508a31a535c3","from":"Input","name":"right","type":"String","value":"add","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"3662b75b-dcd5-4d42-b07e-323b540fed2c","type":"if","runnable":true,"conditions":[{"id":"eac5bf57-9a2c-46e9-b399-fbb1cf37767b","value":[{"id":"89441c12-a9fd-4983-bd18-1afc3c9cc3f3","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50","referenceKey":"action","referenceNode":"jadec9yzdt"},{"id":"73df1184-b2f9-403b-91b2-5be580ad929e","from":"Input","name":"right","type":"String","value":"delete","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"2a9016e8-dd25-49fd-a20f-8857f53eb5e5","type":"if","runnable":true,"conditions":[{"id":"317dbc6b-8d8b-4d1d-acea-7e639435f4ea","value":[{"id":"4958c0b7-f7f5-4f54-81a2-db350387ea2b","from":"Reference","name":"left","type":"String","value":["output","action"],"referenceId":"9b5a0c38-1a74-41aa-8b4b-a0a3b2417e50","referenceKey":"action","referenceNode":"jadec9yzdt"},{"id":"0da2406c-d0da-4e0e-a0ca-e6e765fe8fb4","from":"Input","name":"right","type":"String","value":"edit","referenceId":"","referenceKey":"","referenceNode":""}],"condition":"equal"}],"conditionRelation":"and"},{"id":"1c79acc0-7a5d-4fe8-a16e-1393eee702ac","type":"else","runnable":true,"conditions":[{"id":"034537e5-252b-4f89-9dd9-3a77a634a6f2","value":[],"condition":"true"}],"conditionRelation":"and"}],"jadeNodeConfigChangeIgnored":true}},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"conditionComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":1590,"y":232,"id":"jadec1nmlz","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":9,"textX":0,"textY":0,"width":50,"hAlign":"center","height":-62,"italic":false,"margin":20,"toShape":"jadew0e5na","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadec9yzdt","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2290,"y":499,"id":"jade1s5jcz","pad":6,"bold":false,"text":"添加知识库配置","type":"toolInvokeNodeState","dirty":false,"index":10,"width":360,"height":186,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"knowledgeConfigDto"}],"return":{"type":"null"},"uniqueName":"f952e986-a1ee-474d-bd3a-bdf154db58e7"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"knowledgeConfigDto_261d3e3a-dcb8-4c22-a75f-3d3f74cf346c","from":"Expand","name":"knowledgeConfigDto","type":"Object","props":[{"id":"isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85","from":"Reference","name":"isDefault","type":"Boolean","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e","from":"Reference","name":"apiKey","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"groupId_8717c66d-1924-481b-bec5-d86c1424db95","from":"Reference","name":"groupId","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2","from":"Reference","name":"name","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb","from":"Reference","name":"id","type":"Integer","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1","from":"Reference","name":"userId","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""}],"value":[{"id":"isDefault_0519a61d-f087-42ec-a936-3b9e8d8cfc85","from":"Reference","name":"isDefault","type":"Integer","value":["output","info","isDefault"],"isRequired":false,"referenceId":"bf487724-94ab-49ee-b6f0-1e513aba1c56","referenceKey":"isDefault","referenceNode":"jadec9yzdt"},{"id":"apiKey_b70a892d-9e21-4b0b-b1b5-29095c02ee0e","from":"Reference","name":"apiKey","type":"String","value":["output","info","apiKey"],"isRequired":false,"referenceId":"6ffe7076-3c40-4635-b212-d346d19e25c6","referenceKey":"apiKey","referenceNode":"jadec9yzdt"},{"id":"groupId_8717c66d-1924-481b-bec5-d86c1424db95","from":"Reference","name":"groupId","type":"String","value":["output","info","groupId"],"isRequired":false,"referenceId":"a93a03cf-96a4-41c3-be28-253ac3f08db9","referenceKey":"groupId","referenceNode":"jadec9yzdt"},{"id":"name_c3d1f111-e2fc-4e07-a9c8-2847bb76bcf2","from":"Reference","name":"name","type":"String","value":["output","info","name"],"isRequired":false,"referenceId":"79f19d08-b670-47ea-9c4e-8cbeb4faafd9","referenceKey":"name","referenceNode":"jadec9yzdt"},{"id":"id_13e5c2e6-04b3-45d3-83f0-3f93e5f424eb","from":"Reference","name":"id","type":"Integer","value":["output","info","id"],"isRequired":false,"referenceId":"a41cf4ed-2caf-456f-a725-cd9fdd9e6d09","referenceKey":"id","referenceNode":"jadec9yzdt"},{"id":"userId_5ef13e2a-83df-4ec8-8a01-c3eb535cdbe1","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":false,"referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"isRequired":true,"description":"知识库配置dto","referenceId":"","referenceKey":"","referenceNode":""}],"outputParams":[{"id":"output_9ae5e3ff-b9bd-4324-8772-11b3e41c13b1","name":"output","type":"Null","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":2228.7142508370534,"y":121.00000653948103,"id":"jadelnyzxr","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":11,"textX":0,"textY":0,"width":61.28574916294656,"hAlign":"center","height":470.99999346051897,"italic":false,"margin":20,"toShape":"jade1s5jcz","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadew0e5na","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-0|1b529270-f576-4482-9e10-829b5efe8f4c"},{"x":2292.857142857144,"y":715.0000000000002,"id":"jadey43fab","pad":6,"bold":false,"text":"删除知识库配置","type":"toolInvokeNodeState","dirty":false,"index":12,"width":360,"height":186,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"id"}],"return":{"type":"null"},"uniqueName":"24146b66-2bbe-46a4-848b-1c48057a4ed7"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"id_304a6dbf-a9e3-40da-8d9f-99a090d65ec2","from":"Reference","name":"id","type":"Integer","value":["output","info","id"],"isRequired":true,"description":"知识库配置id","referenceId":"95faeb9f-cb89-4fd8-84e1-b9456c80cb84","referenceKey":"id","referenceNode":"jadec9yzdt"}],"outputParams":[{"id":"output_cb31d1c3-94e0-49b9-97ec-4821c259f009","name":"output","type":"Null","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2228.7142508370534,"y":176.99999128069197,"id":"jadetwo6e9","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":13,"textX":0,"textY":0,"width":64.14289202009058,"hAlign":"center","height":631.0000087193082,"italic":false,"margin":20,"toShape":"jadey43fab","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadew0e5na","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-1|3662b75b-dcd5-4d42-b07e-323b540fed2c"},{"x":2297.142857142856,"y":1001.5714285714284,"id":"jadepkkcxc","pad":6,"bold":false,"text":"修改知识库配置","type":"toolInvokeNodeState","dirty":false,"index":14,"width":360,"height":186,"italic":false,"flowMeta":{"jober":{"name":"","type":"STORE_JOBER","entity":{"params":[{"name":"knowledgeConfigDto"}],"return":{"type":"null"},"uniqueName":"39eea5b4-034a-409a-935a-e9df7736dda8"},"fitables":[],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"knowledgeConfigDto_a6cfbc37-5b18-4b23-9d55-b0ba5c66275f","from":"Expand","name":"knowledgeConfigDto","type":"Object","props":[{"id":"isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138","from":"Reference","name":"isDefault","type":"Boolean","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81","from":"Reference","name":"apiKey","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac","from":"Reference","name":"groupId","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d","from":"Reference","name":"name","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"id_12af714a-bb40-4709-a0f8-68c900ef96c6","from":"Reference","name":"id","type":"Integer","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"userId_fe3f0968-e107-4346-9bba-feb235e95e36","from":"Reference","name":"userId","type":"String","value":[],"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""}],"value":[{"id":"isDefault_829e8f21-d2a9-400f-a397-1f61a63bc138","from":"Reference","name":"isDefault","type":"Integer","value":["output","info","isDefault"],"isRequired":false,"referenceId":"bf487724-94ab-49ee-b6f0-1e513aba1c56","referenceKey":"isDefault","referenceNode":"jadec9yzdt"},{"id":"apiKey_cb882d6f-fa7f-4af8-8506-f7f38d47fd81","from":"Reference","name":"apiKey","type":"String","value":["output","info","apiKey"],"isRequired":false,"referenceId":"6ffe7076-3c40-4635-b212-d346d19e25c6","referenceKey":"apiKey","referenceNode":"jadec9yzdt"},{"id":"groupId_fad4545f-0acc-4107-a03b-e1ad4b34efac","from":"Reference","name":"groupId","type":"String","value":["output","info","groupId"],"isRequired":false,"referenceId":"a93a03cf-96a4-41c3-be28-253ac3f08db9","referenceKey":"groupId","referenceNode":"jadec9yzdt"},{"id":"name_b6a7768b-41ef-48e7-b8bb-a33f59f8e97d","from":"Reference","name":"name","type":"String","value":["output","info","name"],"isRequired":false,"referenceId":"79f19d08-b670-47ea-9c4e-8cbeb4faafd9","referenceKey":"name","referenceNode":"jadec9yzdt"},{"id":"id_12af714a-bb40-4709-a0f8-68c900ef96c6","from":"Reference","name":"id","type":"Integer","value":["output","info","id"],"isRequired":false,"referenceId":"a41cf4ed-2caf-456f-a725-cd9fdd9e6d09","referenceKey":"id","referenceNode":"jadec9yzdt"},{"id":"userId_fe3f0968-e107-4346-9bba-feb235e95e36","from":"Reference","name":"userId","type":"String","value":["userId"],"isRequired":false,"referenceId":"userId","referenceKey":"userId","referenceNode":"_systemEnv"}],"isRequired":true,"description":"知识库配置dto","referenceId":"","referenceKey":"","referenceNode":""}],"outputParams":[{"id":"output_112b0398-521f-4e2b-a2db-432d222d8d7b","name":"output","type":"Null","value":[]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"toolInvokeComponent","focusBackColor":"white","sourcePlatform":"","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":2228.7142508370534,"y":232.999997820173,"id":"jadeq9kd4e","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":15,"textX":0,"textY":0,"width":68.42860630580253,"hAlign":"center","height":861.5714307512554,"italic":false,"margin":20,"toShape":"jadepkkcxc","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadew0e5na","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-2|2a9016e8-dd25-49fd-a20f-8857f53eb5e5"},{"x":2228.7142508370534,"y":280.0000108991351,"id":"jadecfc196","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":16,"textX":0,"textY":0,"width":61.28574916294656,"hAlign":"center","height":87.99998910086492,"italic":false,"margin":20,"toShape":"jadesoux5i","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadew0e5na","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"dynamic-999"},{"x":2700,"y":501,"id":"jadetxz7va","pad":6,"bold":false,"text":"添加知识库配置结束","type":"endNodeEnd","dirty":false,"index":17,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"09653288-b85d-473b-aa07-7f45d5d304c1","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"ed672a2c-4646-4159-b1e7-a5bad27f38ba","from":"Input","name":"finalOutput","type":"String","value":"添加知识库配置结束","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"9287a49c-1d31-40d5-aa84-2b41559e5524","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28,31,35,.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74,147,255,0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderWidth":1,"mouseInBorderColor":"#B1B1B7"},{"x":2650,"y":592,"id":"jade794yv3","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":18,"textX":0,"textY":0,"width":50,"hAlign":"center","height":0,"italic":false,"margin":20,"toShape":"jadetxz7va","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jade1s5jcz","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2700,"y":763,"id":"jadeosexw5","pad":6,"bold":false,"text":"删除知识库配置结束","type":"endNodeEnd","dirty":false,"index":19,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"e8f6f23e-5cba-48bc-ac8c-7c586f33e829","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"85f62677-cc62-4b96-a72c-adaf98a41586","from":"Input","name":"finalOutput","type":"String","value":"刪除知识库配置结束","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"9de263fe-b145-49ba-b87d-42a8a9f31fcd","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2652.857142857144,"y":808.0000000000002,"id":"jadetzo1lg","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":true,"index":20,"textX":0,"textY":0,"width":47.14285714285597,"hAlign":"center","height":45.99999999999977,"italic":false,"margin":20,"toShape":"jadeosexw5","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadey43fab","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"},{"x":2700,"y":1025,"id":"jadeyg0z15","pad":6,"bold":false,"text":"修改知识库配置结束","type":"endNodeEnd","dirty":false,"index":21,"width":360,"height":182,"italic":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"7bdd90a5-f510-42f7-be02-e01c34292e04","from":"Expand","name":"finalOutput","type":"Object","value":[{"id":"76cd9a71-97e4-46c9-8580-9ae21176ba23","from":"Input","name":"finalOutput","type":"String","value":"修改知识库配置结束","editable":true,"isRequired":true,"description":""}],"editable":false,"isRequired":false,"referenceId":"","referenceKey":"","referenceNode":""},{"id":"eddcd9df-7a1c-4ddf-b49a-01b9b8cf5662","from":"Input","name":"enableLog","type":"Boolean","value":true}],"outputParams":[{}]}}},"triggerMode":"auto"},"hasError":false,"hideText":true,"moveable":true,"runnable":true,"backColor":"white","container":"elsa-page:tvp1s6","dashWidth":0,"deletable":true,"namespace":"jadeFlow","autoHeight":true,"emphasized":false,"enableMask":false,"rotateAble":false,"borderColor":"rgba(28, 31, 35, 0.08)","borderWidth":1,"runningTask":0,"triggerMode":"auto","warningTask":0,"cornerRadius":8,"outlineColor":"rgba(74, 147, 255, 0.12)","outlineWidth":10,"completedTask":0,"componentName":"endComponent","focusBackColor":"white","sourcePlatform":"official","enableAnimation":false,"focusBorderColor":"rgb(4, 123, 252)","focusBorderWidth":1,"mouseInBorderColor":"rgb(4, 123, 252)"},{"x":2657.142857142856,"y":1094.5714285714284,"id":"jade8je5i3","pad":0,"bold":false,"text":"","type":"jadeEvent","dirty":false,"index":22,"textX":0,"textY":0,"width":42.85714285714403,"hAlign":"center","height":21.42857142857156,"italic":false,"margin":20,"toShape":"jadeyg0z15","endArrow":true,"hideText":true,"lineMode":{"type":"auto_curve"},"runnable":true,"allowLink":false,"backColor":"white","container":"elsa-page:tvp1s6","fromShape":"jadepkkcxc","lineWidth":2,"namespace":"elsa","beginArrow":false,"borderColor":"#B1B1B7","borderWidth":1,"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"endArrowSize":4,"arrowEndPoint":{"x":0,"y":0},"endArrowEmpty":false,"beginArrowSize":4,"arrowBeginPoint":{"x":0,"y":0},"beginArrowEmpty":false,"definedToConnector":"W","mouseInBorderColor":"#B1B1B7","allowSwitchLineMode":false,"definedFromConnector":"E"}]}],"enableText":false,"flowMeta":{"callback":{"name":"通知回调","type":"general_callback","fitables":["modelengine.fit.jober.fitable.FlowInfoCallback"]},"enableOutputScope":true,"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler","modelengine.fit.jober.fitable.FlowInfoException"]},"version":"1.0.0"}', 'Jade', '2025-04-28 14:11:17.230199', 'Jade', '2025-04-28 14:11:17.789046', NULL, 'f') ON CONFLICT (id, version) DO NOTHING; + +INSERT INTO "public"."store_app" ("like_count", "download_count", "source", "icon", "app_category", "tool_name", "tool_unique_name") VALUES (0, 0, 'system', '', 'chatbot', '知识库配置应用', '4ff18263-7cc1-40fc-bd96-4c0ee9eb3af0') ON CONFLICT ("tool_unique_name") DO NOTHING; + + diff --git a/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/aipp_user_knowledge.sql b/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/schema/create_tables/aipp_user_knowledge.sql similarity index 92% rename from app-knowledge/plugins/knowledge-manager/src/main/resources/sql/aipp_user_knowledge.sql rename to app-knowledge/plugins/knowledge-manager/src/main/resources/sql/schema/create_tables/aipp_user_knowledge.sql index ce303addb3..adbf5133ad 100644 --- a/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/aipp_user_knowledge.sql +++ b/app-knowledge/plugins/knowledge-manager/src/main/resources/sql/schema/create_tables/aipp_user_knowledge.sql @@ -1,8 +1,8 @@ create table if not exists t_app_engine_user_knowledge ( "id" bigserial primary key not null, - "created_at" timestamp(9) default current_timestamp not null, - "updated_at" timestamp(9) default current_timestamp not null, + "created_at" timestamp default current_timestamp not null, + "updated_at" timestamp default current_timestamp not null, "created_by" varchar(64) default 'system' not null, "updated_by" varchar(64) default 'system' not null, "user_id" varchar(64) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition-group.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition-group.sql similarity index 89% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition-group.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition-group.sql index 39ad7cb27d..931444eacd 100644 --- a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition-group.sql +++ b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition-group.sql @@ -4,8 +4,8 @@ begin create table if not exists store_definition_group ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition.sql similarity index 88% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition.sql index 35581cc760..12523a5537 100644 --- a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/definition.sql +++ b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/definition.sql @@ -4,8 +4,8 @@ begin create table if not exists store_definition ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema-tool.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-tool.sql similarity index 93% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema-tool.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-tool.sql index f2342680a2..609a497a51 100644 --- a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema-tool.sql +++ b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-tool.sql @@ -4,8 +4,8 @@ begin create table if not exists store_tool ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/tool-group.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/tool-group.sql similarity index 90% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/tool-group.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/tool-group.sql index 315153a19e..f20da9132f 100644 --- a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/tool-group.sql +++ b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/create_tables/tool-group.sql @@ -4,8 +4,8 @@ begin create table if not exists store_tool_group ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/function.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/function/function.sql similarity index 100% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/function.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/function/function.sql diff --git a/carver/plugins/tool-repository-postgresql/src/main/resources/sql/trigger-tool.sql b/carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-tool.sql similarity index 100% rename from carver/plugins/tool-repository-postgresql/src/main/resources/sql/trigger-tool.sql rename to carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-tool.sql diff --git a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition-group.sql b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition-group.sql index a937fc3907..0b787bd017 100644 --- a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition-group.sql +++ b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition-group.sql @@ -3,8 +3,8 @@ drop table if exists store_definition_group; create table if not exists store_definition_group ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition.sql b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition.sql index e22266fb7f..c11b9648e9 100644 --- a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition.sql +++ b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/definition.sql @@ -3,8 +3,8 @@ drop table if exists store_definition; create table if not exists store_definition ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool-group.sql b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool-group.sql index 328a54bfa5..c69a89c5c0 100644 --- a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool-group.sql +++ b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool-group.sql @@ -3,8 +3,8 @@ drop table if exists store_tool_group; create table if not exists store_tool_group ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool.sql b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool.sql index a0e24ec7d5..8049f0429f 100644 --- a/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool.sql +++ b/carver/plugins/tool-repository-postgresql/src/test/resources/sql/create/tool.sql @@ -3,8 +3,8 @@ drop table if exists store_tool; create table if not exists store_tool ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null, diff --git a/examples/app-demo/sql/insert.sql b/examples/app-demo/sql/insert.sql deleted file mode 100644 index 1afb0b09aa..0000000000 --- a/examples/app-demo/sql/insert.sql +++ /dev/null @@ -1,45 +0,0 @@ -INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") -VALUES ('AI简历解析插件', - '{"name":"AI简历解析插件","description":"解析简历内容,填充提示词模板,输出大模型提示词","parameters":{"type":"object","properties":{"fileUrl":{"type":"string","description":"简历文件URL"},"instanceId":{"type":"string","description":"实例ID"}},"required":["fileUrl","instanceId"]},"order":["fileUrl","instanceId"],"return":{"description":"Map结构包含提示词,插件处理过文件的标志位以及错误信息","type":"object","properties":{"isFileHandled":{"type":"boolean"},"cvAnalyzerPrompt":{"type":"string"},"errorMessage":{"type":"string"}},"converter":""}}', - '{"FIT":{"fitableId":"cv.analyzer","genericableId":"modelengine.fit.jober.aipp.tool.cv.analyzer"}}', - '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', - '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', - '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8') ON CONFLICT ("unique_name", "version") DO NOTHING; -INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") -VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', - '{"name":"AI简历解析插件","description":"解析简历内容,填充提示词模板,输出大模型提示词","parameters":{"type":"object","properties":{"fileUrl":{"type":"string","description":"简历文件URL"},"instanceId":{"type":"string","description":"实例ID"}},"required":["fileUrl","instanceId"]},"order":["fileUrl","instanceId"],"return":{"description":"Map结构包含提示词,插件处理过文件的标志位以及错误信息","type":"object","properties":{"isFileHandled":{"type":"boolean"},"cvAnalyzerPrompt":{"type":"string"},"errorMessage":{"type":"string"}},"converter":""}}', - '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8') ON CONFLICT ("definition_group_name", "name") DO NOTHING; -INSERT INTO "public"."store_tag" ("tool_unique_name", "name") -VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; -INSERT INTO "public"."store_tag" ("tool_unique_name", "name") -VALUES ('8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', 'BUILTIN') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; -INSERT INTO "public"."store_plugin_tool" ("tool_name", "tool_unique_name", "plugin_id") -VALUES ('AI简历解析插件', '8b7e54b7-ce07-40ed-ad93-5d608aa8f6d8', - 'f13a2bd6bdb5afdb2ce166fb2da6c445057b7e092791c743f9b8238dd78a62dd') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; -INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") -VALUES ('f13a2bd6bdb5afdb2ce166fb2da6c445057b7e092791c743f9b8238dd78a62dd', 'AI简历解析插件', - '{"artifactId":"aipp-plugin","groupId":"modelengine.fit.jober","checksum":"aba5bd4a9ad359ede54794a189d36a2e77c6d611af6a4aef6c63bbd588c61b24","type":"java","description":"AI简历解析插件","pluginFullName":"aipp-plugin-0.1.0-SNAPSHOT_1726059364182.jar","pluginName":"AI简历解析插件"}', - 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; - - - -INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") -VALUES ('AI提示词拼接工具', - '{"name":"AI提示词拼接工具","description":"这是一个对用户输入提示词进行拼接的工具。","parameters":{"type":"object","properties":{"appId":{"type":"string","description":"应用ID"},"instanceId":{"type":"string","description":"实例ID"},"input":{"type":"string","description":"用户输入"}},"required":["appId","instanceId","input"],"order":["appId","instanceId","input"]},"return":{"type":"string"}}', - '{"FIT":{"genericableId":"modelengine.fit.jober.aipp.tool.prompt.word.splice","fitableId":"prompt.word.splice","alias":"prompt.word.splice"}}', - 'bdc009dc-969e-4839-b5d7-e9599009d50d', - 'bdc009dc-969e-4839-b5d7-e9599009d50d', 'bdc009dc-969e-4839-b5d7-e9599009d50d', - 'bdc009dc-969e-4839-b5d7-e9599009d50d') ON CONFLICT ("unique_name", "version") DO NOTHING; -INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") -VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', - '{"name":"AI提示词拼接工具","description":"这是一个对用户输入提示词进行拼接的工具。","parameters":{"type":"object","properties":{"appId":{"type":"string","description":"应用ID"},"instanceId":{"type":"string","description":"实例ID"},"input":{"type":"string","description":"用户输入"}},"required":["appId","instanceId","input"],"order":["appId","instanceId","input"]},"return":{"type":"string"}}', - 'bdc009dc-969e-4839-b5d7-e9599009d50d') ON CONFLICT ("definition_group_name", "name") DO NOTHING; -INSERT INTO "public"."store_tag" ("tool_unique_name", "name") -VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; -INSERT INTO "public"."store_tag" ("tool_unique_name", "name") -VALUES ('bdc009dc-969e-4839-b5d7-e9599009d50d', 'BUILTIN') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; -INSERT INTO "public"."store_plugin_tool" ("tool_name", "tool_unique_name", "plugin_id") -VALUES ('AI提示词拼接工具', 'bdc009dc-969e-4839-b5d7-e9599009d50d', - 'eb5adfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce8') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; -INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") -VALUES ('eb5adfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce8', 'AI提示词拼接工具', '{}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; \ No newline at end of file diff --git a/shell/sql_exec.sh b/shell/sql_exec.sh new file mode 100644 index 0000000000..e3f0c9abfb --- /dev/null +++ b/shell/sql_exec.sh @@ -0,0 +1,214 @@ +#!/bin/bash + +directory="./sql" # 替换为实际目录路径 + +# 创建目录(若不存在) +mkdir -p "$directory" + +# 清空目录内容(仅在目录存在时执行) +if [ -d "$directory" ]; then + find "$directory" -mindepth 1 -delete +fi + +mkdir -p "$directory/schema" +mkdir -p "$directory/data" + +# app plugin相关sql语句 +app_plugin_schema_sql_list=$(find ../app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/schema -name "*.sql") +echo "${app_plugin_schema_sql_list}" +for i in ${app_plugin_schema_sql_list} +do + cp "$i" sql/schema +done + +app_plugin_data_sql_list=$(find ../app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data -name "*.sql") +echo "${app_plugin_data_sql_list}" +for i in ${app_plugin_data_sql_list} +do + cp "$i" sql/data +done + +# store相关sql语句 +store_schema_sql_list=$(find ../carver/plugins/tool-repository-postgresql/src/main/resources/sql/schema -name "*.sql") +echo "${store_schema_sql_list}" +for i in ${store_schema_sql_list} +do + cp "$i" sql/schema +done + +store_schema_sql_list_task=$(find ../store/plugins/store-repository-postgresql/src/main/resources/sql/schema -name "*.sql") +echo "${store_schema_sql_list_task}" +for i in ${store_schema_sql_list_task} +do + cp "$i" sql/schema +done + +store_data_sql_list_task=$(find ../store/plugins/store-repository-postgresql/src/main/resources/sql/data -name "*.sql") +echo "${store_data_sql_list_task}" +for i in ${store_data_sql_list_task} +do + cp "$i" sql/data +done + +# app-engine-announcement 相关sql 脚本 +app_announcement_schema_sql_list=$(find ../app-engine/plugins/app-announcement/src/main/resources/sql/schema -name "*.sql") +echo "${app_announcement_schema_sql_list}" +for i in ${app_announcement_schema_sql_list} +do + cp "$i" sql/schema +done + +# app-engine-metrics 相关sql 脚本 +app_metrics_schema_sql_list=$(find ../app-engine/plugins/app-metrics/src/main/resources/sql/schema -name "*.sql") +echo "${app_metrics_schema_sql_list}" +for i in ${app_metrics_schema_sql_list} +do + cp "$i" sql/schema +done + +app_base_schema_sql_list=$(find ../app-engine/plugins/app-base/src/main/resources/sql/schema -name "*.sql") +echo "${app_base_schema_sql_list}" +for i in ${app_base_schema_sql_list} +do + cp "$i" sql/schema +done + +# app-eval 相关 sql 脚本 +eval_dataset_schema_sql_list=$(find ../app-eval/plugins/eval-dataset/src/main/resources/sql/schema -name "*.sql") +echo "${eval_dataset_schema_sql_list}" +for i in ${eval_dataset_schema_sql_list} +do + cp "$i" sql/schema +done + +eval_task_schema_sql_list=$(find ../app-eval/plugins/eval-task/src/main/resources/sql/schema -name "*.sql") +echo "${eval_task_schema_sql_list}" +for i in ${eval_task_schema_sql_list} +do + cp "$i" sql/schema +done + +app_worker_schema_sql_list=$(find ../app-eval/plugins/simple-uid-generator/src/main/resources/sql/schema -name "*.sql") +echo "${app_worker_schema_sql_list}" +for i in ${app_worker_schema_sql_list} +do + cp "$i" sql/schema +done + +# 自定义模型相关 sql 脚本 +app_model_center_schema_sql_list=$(find ../app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/schema -name "*.sql") +echo "${app_model_center_schema_sql_list}" +for i in ${app_model_center_schema_sql_list} +do + cp "$i" sql/schema +done + +app_model_center_data_sql_list=$(find ../app-builder/plugins/aipp-custom-model-center/src/main/resources/sql/data -name "*.sql") +echo "${app_model_center_data_sql_list}" +for i in ${app_model_center_data_sql_list} +do + cp "$i" sql/data +done + +# 自定义知识库相关 sql 脚本 +app_knowledge_schema_sql_list=$(find ../app-knowledge/plugins/knowledge-manager/src/main/resources/sql/schema -name "*.sql") +echo "${app_knowledge_schema_sql_list}" +for i in ${app_knowledge_schema_sql_list} +do + cp "$i" sql/schema +done + +app_knowledge_data_sql_list=$(find ../app-knowledge/plugins/knowledge-manager/src/main/resources/sql/data -name "*.sql") +echo "${app_knowledge_data_sql_list}" +for i in ${app_knowledge_data_sql_list} +do + cp "$i" sql/data +done + +# wenjie 相关 sql 脚本 +app_wenjie_data_sql_list=$(find ../app-builder/plugins/plugins-show-case-parent/aito-data/src/main/resources/sql/data -name "*.sql") +echo "${app_wenjie_data_sql_list}" +for i in ${app_wenjie_data_sql_list} +do + cp "$i" sql/data +done + +DB_HOST=$1 +DB_PORT=$2 +DB_USER=$3 +SCHEMA_SQL_DIR=sql/schema +DATA_SQL_DIR=sql/data +DB_NAME=app_builder + +export PGPASSWORD=$4 +export PGCLIENTENCODING="utf8" + +# 检查变量是否设置 +if [ -z "$DB_HOST" ]; then + echo "数据库主机名未配置" + exit 1 +fi +if [ -z "$DB_PORT" ]; then + echo "数据库端口未配置" + exit 1 +fi +if [ -z "$DB_USER" ]; then + echo "数据库用户未配置" + exit 1 +fi +if [ -z "$PGPASSWORD" ]; then + echo "数据库密码未配置" + exit 1 +fi + +# 尝试连接数据库 +while true +do + psql -h ${DB_HOST} -p ${DB_PORT} -U ${DB_USER} -c "\dn" + if [ "$?" -eq 0 ];then + if [ "$( psql -h ${DB_HOST} -p ${DB_PORT} -U ${DB_USER} -c "SELECT 1 FROM pg_database WHERE datname='${DB_NAME}'" )" = '1' ];then + echo "Database ${DB_NAME} already exists" + else + psql -h ${DB_HOST} -p ${DB_PORT} -U ${DB_USER} -c "CREATE DATABASE ${DB_NAME};" + echo "Database ${DB_NAME} already created" + fi + echo "Connect ${DB_HOST} success and check db ${DB_NAME} is exists" + break + fi + + sleep 1 +done +echo "----------------" + +if [ ! -z "${SCHEMA_SQL_DIR}" ]; then + files=$(ls ${SCHEMA_SQL_DIR}/*.sql | sort) + for sql_file in $files;do + echo "Executing $sql_file..." + # 执行 schema 相关的 sql 文件 + psql -h ${DB_HOST} -p ${DB_PORT} -U ${DB_USER} -d ${DB_NAME} -f ${sql_file} -v ON_ERROR_STOP=1 + if [ "$?" -ne 0 ]; then + echo "Error: executing $sql_file failed" + exit 1 + fi + done +fi +echo "----------------" + +if [ ! -z "${DATA_SQL_DIR}" ]; then + files=$(ls ${DATA_SQL_DIR}/*.sql | sort) + for sql_file in $files;do + echo "Executing $sql_file..." + # 执行 data 相关的 sql 文件 + psql -h ${DB_HOST} -p ${DB_PORT} -U ${DB_USER} -d ${DB_NAME} -f ${sql_file} -v ON_ERROR_STOP=1 + if [ "$?" -ne 0 ]; then + echo "Error: executing $sql_file failed" + exit 1 + fi + done +fi +echo "----------------" + +echo "Completed init DB ${DB_NAME}" +exit 0 + + diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/data/tr_init_tools.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/data/tr_init_tools.sql new file mode 100644 index 0000000000..1845202c36 --- /dev/null +++ b/store/plugins/store-repository-postgresql/src/main/resources/sql/data/tr_init_tools.sql @@ -0,0 +1,188 @@ +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('应用创建工具', '{"name":"应用创建工具","description":"这是一个用于应用创建的工具。","parameters":{"type":"object","properties":{"appInfo":{"type":"string","description":"应用创建的信息。"},"userId": {"type": "string","description": "应用id。"}},"required":["appInfo","userId"]},"order":["appInfo","userId"],"return":{"type":"string"}}', '{"FIT":{"fitableId":"default","genericableId":"modelengine.fit.jober.aipp.tool.create.app"}}', '1afdab63-62e3-4965-ac91-a7a66099f068', 'application-create-tool-group-name', 'application-create-tool-def-name', 'application-create-tool-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-create-tool-def-name', '{"name":"应用创建工具","description":"这是一个用于应用创建的工具。","parameters":{"type":"object","properties":{"appInfo":{"type":"string","description":"应用创建的信息。"},"userId": {"type": "string","description": "应用id。"}},"required":["appInfo","userId"]},"order":["appInfo","userId"],"return":{"type":"string"}}', 'application-create-tool-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('1afdab63-62e3-4965-ac91-a7a66099f068', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('1afdab63-62e3-4965-ac91-a7a66099f068', 'BUILTIN') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "is_builtin") VALUES ('1256dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '应用创建工具', '{"name":"应用创建工具","version":"1.0.0","type":"python","description":"","pluginFullName":"python_plugin3.zip"}', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('应用创建工具', '1256dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '1afdab63-62e3-4965-ac91-a7a66099f068') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('创建应用', '{"fitableId":"water.flow.invoke","name":"创建应用","description":"根据用户问题智能生成应用配置信息,并自动创建应用,支持创建助手、数字人、智能体、机器人等。","manualIntervention":true,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"a35828ed08974b1b96be55f4e0f47bbe","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"traceId":{"type":"string"},"callbackId":{"type":"string"},"query":{"type":"String","description":"这是用户输入的问题"}}},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"order":["tenantId","aippId","version","inputParams"],"return":{"type":"string"}}', '{"FIT":{"fitableId": "water.flow.invoke","genericableId":"07b51bd246594c159d403164369ce1db"},"APP":{"appId":"4a1d6b117b7d4c8f8c5b6c3358608c9c"}}', 'c04cee50-13e4-499b-a008-077459a2e552', 'application-create-app-group-name', 'application-create-app-def-name', 'application-create-app-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-create-app-def-name', '{"fitableId":"water.flow.invoke","name":"创建应用","description":"根据用户问题智能生成应用配置信息,并自动创建应用,支持创建助手、数字人、智能体、机器人等。","manualIntervention":true,"parameters":{"type":"object","properties":{"aippId":{"description":"the aipp id of the waterFlow tool","default":"a35828ed08974b1b96be55f4e0f47bbe","type":"string"},"tenantId":{"description":"the tenant id of the waterFlow tool","default":"31f20efc7e0848deab6a6bc10fc3021e","type":"string"},"inputParams":{"type":"object","properties":{"traceId":{"type":"string"},"callbackId":{"type":"string"},"query":{"type":"String","description":"这是用户输入的问题"}}},"version":{"description":"the aipp version of the waterFlow tool","default":"1.0.0","type":"string"}},"required":["tenantId","aippId","version","inputParams"]},"order":["tenantId","aippId","version","inputParams"],"return":{"type":"string"}}', 'application-create-app-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c04cee50-13e4-499b-a008-077459a2e552', 'WATERFLOW') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c04cee50-13e4-499b-a008-077459a2e552', 'BUILTIN') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "is_builtin", "source") VALUES ('5678dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '创建应用', '{"name":"创建应用","version":"1.0.0","type":"python","description":"","pluginFullName":"python_plugin3.zip"}', TRUE, 'huawei') ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name", "source") VALUES ('创建应用', '5678dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', 'c04cee50-13e4-499b-a008-077459a2e552', 'huawei') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('代码', '{"name":"代码","description":"执行用户定义的代码,生成用户定义的配置","parameters":{"type":"object","properties":{"args":{"type":"object","description":"代码节点引用的流程中的参数。"},"code":{"type":"string","description":"用户定义的数据处理代码"},"language":{"type":"string", "description":"用户代码语言"}, "output":{"type":"object","description":"代码节点返参校验规范。"}},"required":["args","code","language"]},"order":["args","code","language", "output"],"return":{"type":"object"}}','{"FIT":{"fitableId":"default","genericableId":"modelengine.fit.jober.aipp.code.execute"}}','e147f301-957a-4335-a155-1e86d1a45ae5', 'code-group-name', 'code-def-name', 'code-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'code-def-name', '{"name":"代码","description":"执行用户定义的代码,生成用户定义的配置","parameters":{"type":"object","properties":{"args":{"type":"object","description":"代码节点引用的流程中的参数。"},"code":{"type":"string","description":"用户定义的数据处理代码"},"language":{"type":"string", "description":"用户代码语言"}, "output":{"type":"object","description":"代码节点返参校验规范。"}},"required":["args","code","language"]},"order":["args","code","language", "output"],"return":{"type":"object"}}', 'code-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING;; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e147f301-957a-4335-a155-1e86d1a45ae5', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e147f301-957a-4335-a155-1e86d1a45ae5', 'CODENODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e147f301-957a-4335-a155-1e86d1a45ae5', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('6789dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '代码', '{"name":"代码","version":"1.0.0","type":"python","description":"","pluginFullName":"python_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('代码', '6789dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', 'e147f301-957a-4335-a155-1e86d1a45ae5') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('问题优化', '{"name":"问题优化","description":"用户可使用默认模板进行问题优化,或进行自定义优化","parameters":{"type":"object","properties":{"rewriteParam":{"type":"object","properties":{"strategy":{"type":"string","description":"重写策略,有内置和自定义两种","enum":["builtin","custom"]},"args":{"type":"object","description": "输入参数,必须包含 `query`"},"template":{"type":"string","description": "模板,内置模式代表问题背景、自定义模式代表提示词模板"},"model":{"type":"string","description":"模型名"},"temperature":{"type":"number","description":"温度"}},"required":["strategy","args","template","model","temperature"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","enum":["full","question_only"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","serializeAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required": ["rewriteParam","memoryConfig","histories"]},"order":["rewriteParam","memoryConfig","histories"],"return":{"type":"array","item":{"type":"string","description":"重写后的问题"}}}','{"FIT":{"fitableId":"aipp","genericableId":"modelengine.jober.aipp.rewrite.query"}}','6e5f0019-f8a5-4ca3-a73a-6b8512388587', 'query-optimization-group-name', 'query-optimization-def-name', 'query-optimization-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'query-optimization-def-name', '{"name":"问题优化","description":"用户可使用默认模板进行问题优化,或进行自定义优化","parameters":{"type":"object","properties":{"rewriteParam":{"type":"object","properties":{"strategy":{"type":"string","description":"重写策略,有内置和自定义两种","enum":["builtin","custom"]},"args":{"type":"object","description": "输入参数,必须包含 `query`"},"template":{"type":"string","description": "模板,内置模式代表问题背景、自定义模式代表提示词模板"},"model":{"type":"string","description":"模型名"},"temperature":{"type":"number","description":"温度"}},"required":["strategy","args","template","model","temperature"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","enum":["full","question_only"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","serializeAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required": ["rewriteParam","memoryConfig","histories"]},"order":["rewriteParam","memoryConfig","histories"],"return":{"type":"array","item":{"type":"string","description":"重写后的问题"}}}', 'query-optimization-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('6e5f0019-f8a5-4ca3-a73a-6b8512388587', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('6e5f0019-f8a5-4ca3-a73a-6b8512388587', 'QUERYOPTIMIZATIONNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('6e5f0019-f8a5-4ca3-a73a-6b8512388587', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('5525dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '问题优化', '{"name":"问题优化","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('问题优化', '5525dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '6e5f0019-f8a5-4ca3-a73a-6b8512388587') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "extensions", "unique_name", "version", "is_latest", "group_name", "definition_name", "definition_group_name") VALUES ('知识检索', '{"name":"知识检索","description":"通过用户问题和知识库配置检索知识文档。","parameters":{"properties":{"query":{"description":"用户问题","oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]},"knowledgeRepos":{"description":"知识库标识","type":"array","items":{"type":"object"}},"option":{"description":"检索参数配置","type":"object","properties":{"indexType":{"type":"object","properties":{"type":{"description":"检索方式类型","type":"string"},"name":{"description":"检索方式名称","type":"string"},"description":{"description":"检索方式描述","type":"string"}}},"referenceLimit":{"type":"object","properties":{"type":{"description":"引用上限类型","type":"string"},"value":{"description":"引用上限数值","type":"integer"}}},"similarityThreshold":{"type":"number","description":"检索相似度阈值"},"rerankParam":{"type":"object","properties":{"enableRerank":{"description":"重排使能标记","type":"boolean"},"model":{"description":"重排模型的名称","type":"string"},"baseUri":{"description":"重排模型的资源标识符","type":"string"},"topK":{"description":"重排后保留最相关的文档数量","type":"integer"}}}}},"userId":{"type":"string","description":"用户id"}},"required":["query","knowledgeRepos","option","userId"],"type":"object"},"return":{"type":"array","items":{"type":"object","description":"知识文档","properties":{"id":{"description":"文档标识","type":"string"},"text":{"description":"文档内容","type":"string"},"score":{"description":"文档分数","type":"number"},"metadata":{"type":"object","description":"知识文档","properties":{"fileName":{"description":"文档名称","type":"string"}}}}}}}', '{"FIT":{"fitableId":"knowledge.service.invoke","genericableId":"modelengine.jade.knowledge.service.retrieve"}}', '{}', '25887d76-e358-4121-800c-31eb3390fdbd', '1.0.0', 't', 'knowledge-retrieval-group-name', 'knowledge-retrieval-def-name', 'knowledge-retrieval-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") VALUES ('knowledge-retrieval-def-name', '{"name":"知识检索","description":"通过用户问题和知识库配置检索知识文档。","parameters":{"properties":{"query":{"description":"用户问题","oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]},"knowledgeRepos":{"description":"知识库标识","type":"array","items":{"type":"object"}},"option":{"description":"检索参数配置","type":"object","properties":{"indexType":{"type":"object","properties":{"type":{"description":"检索方式类型","type":"string"},"name":{"description":"检索方式名称","type":"string"},"description":{"description":"检索方式描述","type":"string"}}},"referenceLimit":{"type":"object","properties":{"type":{"description":"引用上限类型","type":"string"},"value":{"description":"引用上限数值","type":"integer"}}},"similarityThreshold":{"type":"number","description":"检索相似度阈值"},"rerankParam":{"type":"object","properties":{"enableRerank":{"description":"重排使能标记","type":"boolean"},"model":{"description":"重排模型的名称","type":"string"},"baseUri":{"description":"重排模型的资源标识符","type":"string"},"topK":{"description":"重排后保留最相关的文档数量","type":"integer"}}}}},"userId":{"type":"string","description":"用户id"}},"required":["query","knowledgeRepos","option","userId"],"type":"object"},"return":{"type":"array","items":{"type":"object","description":"知识文档","properties":{"id":{"description":"文档标识","type":"string"},"text":{"description":"文档内容","type":"string"},"score":{"description":"文档分数","type":"number"},"metadata":{"type":"object","description":"知识文档","properties":{"fileName":{"description":"文档名称","type":"string"}}}}}}}', 'knowledge-retrieval-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('25887d76-e358-4121-800c-31eb3390fdbd', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('25887d76-e358-4121-800c-31eb3390fdbd', 'KNOWLEDGERETRIEVALNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('25887d76-e358-4121-800c-31eb3390fdbd', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('a125dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '知识检索', '{"name":"知识检索","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('知识检索', 'a125dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '25887d76-e358-4121-800c-31eb3390fdbd') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('问题分类', '{"name":"问题分类","description":"用户可使用默认模板进行问题分类,或进行自定义优化","parameters":{"type":"object","properties":{"classifyQuestionParam":{"type":"object","properties":{"accessInfo":{"type":"object","description":"模型信息","properties":{"serviceName":{"type":"string","description":"模型名称"},"tag":{"type":"string","description":"模型标签"}},"required":["serviceName","tag"]},"temperature":{"type":"number","description":"温度"},"template":{"type":"string","description":"模板,内置模式代表问题背景、自定义模式代表提示词模板"},"args":{"type":"object","description":"输入参数,必须包含 `query`"},"questionTypeList":{"type":"array","item":{"type":"object","properties":{"id":{"type":"string","description":"问题分类ID"},"questionTypeDesc":{"type":"string","description":"问题分类描述"}},"required":["id","questionTypeDesc"]}}},"required":["accessInfo","temperature","args","questionTypeList"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","enum":["full","question_only"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","serializeAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required":["classifyQuestionParam","memoryConfig","histories"]},"order":["classifyQuestionParam","memoryConfig","histories"],"return":{"type":"string","description":"分类后返回的类型ID"}}','{"FIT":{"fitableId":"aipp","genericableId":"modelengine.jober.aipp.classify.question"}}','70d1adbd-3421-4cb0-9231-fa357688b706', 'application-question-classification-group-name', 'application-question-classification-def-name', 'application-question-classification-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-question-classification-def-name', '{"name":"问题分类","description":"用户可使用默认模板进行问题分类,或进行自定义优化","parameters":{"type":"object","properties":{"classifyQuestionParam":{"type":"object","properties":{"accessInfo":{"type":"object","description":"模型信息","properties":{"serviceName":{"type":"string","description":"模型名称"},"tag":{"type":"string","description":"模型标签"}},"required":["serviceName","tag"]},"temperature":{"type":"number","description":"温度"},"template":{"type":"string","description":"模板,内置模式代表问题背景、自定义模式代表提示词模板"},"args":{"type":"object","description":"输入参数,必须包含 `query`"},"questionTypeList":{"type":"array","item":{"type":"object","properties":{"id":{"type":"string","description":"问题分类ID"},"questionTypeDesc":{"type":"string","description":"问题分类描述"}},"required":["id","questionTypeDesc"]}}},"required":["accessInfo","temperature","args","questionTypeList"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","enum":["full","question_only"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","serializeAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required":["classifyQuestionParam","memoryConfig","histories"]},"order":["classifyQuestionParam","memoryConfig","histories"],"return":{"type":"string","description":"分类后返回的类型ID"}}', 'application-question-classification-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('70d1adbd-3421-4cb0-9231-fa357688b706', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('70d1adbd-3421-4cb0-9231-fa357688b706', 'QUESTIONCLASSIFICATIONNODECONDITION') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('70d1adbd-3421-4cb0-9231-fa357688b706', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('08e4eb332c227346b98a37e614577a0b44ff7dbcdc1d79a27b4412def29af226', '问题分类', '{"name":"问题分类","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('问题分类', '08e4eb332c227346b98a37e614577a0b44ff7dbcdc1d79a27b4412def29af226', '70d1adbd-3421-4cb0-9231-fa357688b706') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('文本提取', '{"name":"文本提取","description":"从文本中提取结构化数据。","parameters":{"type":"object","properties":{"extractParam":{"type":"object","properties":{"text":{"type":"string","description":"需要提取的文本"},"desc":{"type":"string","description":"提取要求描述"},"outputSchema":{"type":"string","description":"输出结构描述"},"accessInfo":{"type":"object","properties":{"serviceName":{"type":"string"},"tag":{"type":"string"}}},"temperature":{"type":"number","description":"温度"}},"required":["text","outputSchema","model","temperature"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","default":"full","enum":["full"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required":["extractParam","memoryConfig","histories"]},"return":{"type":"object","properties":{"success":{"type":"boolean","description":"是否提取成功"},"data":{"type":"object"},"required":["success","data"]}}}', '{"FIT":{"fitableId":"aipp","genericableId":"modelengine.jober.aipp.extract"}}','3bca6a3f-9623-4228-b120-1a5e0d41dc14', 'application-text-extraction-group-name', 'application-text-extraction-def-name', 'application-text-extraction-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-text-extraction-def-name', '{"name":"文本提取","description":"从文本中提取结构化数据。","parameters":{"type":"object","properties":{"extractParam":{"type":"object","properties":{"text":{"type":"string","description":"需要提取的文本"},"desc":{"type":"string","description":"提取要求描述"},"outputSchema":{"type":"string","description":"输出结构描述"},"accessInfo":{"type":"object","properties":{"serviceName":{"type":"string"},"tag":{"type":"string"}}},"temperature":{"type":"number","description":"温度"}},"required":["text","outputSchema","model","temperature"]},"memoryConfig":{"type":"object","properties":{"windowAlg":{"type":"string","description":"历史记录消费策略","enum":["buffer_window","token_window"]},"serializeAlg":{"type":"string","description":"历史记录序列化策略","default":"full","enum":["full"]},"property":{"type":"integer","description":"配置参数,对话轮次或者最大 token 数目"}},"required":["windowAlg","property"]},"histories":{"type":"array","item":{"type":"object","properties":{"question":{"type":"string","description":"用户问题"},"answer":{"type":"string","description":"模型输出"}},"required":["question","answer"]}}},"required":["extractParam","memoryConfig","histories"]},"return":{"type":"object","properties":{"success":{"type":"boolean","description":"是否提取成功"},"data":{"type":"object"},"required":["success","data"]}}}', 'application-text-extraction-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('3bca6a3f-9623-4228-b120-1a5e0d41dc14', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('3bca6a3f-9623-4228-b120-1a5e0d41dc14', 'TEXTEXTRACTIONNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('3bca6a3f-9623-4228-b120-1a5e0d41dc14', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('6d5622e67c96b0fcd0cdccc90b38c31b876e4f1e4d6c6e57dc39de62eebfee17', '文本提取', '{"name":"文本提取","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('文本提取', '6d5622e67c96b0fcd0cdccc90b38c31b876e4f1e4d6c6e57dc39de62eebfee17', '3bca6a3f-9623-4228-b120-1a5e0d41dc14') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('http调用', '{"name":"http调用","description":"用户可使用该工具进行http调用","parameters":{"type":"object","properties":{"httpRequest":{"type":"object","properties":{"httpMethod":{"type":"string","description":"http调用方法"},"url":{"type":"string","description":"http调用路径"},"timeout":{"type":"integer","description":"http调用超时时间"},"args":{"type":"object","description":"引用参数"},"headers":{"type":"object","description":"http请求头"},"params":{"type":"object","description":"http请求参数"},"requestBody":{"type":"object","properties":{"type":{"type":"string","description":"http请求体类型,form-data/json/text等"},"data":{"type":"object","description":"http请求体数据"}}},"authentication":{"type":"object","properties":{"type":{"type":"string","description":"http鉴权类型"},"header":{"type":"string","description":"http鉴权请求头"},"authKey":{"type":"string","description":"http鉴权key"}}}},"required":["httpMethod","url"]}},"required":["httpRequest"]},"order":["httpRequest"],"return":{"type":"object","properties":{"status":{"type":"integer","description":"http响应码"},"errorMsg":{"type":"string","description":"http错误信息"},"data":{"type":"object","description":"原始http返回信息"}},"description":"http调用结果"}}', '{"FIT":{"fitableId":"aipp","genericableId":"modelengine.jober.aipp.http.call"}}','1d68d2a4-0410-4a72-93f4-9a5a3d8def27', 'application-http-call-group-name', 'application-http-call-def-name', 'application-http-call-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-http-call-def-name', '{"name":"http调用","description":"用户可使用该工具进行http调用","parameters":{"type":"object","properties":{"httpRequest":{"type":"object","properties":{"httpMethod":{"type":"string","description":"http调用方法"},"url":{"type":"string","description":"http调用路径"},"timeout":{"type":"integer","description":"http调用超时时间"},"args":{"type":"object","description":"引用参数"},"headers":{"type":"object","description":"http请求头"},"params":{"type":"object","description":"http请求参数"},"requestBody":{"type":"object","properties":{"type":{"type":"string","description":"http请求体类型,form-data/json/text等"},"data":{"type":"object","description":"http请求体数据"}}},"authentication":{"type":"object","properties":{"type":{"type":"string","description":"http鉴权类型"},"header":{"type":"string","description":"http鉴权请求头"},"authKey":{"type":"string","description":"http鉴权key"}}}},"required":["httpMethod","url"]}},"required":["httpRequest"]},"order":["httpRequest"],"return":{"type":"object","properties":{"status":{"type":"integer","description":"http响应码"},"errorMsg":{"type":"string","description":"http错误信息"},"data":{"type":"object","description":"原始http返回信息"}},"description":"http调用结果"}}', 'application-http-call-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('1d68d2a4-0410-4a72-93f4-9a5a3d8def27', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('1d68d2a4-0410-4a72-93f4-9a5a3d8def27', 'HTTPNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('1d68d2a4-0410-4a72-93f4-9a5a3d8def27', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('3a781117bcf93338fcf58e94c40779ea01cf9176973f718224bcaa6e269e3b4b', 'http调用', '{"name":"http调用","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('http调用', '3a781117bcf93338fcf58e94c40779ea01cf9176973f718224bcaa6e269e3b4b', '1d68d2a4-0410-4a72-93f4-9a5a3d8def27') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('变量聚合', '{"name":"变量聚合","description":"对多个变量聚合返回合适的变量","parameters":{"type":"object","properties":{"variables":{"type":"array","item":{"type":"object","description":"变量列表"}}},"required":["variables"]},"order":["variables"],"return":{"type":"object","description":"返回的变量"}}', '{"FIT":{"fitableId":"aipp","genericableId":"modelengine.jober.aipp.variable.aggregation"}}','c71f3d85-d69e-45e4-9549-479e46dc3167', 'application-variable-aggregation-group-name', 'application-variable-aggregation-def-name', 'application-variable-aggregation-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'application-variable-aggregation-def-name', '{"name":"变量聚合","description":"对多个变量聚合返回合适的变量","parameters":{"type":"object","properties":{"variables":{"type":"array","item":{"type":"object","description":"变量列表"}}},"required":["variables"]},"order":["variables"],"return":{"type":"object","description":"返回的变量"}}', 'application-variable-aggregation-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c71f3d85-d69e-45e4-9549-479e46dc3167', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c71f3d85-d69e-45e4-9549-479e46dc3167', 'VARIABLEAGGREGATIONNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c71f3d85-d69e-45e4-9549-479e46dc3167', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") VALUES ('3b65a7aed166416a9823aac1fe66b2447dd12c9092ca4649b7876b50bd677424', '变量聚合', '{"name":"变量聚合","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('变量聚合', '3b65a7aed166416a9823aac1fe66b2447dd12c9092ca4649b7876b50bd677424', 'c71f3d85-d69e-45e4-9549-479e46dc3167') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('多模态文件提取', '{"name":"多模态文件提取","description":"提取文档、图片和音频中的内容。","parameters":{"properties":{"filePath":{"description":"文件路径","type":"string"}},"required":["filePath"],"type":"object"},"return":{"type":"object","properties":{"success":{"type":"boolean","description":"是否提取成功"},"data":{"type":"string"},"required":["success","data"]}}}', '{"FIT":{"fitableId":"document.service.extract","genericableId":"modelengine.jade.document.service.extract"}}', 'e1d24716-9ffa-46e5-bd36-d3a8d8142559', 'document-extractor-group-name', 'document-extractor-def-name', 'document-extractor-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'document-extractor-def-name', '{"name":"多模态文件提取","description":"提取文档、图片和音频中的内容。","parameters":{"properties":{"filePath":{"description":"文件路径","type":"string"}},"required":["filePath"],"type":"object"},"return":{"type":"object","properties":{"success":{"type":"boolean","description":"是否提取成功"},"data":{"type":"string"},"required":["success","data"]}}}', 'document-extractor-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e1d24716-9ffa-46e5-bd36-d3a8d8142559', 'DOCUMENTEXTRACTORNODE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e1d24716-9ffa-46e5-bd36-d3a8d8142559', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name")VALUES ('e1d24716-9ffa-46e5-bd36-d3a8d8142559', 'DOCUMENTEXTRACTORNODE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e1d24716-9ffa-46e5-bd36-d3a8d8142559', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") +VALUES ('b125dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', '多模态文件提取', '{"name":"多模态文件提取","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING;INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('多模态文件提取', 'b125dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', 'e1d24716-9ffa-46e5-bd36-d3a8d8142559') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") +VALUES ('多模态文件提取', 'b125dfcef2355b7b4e76dc53626a98a4b863c3e33c12c43221d03907c025bce0', 'e1d24716-9ffa-46e5-bd36-d3a8d8142559') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('文件提取', '{"name":"impl-aipp-file-tool-extract","description":"解析文件内容","parameters":{"type":"object","properties":{"filePath":{"name":"filePath","type":"string","required":false}},"required":[]},"order":["filePath"],"return":{"type":"string","convertor":""}}', '{"FIT":{"genericableId":"modelengine.fit.jober.aipp.tool.extract.file","fitableId":"extract.multi.type"}}', 'c2a796db-afa5-45c9-bd36-008426347988', 'implGroup-aipp-file-tool', 'def-aipp-file-tool-extract', 'defGroup-aipp-file-tool') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'def-aipp-file-tool-extract', '{"name":"impl-aipp-file-tool-extract","description":"解析文件内容","parameters":{"type":"object","properties":{"filePath":{"name":"filePath","type":"string","required":false}},"required":[]},"order":["filePath"],"return":{"type":"string","convertor":""}}', 'defGroup-aipp-file-tool') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c2a796db-afa5-45c9-bd36-008426347988', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c2a796db-afa5-45c9-bd36-008426347988', 'FILETOOL') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('c2a796db-afa5-45c9-bd36-008426347988', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") +VALUES ('e325dfcef2352b7b4e76dc53626a93a4b86323e33c12c43221d03907c025bce0', '文件提取', '{"name":"文件提取","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") +VALUES ('文件提取', 'e325dfcef2352b7b4e76dc53626a93a4b86323e33c12c43221d03907c025bce0', 'c2a796db-afa5-45c9-bd36-008426347988') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('文生图', '{ "name": "文生图", "description": "从文本中生成图片。", "parameters": { "type": "object", "properties": { "imageParam": { "type": "object", "properties": { "args": { "type": "object", "description": "需求描述中的填充字段" }, "description": { "type": "string", "description": "图片生成需求描述" }, "imageCount": { "type": "integer", "description": "生成图片数量" } }, "required": [ "args", "description", "imageCount" ] } }, "required": [ "imageParam" ] }, "return": { "type": "array" } }', '{"FIT":{"fitableId":"default","genericableId":"modelengine.jade.app.engine.image.service.generateImage"}}','eeedf03c-10aa-41f1-b5e3-6623914242c8', 'image-generation-group-name', 'image-generation-def-name', 'image-generation-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES( 'image-generation-def-name', '{ "name": "文生图", "description": "从文本中生成图片。", "parameters": { "type": "object", "properties": { "imageParam": { "type": "object", "properties": { "args": { "type": "object", "description": "需求描述中的填充字段" }, "description": { "type": "string", "description": "图片生成需求描述" }, "imageCount": { "type": "integer", "description": "生成图片数量" } }, "required": [ "args", "description", "imageCount" ] } }, "required": [ "imageParam" ] }, "return": { "type": "array" } }', 'image-generation-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('eeedf03c-10aa-41f1-b5e3-6623914242c8', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('eeedf03c-10aa-41f1-b5e3-6623914242c8', 'TEXTTOIMAGENODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('eeedf03c-10aa-41f1-b5e3-6623914242c8', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") +VALUES ('58e0885b5c2509e83fce7b46ec88689dd3e3decdbf085362e42c93b2126bc390', '文生图', '{"name":"文生图","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") VALUES ('文生图', '58e0885b5c2509e83fce7b46ec88689dd3e3decdbf085362e42c93b2126bc390', 'eeedf03c-10aa-41f1-b5e3-6623914242c8') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name") +VALUES ('多模态文档提取', '{ "name": "多模态文档提取", "description": "从多模态文档提取内容。", "parameters": { "type": "object", "properties": { "fileExtractionParam": { "type": "object", "properties": { "files": { "type": "array", "description": "文件链接" }, "prompt": { "type": "string", "description": "文档提取提示词" } }, "required": [ "files", "prompt" ] } }, "required": [ "fileExtractionParam" ] }, "return": { "type": "string" } }', '{"FIT":{"fitableId":"document.service.extract","genericableId":"modelengine.jade.document.service.extract"}}','e2bd847f-2cfa-4cdc-b326-4d15a15c6a0d', 'document-extraction-group-name', 'document-extraction-def-name', 'document-extraction-def-group-name') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ( "name", "schema", "definition_group_name" ) +VALUES('document-extraction-def-name', '{ "name": "多模态文档提取", "description": "从多模态文档提取内容。", "parameters": { "type": "object", "properties": { "fileExtractionParam": { "type": "object", "properties": { "files": { "type": "array", "description": "文件链接" }, "prompt": { "type": "string", "description": "文档提取提示词" } }, "required": [ "files", "prompt" ] } }, "required": [ "fileExtractionParam" ] }, "return": { "type": "string" } }', 'document-extraction-def-group-name') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e2bd847f-2cfa-4cdc-b326-4d15a15c6a0d', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e2bd847f-2cfa-4cdc-b326-4d15a15c6a0d', 'FILEEXTRACTNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('e2bd847f-2cfa-4cdc-b326-4d15a15c6a0d', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") +VALUES ('3b0be5ee63ed30ff58e4760847cada0a6a2a84fbff1ddb73de71fb65a38df32c', '多模态文档提取', '{"name":"多模态文档提取","version":"1.0.0","type":"java","description":"","pluginFullName":"java_plugin3.zip"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") +VALUES ('多模态文档提取', '3b0be5ee63ed30ff58e4760847cada0a6a2a84fbff1ddb73de71fb65a38df32c', 'e2bd847f-2cfa-4cdc-b326-4d15a15c6a0d') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; + +DELETE FROM "public"."store_tool" WHERE unique_name = 'ec122366-4fd2-4e6f-b8ec-2c17706432f4' AND version='1.0.0'; +DELETE FROM "public"."store_definition" WHERE definition_group_name = 'LoopTool' AND name = 'loopTool'; + +INSERT INTO "public"."store_tool" ("name", "schema", "runnables", "unique_name", "group_name", "definition_name", "definition_group_name", "version") +VALUES ('loopToolDefault', '{"name":"loopTool","description":"用于循环执行工具","parameters":{"type":"object","properties":{"args":{"defaultValue":"","description":"循环调用工具时的入参","name":"args","type":"object","examples":"","required":true},"config":{"defaultValue":"","description":"循环调用的配置,指定循环的字段","name":"config","type":"object","properties":{"loopKeys":{"type":"array","items":{"type":"string"}}},"examples":"","required":true},"toolInfo":{"defaultValue":"","description":"循环调用的工具信息","name":"toolInfo","type":"object","properties":{"uniqueName":{"type":"string"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"}}}}},"examples":"","required":true},"context":{"defaultValue":"","description":"循环调用的上下文","name":"context","type":"object","properties":{},"examples":"","required":false}},"required":["args","config","toolInfo"]},"order":["args","config","toolInfo","context"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object"},"convertor":""}}', '{"FIT":{"genericableId":"modelengine.jober.aipp.tool.loop","fitableId":"default"}}', 'ec122366-4fd2-4e6f-b8ec-2c17706432f4', 'LoopToolImpl', 'loopTool', 'LoopTool', '1.0.0') ON CONFLICT ("unique_name", "version") DO NOTHING; +INSERT INTO "public"."store_definition" ("name", "schema", "definition_group_name") +VALUES ('loopTool', '{"name":"loopTool","description":"用于循环执行工具","parameters":{"type":"object","properties":{"args":{"defaultValue":"","description":"循环调用工具时的入参","name":"args","type":"object","examples":"","required":true},"config":{"defaultValue":"","description":"循环调用的配置,指定循环的字段","name":"config","type":"object","properties":{"loopKeys":{"type":"array","items":{"type":"string"}}},"examples":"","required":true},"toolInfo":{"defaultValue":"","description":"循环调用的工具信息","name":"toolInfo","type":"object","properties":{"uniqueName":{"type":"string"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"}}}}},"examples":"","required":true},"context":{"defaultValue":"","description":"循环调用的上下文","name":"context","type":"object","properties":{},"examples":"","required":false}},"required":["args","config","toolInfo"]},"order":["args","config","toolInfo","context"],"parameterExtensions":null,"return":{"type":"array","items":{"type":"object"},"convertor":""}}', 'LoopTool') ON CONFLICT ("definition_group_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('ec122366-4fd2-4e6f-b8ec-2c17706432f4', 'FIT') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('ec122366-4fd2-4e6f-b8ec-2c17706432f4', 'LOOPNODESTATE') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_tag" ("tool_unique_name", "name") +VALUES ('ec122366-4fd2-4e6f-b8ec-2c17706432f4', 'BASIC') ON CONFLICT ("tool_unique_name", "name") DO NOTHING; +INSERT INTO "public"."store_plugin" ("plugin_id", "plugin_name", "extension", "deploy_status", "is_builtin") +VALUES ('b5ef98e2c8f3966e51eadd47e1dad9bc8b7a96b4ec91208fac65e2c0688564d4', '循环执行工具', '{"uniqueness.groupId":"modelengine.fit.default","pluginFullName":"aipp-loop-tool-1.0.0-SNAPSHOT_1741760172729.jar","checksum":"5758b70a3cf60f0a7fe5517c51b21a9e9cab2a470e0df1a7d12f25072f5e4c84","name":"循环执行工具","description":"循环执行工具","uniqueness.artifactId":"tool.loop","type":"java"}', 'DEPLOYED', TRUE) ON CONFLICT ("plugin_id") DO NOTHING; +INSERT INTO "public"."store_plugin_tool" ("tool_name", "plugin_id", "tool_unique_name") +VALUES ('loopToolDefault', 'b5ef98e2c8f3966e51eadd47e1dad9bc8b7a96b4ec91208fac65e2c0688564d4', 'ec122366-4fd2-4e6f-b8ec-2c17706432f4') ON CONFLICT ("plugin_id", "tool_unique_name") DO NOTHING; \ No newline at end of file diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-app.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-app.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-app.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-app.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-collection.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-collection.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-collection.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-collection.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-model.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-model.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-model.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-model.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-plugin-tool.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-plugin-tool.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-plugin-tool.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-plugin-tool.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-plugin.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-plugin.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-plugin.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-plugin.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-tag.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-tag.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-tag.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-tag.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-task.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-task.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/create/schema-task.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/create_tables/schema-task.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-app.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-app.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-app.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-app.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-collection.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-collection.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-collection.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-collection.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-model.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-model.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-model.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-model.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-plugin-tool.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-plugin-tool.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-plugin-tool.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-plugin-tool.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-plugin.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-plugin.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-plugin.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-plugin.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-tag.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-tag.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-tag.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-tag.sql diff --git a/store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-task.sql b/store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-task.sql similarity index 100% rename from store/plugins/store-repository-postgresql/src/main/resources/sql/trigger/trigger-task.sql rename to store/plugins/store-repository-postgresql/src/main/resources/sql/schema/trigger/trigger-task.sql diff --git a/store/plugins/store-repository-postgresql/src/test/resources/sql/create/definition.sql b/store/plugins/store-repository-postgresql/src/test/resources/sql/create/definition.sql index e22266fb7f..c11b9648e9 100644 --- a/store/plugins/store-repository-postgresql/src/test/resources/sql/create/definition.sql +++ b/store/plugins/store-repository-postgresql/src/test/resources/sql/create/definition.sql @@ -3,8 +3,8 @@ drop table if exists store_definition; create table if not exists store_definition ( "id" bigserial primary key not null, - "created_time" timestamp(9) default current_timestamp not null, - "updated_time" timestamp(9) default current_timestamp not null, + "created_time" timestamp default current_timestamp not null, + "updated_time" timestamp default current_timestamp not null, "creator" varchar(30) default 'system' not null, "modifier" varchar(30) default 'system' not null, "name" varchar(256) not null,