From 800e263f641567c3d2f259481c51cd9ff187256e Mon Sep 17 00:00:00 2001 From: Kenny Date: Fri, 13 Jun 2025 14:31:36 +0800 Subject: [PATCH] Fix: Update customer_service.json (#8238) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What problem does this PR solve? The issue of reporting the 「Can't inference the where the component input is. Please identify whose output is this component's input」error when creating an Agent using the Customer service template has been resolved. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- agent/templates/customer_service.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/agent/templates/customer_service.json b/agent/templates/customer_service.json index 0723ed5d8..c60474a68 100644 --- a/agent/templates/customer_service.json +++ b/agent/templates/customer_service.json @@ -199,7 +199,12 @@ "rerank_id": "", "similarity_threshold": 0.2, "top_k": 1024, - "top_n": 6 + "top_n": 6, + "query": [{ + "type": "reference", + "component_id": "answer:0" + }], + "use_kg": false } }, "upstream": [ @@ -645,7 +650,7 @@ "x": 674.4543037737495, "y": 855.3858500356805 }, - "selected": false, + "selected": true, "sourcePosition": "right", "targetPosition": "left", "type": "retrievalNode", @@ -932,7 +937,7 @@ "y": 962.5655101584402 }, "resizing": false, - "selected": true, + "selected": false, "sourcePosition": "right", "style": { "height": 163,