Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: agent template error. (#9784)

Kevin Hu4720849ac06b
diff --git a/agent/templates/ecommerce_customer_service_workflow.json b/agent/templates/ecommerce_customer_service_workflow.json
index b97e8f5bab..010e9e1ccc 100644
--- a/agent/templates/ecommerce_customer_service_workflow.json
+++ b/agent/templates/ecommerce_customer_service_workflow.json
@@ -1,7 +1,13 @@
{
"id": 22,
- "title": "Ecommerce Customer Service Workflow",
- "description": "This template helps e-commerce platforms address complex customer needs, such as comparing product features, providing usage support, and coordinating home installation services.",
+ "title": {
+ "en": "Ecommerce Customer Service Workflow",
+ "zh": "电子商务客户服务工作流程"
+ },
+ "description": {
+ "en": "This template helps e-commerce platforms address complex customer needs, such as comparing product features, providing usage support, and coordinating home installation services.",
+ "zh": "该模板可帮助电子商务平台解决复杂的客户需求,例如比较产品功能、提供使用支持和协调家庭安装服务。"
+ },
"canvas_type": "Customer Support",
"dsl": {
"components": {
diff --git a/agent/templates/trip_planner.json b/agent/templates/trip_planner.json
index 322cf7be0e..9749a84d65 100644
--- a/agent/templates/trip_planner.json
+++ b/agent/templates/trip_planner.json
@@ -4,7 +4,7 @@
"title": {
"en": "Trip Planner",
"zh": "旅行规划"},
- "description":
+ "description": {
"en": "This smart trip planner utilizes LLM technology to automatically generate customized travel itineraries, with optional tool integration for enhanced reliability.",
"zh": "智能旅行规划将利用大模型自动生成定制化的旅行行程,附带可选工具集成,以增强可靠性。"},
"canvas_type": "Consumer App",