diff --git a/app-builder/builtin/app-template/answer_book/3c9759ae-2281-44a1-9839-4657c028295e.png b/app-builder/builtin/app-template/answer_book/3c9759ae-2281-44a1-9839-4657c028295e.png new file mode 100644 index 0000000000..d0ccf49a1a Binary files /dev/null and b/app-builder/builtin/app-template/answer_book/3c9759ae-2281-44a1-9839-4657c028295e.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_answer_book.sql b/app-builder/builtin/app-template/answer_book/template_answer_book.sql similarity index 97% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_answer_book.sql rename to app-builder/builtin/app-template/answer_book/template_answer_book.sql index ecb80015a0..6471d88000 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_answer_book.sql +++ b/app-builder/builtin/app-template/answer_book/template_answer_book.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('0fb1f0d5515e4a8196bab32afe647e4e', '答案之书', 'workflow', 'chatbot', '{"icon": "", "app_type": "dadb32e11d0f49c8b3b2b3b78f32adcb", "greeting": null, "description": "一款神秘而智慧的问答应用,你的问题将获得来自“答案之书”的灵感回应。"}', 'dadb32e11d0f49c8b3b2b3b78f32adcb', 0, 0, 0, '1.0.0', '9a40f8c52e1647959a302fc77b7f53f6', '5b742c0ab9f149d0ad0eb17b7abc9606', 'system', '2025-06-23 14:25:07.517008', 'system', '2025-06-23 14:25:07.517008', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('0fb1f0d5515e4a8196bab32afe647e4e', '答案之书', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/3c9759ae-2281-44a1-9839-4657c028295e.png&fileName=PixPin_2025-06-27_10-17-59.png", "app_type": "dadb32e11d0f49c8b3b2b3b78f32adcb", "greeting": null, "description": "一款神秘而智慧的问答应用,你的问题将获得来自“答案之书”的灵感回应。"}', 'dadb32e11d0f49c8b3b2b3b78f32adcb', 0, 0, 0, '1.0.0', '9a40f8c52e1647959a302fc77b7f53f6', '5b742c0ab9f149d0ad0eb17b7abc9606', 'system', '2025-06-23 14:25:07.517008', 'system', '2025-06-23 14:25:07.517008', 0) 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 ('9a40f8c52e1647959a302fc77b7f53f6', 'b8986770a6ffef44bbf2a9f26d6fc1be', '0fb1f0d5515e4a8196bab32afe647e4e', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 14:25:07.516986', 'system', '2025-06-23 14:25:07.516986', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/book_report/a6102824-ea3c-4713-aa53-a7a6f83c45e6.png b/app-builder/builtin/app-template/book_report/a6102824-ea3c-4713-aa53-a7a6f83c45e6.png new file mode 100644 index 0000000000..74e5e9dbd1 Binary files /dev/null and b/app-builder/builtin/app-template/book_report/a6102824-ea3c-4713-aa53-a7a6f83c45e6.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_book_report.sql b/app-builder/builtin/app-template/book_report/template_book_report.sql similarity index 98% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_book_report.sql rename to app-builder/builtin/app-template/book_report/template_book_report.sql index 6ca2883a41..2bd01bf11c 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_book_report.sql +++ b/app-builder/builtin/app-template/book_report/template_book_report.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('87a4bba275e64095b013d1c2999cbd89', '读书报告', 'basic', 'chatbot', '{"icon": "", "app_type": "ad7fca4851394495a90723eb6bcd6141", "greeting": null, "description": "帮助用户快速生成结构清晰、内容丰富的读书报告。"}', 'ad7fca4851394495a90723eb6bcd6141', 0, 0, 1, '1.0.0', 'c5ab817ff9624d02900264954acb36ce', '646e96e7088f49369921d226690266ff', 'system', '2025-06-23 02:43:55.265732', 'system', '2025-06-23 02:43:55.265732', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('87a4bba275e64095b013d1c2999cbd89', '读书报告', 'basic', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/a6102824-ea3c-4713-aa53-a7a6f83c45e6.png&fileName=PixPin_2025-06-27_10-35-20.png", "app_type": "ad7fca4851394495a90723eb6bcd6141", "greeting": null, "description": "帮助用户快速生成结构清晰、内容丰富的读书报告。"}', 'ad7fca4851394495a90723eb6bcd6141', 0, 0, 1, '1.0.0', 'c5ab817ff9624d02900264954acb36ce', '646e96e7088f49369921d226690266ff', 'system', '2025-06-23 02:43:55.265732', 'system', '2025-06-23 02:43:55.265732', 0) 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 ('c5ab817ff9624d02900264954acb36ce', 'b8986770a6ffef44bbf2a9f26d6fc1bc', '87a4bba275e64095b013d1c2999cbd89', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 02:43:55.265707', 'system', '2025-06-23 02:43:55.265707', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/credicheck_agent/54222cc2-09a3-43b0-9aa9-32343e4978d9.png b/app-builder/builtin/app-template/credicheck_agent/54222cc2-09a3-43b0-9aa9-32343e4978d9.png new file mode 100644 index 0000000000..d6f21f5e2c Binary files /dev/null and b/app-builder/builtin/app-template/credicheck_agent/54222cc2-09a3-43b0-9aa9-32343e4978d9.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_credicheck_agent.sql b/app-builder/builtin/app-template/credicheck_agent/template_credicheck_agent.sql similarity index 98% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_credicheck_agent.sql rename to app-builder/builtin/app-template/credicheck_agent/template_credicheck_agent.sql index 46ba3a55ee..ca7ca30646 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_credicheck_agent.sql +++ b/app-builder/builtin/app-template/credicheck_agent/template_credicheck_agent.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('79240b26ab514ee5b2ae51e6699bac65', '审信助手', 'basic', 'chatbot', '{"icon": "", "app_type": "19301209cff644e0bed7aede966226fa", "greeting": null, "description": "一款基于大模型的智能审核助手,自动识别企业调查报告中的关键信息与潜在问题,辅助高效完成授信合规判断。"}', '19301209cff644e0bed7aede966226fa', 0, 0, 0, '1.0.0', 'fa86f5bb44e34c3081e8fd9d811d6234', 'cea9b27745fe485c81033643c599db63', 'system', '2025-06-23 07:18:42.280781', 'system', '2025-06-23 07:18:42.280781', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('79240b26ab514ee5b2ae51e6699bac65', '审信助手', 'basic', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/54222cc2-09a3-43b0-9aa9-32343e4978d9.png&fileName=PixPin_2025-06-27_10-48-33.png", "app_type": "19301209cff644e0bed7aede966226fa", "greeting": null, "description": "一款基于大模型的智能审核助手,自动识别企业调查报告中的关键信息与潜在问题,辅助高效完成授信合规判断。"}', '19301209cff644e0bed7aede966226fa', 0, 0, 0, '1.0.0', 'fa86f5bb44e34c3081e8fd9d811d6234', 'cea9b27745fe485c81033643c599db63', 'system', '2025-06-23 07:18:42.280781', 'system', '2025-06-23 07:18:42.280781', 0) 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 ('fa86f5bb44e34c3081e8fd9d811d6234', 'b8986770a6ffef44bbf2a9f26d6fc1bc', '79240b26ab514ee5b2ae51e6699bac65', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 07:18:42.280762', 'system', '2025-06-23 07:18:42.280762', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/douyin_customer/d8241dff-1e0f-4ba5-8f64-e6f527415daf.png b/app-builder/builtin/app-template/douyin_customer/d8241dff-1e0f-4ba5-8f64-e6f527415daf.png new file mode 100644 index 0000000000..fdf523d544 Binary files /dev/null and b/app-builder/builtin/app-template/douyin_customer/d8241dff-1e0f-4ba5-8f64-e6f527415daf.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_douyin_customer_service.sql b/app-builder/builtin/app-template/douyin_customer/template_douyin_customer_service.sql similarity index 99% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_douyin_customer_service.sql rename to app-builder/builtin/app-template/douyin_customer/template_douyin_customer_service.sql index 4e2f9a0e62..b9e39314ea 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_douyin_customer_service.sql +++ b/app-builder/builtin/app-template/douyin_customer/template_douyin_customer_service.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('bcc24abf7c8a483fa919dfd1f9947c88', '抖音电商售后客服-小抖', 'workflow', 'chatbot', '{"icon": "", "app_type": "bfce7a4f00ea464ca85b1bd691ffe774", "greeting": "", "description": "哈喽小主!我是你的专属客服,请问你有什么问题嘛?"}', 'bfce7a4f00ea464ca85b1bd691ffe774', 0, 0, 2, '1.0.0', '36a4642d4b8543ecb5bb0c30af014b3e', 'ee6f79fc035545bda8734f5e26595c46', 'system', '2025-06-19 06:43:13.087872', 'system', '2025-06-19 06:43:13.087872', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('bcc24abf7c8a483fa919dfd1f9947c88', '抖音电商售后客服-小抖', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/d8241dff-1e0f-4ba5-8f64-e6f527415daf.png&fileName=%E6%8A%96%E9%9F%B3%E7%94%B5%E5%95%86%E5%94%AE%E5%90%8E%E5%AE%A2%E6%9C%8D-%E5%B0%8F%E6%8A%96.png", "app_type": "bfce7a4f00ea464ca85b1bd691ffe774", "greeting": "", "description": "哈喽小主!我是你的专属客服,请问你有什么问题嘛?"}', 'bfce7a4f00ea464ca85b1bd691ffe774', 0, 0, 2, '1.0.0', '36a4642d4b8543ecb5bb0c30af014b3e', 'ee6f79fc035545bda8734f5e26595c46', 'system', '2025-06-19 06:43:13.087872', 'system', '2025-06-19 06:43:13.087872', 0) 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 ('36a4642d4b8543ecb5bb0c30af014b3e', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'bcc24abf7c8a483fa919dfd1f9947c88', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-19 06:43:13.070388', 'system', '2025-06-19 06:43:13.070388', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/1bb5cb79-866c-4184-a84d-5f7ace26945c.png b/app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/1bb5cb79-866c-4184-a84d-5f7ace26945c.png new file mode 100644 index 0000000000..8975b3434e Binary files /dev/null and b/app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/1bb5cb79-866c-4184-a84d-5f7ace26945c.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_enterprise_sales_assistant_test_drive.sql b/app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/template_enterprise_sales_assistant_test_drive.sql similarity index 99% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_enterprise_sales_assistant_test_drive.sql rename to app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/template_enterprise_sales_assistant_test_drive.sql index 8ac8ef63f7..3ffcb4f81f 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_enterprise_sales_assistant_test_drive.sql +++ b/app-builder/builtin/app-template/enterprise_sales_assistant_test_drive/template_enterprise_sales_assistant_test_drive.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('0703754325c9472da3b2d816e620a842', '企业导购助手-试驾', 'workflow', 'chatbot', '{"icon": "", "app_type": "6cca24416a05436390e0a96712a4294e", "greeting": "", "description": "一款面向车企和经销商的智能工具,助力高效管理试驾流程、提升客户接待体验。"}', '6cca24416a05436390e0a96712a4294e', 0, 0, 0, '1.0.0', 'c0f09d1bc60d4424914a8752699b6bf1', '85f8959e23a64fa8a33ba12d053e9a0a', 'system', '2025-06-24 03:33:57.846454', 'system', '2025-06-24 03:33:57.846454', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('0703754325c9472da3b2d816e620a842', '企业导购助手-试驾', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/1bb5cb79-866c-4184-a84d-5f7ace26945c.png&fileName=PixPin_2025-06-27_11-02-48.png", "app_type": "6cca24416a05436390e0a96712a4294e", "greeting": "", "description": "一款面向车企和经销商的智能工具,助力高效管理试驾流程、提升客户接待体验。"}', '6cca24416a05436390e0a96712a4294e', 0, 0, 0, '1.0.0', 'c0f09d1bc60d4424914a8752699b6bf1', '85f8959e23a64fa8a33ba12d053e9a0a', 'system', '2025-06-24 03:33:57.846454', 'system', '2025-06-24 03:33:57.846454', 0) 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 ('c0f09d1bc60d4424914a8752699b6bf1', 'b8986770a6ffef44bbf2a9f26d6fc1be', '0703754325c9472da3b2d816e620a842', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-24 03:33:57.846372', 'system', '2025-06-24 03:33:57.846372', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/financial_contract_field_extraction/f28e2d85-e5a9-48e2-a6e7-33c8fad1fce8.png b/app-builder/builtin/app-template/financial_contract_field_extraction/f28e2d85-e5a9-48e2-a6e7-33c8fad1fce8.png new file mode 100644 index 0000000000..318b6f4d53 Binary files /dev/null and b/app-builder/builtin/app-template/financial_contract_field_extraction/f28e2d85-e5a9-48e2-a6e7-33c8fad1fce8.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_financial_contract_field_extraction.sql b/app-builder/builtin/app-template/financial_contract_field_extraction/template_financial_contract_field_extraction.sql similarity index 98% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_financial_contract_field_extraction.sql rename to app-builder/builtin/app-template/financial_contract_field_extraction/template_financial_contract_field_extraction.sql index 52b770b44e..e775918951 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_financial_contract_field_extraction.sql +++ b/app-builder/builtin/app-template/financial_contract_field_extraction/template_financial_contract_field_extraction.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('d56238fd43bc469a9fe13a3756b2e5c5', '金融合同字段提取', 'basic', 'chatbot', '{"icon": "", "app_type": "19301209cff644e0bed7aede966226fa", "greeting": null, "description": "一款基于大模型的智能助手,能够自动从金融合同中提取关键字段信息,实现结构化分析与合规审查。"}', '19301209cff644e0bed7aede966226fa', 0, 0, 0, '1.0.0', 'e480c38eec4a467faeca1d9fd7d888af', 'b906c8edac8b43a4ac78f55fb6e51edb', 'system', '2025-06-23 07:04:21.411735', 'system', '2025-06-23 07:04:21.411735', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('d56238fd43bc469a9fe13a3756b2e5c5', '金融合同字段提取', 'basic', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/f28e2d85-e5a9-48e2-a6e7-33c8fad1fce8.png&fileName=PixPin_2025-06-27_11-12-35.png", "app_type": "19301209cff644e0bed7aede966226fa", "greeting": null, "description": "一款基于大模型的智能助手,能够自动从金融合同中提取关键字段信息,实现结构化分析与合规审查。"}', '19301209cff644e0bed7aede966226fa', 0, 0, 0, '1.0.0', 'e480c38eec4a467faeca1d9fd7d888af', 'b906c8edac8b43a4ac78f55fb6e51edb', 'system', '2025-06-23 07:04:21.411735', 'system', '2025-06-23 07:04:21.411735', 0) 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 ('e480c38eec4a467faeca1d9fd7d888af', 'b8986770a6ffef44bbf2a9f26d6fc1bc', 'd56238fd43bc469a9fe13a3756b2e5c5', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 07:04:21.411713', 'system', '2025-06-23 07:04:21.411713', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/interview_assistant/379f14b0-1e94-4710-90a3-c0bcf0080ebb.png b/app-builder/builtin/app-template/interview_assistant/379f14b0-1e94-4710-90a3-c0bcf0080ebb.png new file mode 100644 index 0000000000..a5f2245028 Binary files /dev/null and b/app-builder/builtin/app-template/interview_assistant/379f14b0-1e94-4710-90a3-c0bcf0080ebb.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_interview_assistant.sql b/app-builder/builtin/app-template/interview_assistant/template_interview_assistant.sql similarity index 99% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_interview_assistant.sql rename to app-builder/builtin/app-template/interview_assistant/template_interview_assistant.sql index af67505462..55cca4de71 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_interview_assistant.sql +++ b/app-builder/builtin/app-template/interview_assistant/template_interview_assistant.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('d32d7c3c93664c39945d8275c7d9fe24', '面试助手', 'workflow', 'chatbot', '{"icon": "", "app_type": "b653edb7eb5a49be91abcd2c5877c6ad", "greeting": "", "description": "这是一款面试助手App,提供编程语言知识点梳理与成长面试题意图总结,助你高效备战技术与能力面试。"}', 'b653edb7eb5a49be91abcd2c5877c6ad', 0, 0, 0, '1.0.0', '4b29216a487241878016853aab18a819', '12c0c5889dad4abd8b1fb4dfada231e7', 'system', '2025-06-23 01:47:56.074639', 'system', '2025-06-23 01:47:56.074639', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('d32d7c3c93664c39945d8275c7d9fe24', '面试助手', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/379f14b0-1e94-4710-90a3-c0bcf0080ebb.png&fileName=PixPin_2025-06-27_10-52-22.png", "app_type": "b653edb7eb5a49be91abcd2c5877c6ad", "greeting": "", "description": "这是一款面试助手App,提供编程语言知识点梳理与成长面试题意图总结,助你高效备战技术与能力面试。"}', 'b653edb7eb5a49be91abcd2c5877c6ad', 0, 0, 0, '1.0.0', '4b29216a487241878016853aab18a819', '12c0c5889dad4abd8b1fb4dfada231e7', 'system', '2025-06-23 01:47:56.074639', 'system', '2025-06-23 01:47:56.074639', 0) 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 ('4b29216a487241878016853aab18a819', 'b8986770a6ffef44bbf2a9f26d6fc1be', 'd32d7c3c93664c39945d8275c7d9fe24', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 01:47:56.074508', 'system', '2025-06-23 01:47:56.074508', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/project_planner_agent/e928a3c4-e5e9-4150-b4cf-1922a39b1c75.png b/app-builder/builtin/app-template/project_planner_agent/e928a3c4-e5e9-4150-b4cf-1922a39b1c75.png new file mode 100644 index 0000000000..e6634dc4d4 Binary files /dev/null and b/app-builder/builtin/app-template/project_planner_agent/e928a3c4-e5e9-4150-b4cf-1922a39b1c75.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_project_planner_agent.sql b/app-builder/builtin/app-template/project_planner_agent/template_project_planner_agent.sql similarity index 97% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_project_planner_agent.sql rename to app-builder/builtin/app-template/project_planner_agent/template_project_planner_agent.sql index 8ef06e29d4..59e93e3a56 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_project_planner_agent.sql +++ b/app-builder/builtin/app-template/project_planner_agent/template_project_planner_agent.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('87d491a33d15469e904220a2ae1a0f1e', '项目计划助手', 'workflow', 'chatbot', '{"icon": "", "app_type": "6cca24416a05436390e0a96712a4294e", "greeting": null, "description": "一款基于大模型的智能计划生成工具,能够根据项目目标和关键信息自动制定可执行的项目计划,明确阶段任务、时间安排与责任分工。"}', '6cca24416a05436390e0a96712a4294e', 0, 0, 0, '1.0.0', 'd0055b59f058470cb0e6cc1513437374', '254b64fe0bde4a77b45b5601f53dc947', 'system', '2025-06-23 14:01:17.881502', 'system', '2025-06-23 14:01:17.881502', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('87d491a33d15469e904220a2ae1a0f1e', '项目计划助手', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/e928a3c4-e5e9-4150-b4cf-1922a39b1c75.png&fileName=PixPin_2025-06-27_11-18-41.png", "app_type": "6cca24416a05436390e0a96712a4294e", "greeting": null, "description": "一款基于大模型的智能计划生成工具,能够根据项目目标和关键信息自动制定可执行的项目计划,明确阶段任务、时间安排与责任分工。"}', '6cca24416a05436390e0a96712a4294e', 0, 0, 0, '1.0.0', 'd0055b59f058470cb0e6cc1513437374', '254b64fe0bde4a77b45b5601f53dc947', 'system', '2025-06-23 14:01:17.881502', 'system', '2025-06-23 14:01:17.881502', 0) 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 ('d0055b59f058470cb0e6cc1513437374', 'b8986770a6ffef44bbf2a9f26d6fc1be', '87d491a33d15469e904220a2ae1a0f1e', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 14:01:17.881252', 'system', '2025-06-23 14:01:17.881252', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/speech_report_generator/6436a187-0d9a-4a07-baf3-58fbfb428c0e.png b/app-builder/builtin/app-template/speech_report_generator/6436a187-0d9a-4a07-baf3-58fbfb428c0e.png new file mode 100644 index 0000000000..36c6e6a294 Binary files /dev/null and b/app-builder/builtin/app-template/speech_report_generator/6436a187-0d9a-4a07-baf3-58fbfb428c0e.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_speech_report_generator.sql b/app-builder/builtin/app-template/speech_report_generator/template_speech_report_generator.sql similarity index 97% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_speech_report_generator.sql rename to app-builder/builtin/app-template/speech_report_generator/template_speech_report_generator.sql index ac07e841c2..7afa3c472f 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_speech_report_generator.sql +++ b/app-builder/builtin/app-template/speech_report_generator/template_speech_report_generator.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('9bcd8f4ff51e45638235e56499d545db', '演讲报告生成', 'workflow', 'chatbot', '{"icon": "", "app_type": "ad7fca4851394495a90723eb6bcd6141", "greeting": null, "description": "帮助用户根据演讲主题与内容快速生成结构清晰、重点突出的演讲报告。"}', 'ad7fca4851394495a90723eb6bcd6141', 0, 0, 0, '1.0.0', '8466766d93824a37b38da29feaf30c1c', '7bdc072e15db434fa0ce19401946ee66', 'system', '2025-06-23 03:14:43.263738', 'system', '2025-06-23 03:14:43.263738', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('9bcd8f4ff51e45638235e56499d545db', '演讲报告生成', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/6436a187-0d9a-4a07-baf3-58fbfb428c0e.png&fileName=PixPin_2025-06-27_11-24-29.png", "app_type": "ad7fca4851394495a90723eb6bcd6141", "greeting": null, "description": "帮助用户根据演讲主题与内容快速生成结构清晰、重点突出的演讲报告。"}', 'ad7fca4851394495a90723eb6bcd6141', 0, 0, 0, '1.0.0', '8466766d93824a37b38da29feaf30c1c', '7bdc072e15db434fa0ce19401946ee66', 'system', '2025-06-23 03:14:43.263738', 'system', '2025-06-23 03:14:43.263738', 0) 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 ('8466766d93824a37b38da29feaf30c1c', 'b8986770a6ffef44bbf2a9f26d6fc1be', '9bcd8f4ff51e45638235e56499d545db', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 03:14:43.263717', 'system', '2025-06-23 03:14:43.263717', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/sql_master/2a47199a-83b5-4f3d-9985-9b38b20b5033.png b/app-builder/builtin/app-template/sql_master/2a47199a-83b5-4f3d-9985-9b38b20b5033.png new file mode 100644 index 0000000000..a01f12e598 Binary files /dev/null and b/app-builder/builtin/app-template/sql_master/2a47199a-83b5-4f3d-9985-9b38b20b5033.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_sql_master.sql b/app-builder/builtin/app-template/sql_master/template_sql_master.sql similarity index 98% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_sql_master.sql rename to app-builder/builtin/app-template/sql_master/template_sql_master.sql index 9a11af7855..f7f1d57a31 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_sql_master.sql +++ b/app-builder/builtin/app-template/sql_master/template_sql_master.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('1099008470824d8c8d0578cc56bd3299', 'SQL语言大师', 'basic', 'agent', '{"icon": null, "app_type": "099201eaee2346a7bffd76bbdbfb0c7e", "greeting": null, "description": "一个能读懂自然语言、生成准确SQL的AI助手,轻松接入你的数据库开发流程。"}', '099201eaee2346a7bffd76bbdbfb0c7e', 0, 0, 0, '1.0.0', '2c6e57a6c9954422be2d9749e828fe82', '57461224b7da442bb63647c4aff2a0e3', 'system', '2025-06-23 06:49:11.140585', 'system', '2025-06-23 06:49:11.140585', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('1099008470824d8c8d0578cc56bd3299', 'SQL语言大师', 'basic', 'agent', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/2a47199a-83b5-4f3d-9985-9b38b20b5033.png&fileName=PixPin_2025-06-27_10-10-28.png", "app_type": "099201eaee2346a7bffd76bbdbfb0c7e", "greeting": null, "description": "一个能读懂自然语言、生成准确SQL的AI助手,轻松接入你的数据库开发流程。"}', '099201eaee2346a7bffd76bbdbfb0c7e', 0, 0, 0, '1.0.0', '2c6e57a6c9954422be2d9749e828fe82', '57461224b7da442bb63647c4aff2a0e3', 'system', '2025-06-23 06:49:11.140585', 'system', '2025-06-23 06:49:11.140585', 0) 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 ('2c6e57a6c9954422be2d9749e828fe82', 'b8986770a6ffef44bbf2a9f26d6fc1bc', '1099008470824d8c8d0578cc56bd3299', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-23 06:49:11.14052', 'system', '2025-06-23 06:49:11.14052', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/app-builder/builtin/app-template/tarot/d2ae338d-5bbb-47ef-8846-12316269a0eb.png b/app-builder/builtin/app-template/tarot/d2ae338d-5bbb-47ef-8846-12316269a0eb.png new file mode 100644 index 0000000000..d1c37606dd Binary files /dev/null and b/app-builder/builtin/app-template/tarot/d2ae338d-5bbb-47ef-8846-12316269a0eb.png differ diff --git a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_tarot.sql b/app-builder/builtin/app-template/tarot/template_tarot.sql similarity index 98% rename from app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_tarot.sql rename to app-builder/builtin/app-template/tarot/template_tarot.sql index db48ea1b14..4866a2e9e6 100644 --- a/app-builder/jane/plugins/aipp-plugin/src/main/resources/sql/data/template_tarot.sql +++ b/app-builder/builtin/app-template/tarot/template_tarot.sql @@ -1,4 +1,4 @@ -INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('72f27bef57de4e7c8a0d13d700b81f8a', '塔罗', 'workflow', 'chatbot', '{"icon": "", "app_type": "dadb32e11d0f49c8b3b2b3b78f32adcb", "greeting": "", "description": "塔罗小程序,可以抽取每日运势,并和小女巫对话"}', 'dadb32e11d0f49c8b3b2b3b78f32adcb', 0, 0, 2, '1.0.0', '43df8f8626754d45b145446d0b8c7a92', 'e30fddffe6a14c97aa9d0c843d78218e', 'system', '2025-06-19 06:47:23.677843', 'system', '2025-06-19 06:47:23.677843', 0) ON CONFLICT ("id") DO NOTHING; +INSERT INTO "public"."app_template" ("id", "name", "built_type", "category", "attributes", "app_type", "like", "collection", "usage", "version", "config_id", "flow_graph_id", "create_by", "create_at", "update_by", "update_at", "is_deleted") VALUES ('72f27bef57de4e7c8a0d13d700b81f8a', '塔罗', 'workflow', 'chatbot', '{"icon": "/api/jober/v1/api/31f20efc7e0848deab6a6bc10fc3021e/file?filePath=/var/share/d2ae338d-5bbb-47ef-8846-12316269a0eb.png&fileName=%E5%A1%94%E7%BD%97.png", "app_type": "dadb32e11d0f49c8b3b2b3b78f32adcb", "greeting": "", "description": "塔罗小程序,可以抽取每日运势,并和小女巫对话"}', 'dadb32e11d0f49c8b3b2b3b78f32adcb', 0, 0, 2, '1.0.0', '43df8f8626754d45b145446d0b8c7a92', 'e30fddffe6a14c97aa9d0c843d78218e', 'system', '2025-06-19 06:47:23.677843', 'system', '2025-06-19 06:47:23.677843', 0) 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 ('43df8f8626754d45b145446d0b8c7a92', 'b8986770a6ffef44bbf2a9f26d6fc1be', '72f27bef57de4e7c8a0d13d700b81f8a', '31f20efc7e0848deab6a6bc10fc3021e', 'system', '2025-06-19 06:47:23.677827', 'system', '2025-06-19 06:47:23.677827', 0) ON CONFLICT ("id") DO NOTHING; diff --git a/shell/icon_build.sh b/shell/icon_build.sh new file mode 100644 index 0000000000..7a8a3dbe61 --- /dev/null +++ b/shell/icon_build.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +directory="../icon" + +# 创建目录(若不存在) +mkdir -p "$directory" + +# 清空目录内容(仅在目录存在时执行) +if [ -d "$directory" ]; then + find "$directory" -mindepth 1 -delete +fi + +# 查找并复制所有 .png 文件 +icon_list=$(find ../app-builder/builtin/app-template -name "*.png") + +echo "${icon_list}" +for icon_file in ${icon_list} +do + cp "$icon_file" "$directory" +done + +exit 0 \ No newline at end of file diff --git a/shell/sql_build.sh b/shell/sql_build.sh index 53a47a0c61..5afe393f57 100644 --- a/shell/sql_build.sh +++ b/shell/sql_build.sh @@ -140,6 +140,12 @@ do cp "$i" "$directory/data" done -exit 0 - +# app-template 相关 sql 脚本 +app_template_data_sql_list=$(find "../app-builder/builtin/app-template" -name '*.sql') +echo "${app_template_data_sql_list}" +for sql_file in ${app_template_data_sql_list} +do + cp "$sql_file" "$directory/data" +done +exit 0 \ No newline at end of file