mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: Update customer service template with query references to RewriteQuestion (#8252)
### What problem does this PR solve? - Add query references to "RewriteQuestion:AllNightsSniff" in multiple components - Set "selected" to false for retrieval node ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -52,7 +52,10 @@
|
|||||||
"parameters": [],
|
"parameters": [],
|
||||||
"presence_penalty": 0.4,
|
"presence_penalty": 0.4,
|
||||||
"prompt": "",
|
"prompt": "",
|
||||||
"query": [],
|
"query": [{
|
||||||
|
"type": "reference",
|
||||||
|
"component_id": "RewriteQuestion:AllNightsSniff"
|
||||||
|
}],
|
||||||
"temperature": 0.1,
|
"temperature": 0.1,
|
||||||
"top_p": 0.3
|
"top_p": 0.3
|
||||||
}
|
}
|
||||||
@ -195,14 +198,13 @@
|
|||||||
"message_history_window_size": 22,
|
"message_history_window_size": 22,
|
||||||
"output": null,
|
"output": null,
|
||||||
"output_var_name": "output",
|
"output_var_name": "output",
|
||||||
"query": [],
|
|
||||||
"rerank_id": "",
|
"rerank_id": "",
|
||||||
"similarity_threshold": 0.2,
|
"similarity_threshold": 0.2,
|
||||||
"top_k": 1024,
|
"top_k": 1024,
|
||||||
"top_n": 6,
|
"top_n": 6,
|
||||||
"query": [{
|
"query": [{
|
||||||
"type": "reference",
|
"type": "reference",
|
||||||
"component_id": "answer:0"
|
"component_id": "RewriteQuestion:AllNightsSniff"
|
||||||
}],
|
}],
|
||||||
"use_kg": false
|
"use_kg": false
|
||||||
}
|
}
|
||||||
@ -553,7 +555,11 @@
|
|||||||
"temperature": 0.1,
|
"temperature": 0.1,
|
||||||
"temperatureEnabled": true,
|
"temperatureEnabled": true,
|
||||||
"topPEnabled": true,
|
"topPEnabled": true,
|
||||||
"top_p": 0.3
|
"top_p": 0.3,
|
||||||
|
"query": [{
|
||||||
|
"type": "reference",
|
||||||
|
"component_id": "RewriteQuestion:AllNightsSniff"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"label": "Categorize",
|
"label": "Categorize",
|
||||||
"name": "Question Categorize"
|
"name": "Question Categorize"
|
||||||
@ -630,7 +636,11 @@
|
|||||||
"keywords_similarity_weight": 0.3,
|
"keywords_similarity_weight": 0.3,
|
||||||
"similarity_threshold": 0.2,
|
"similarity_threshold": 0.2,
|
||||||
"top_k": 1024,
|
"top_k": 1024,
|
||||||
"top_n": 6
|
"top_n": 6,
|
||||||
|
"query": [{
|
||||||
|
"type": "reference",
|
||||||
|
"component_id": "RewriteQuestion:AllNightsSniff"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"label": "Retrieval",
|
"label": "Retrieval",
|
||||||
"name": "Search product info"
|
"name": "Search product info"
|
||||||
@ -650,7 +660,7 @@
|
|||||||
"x": 674.4543037737495,
|
"x": 674.4543037737495,
|
||||||
"y": 855.3858500356805
|
"y": 855.3858500356805
|
||||||
},
|
},
|
||||||
"selected": true,
|
"selected": false,
|
||||||
"sourcePosition": "right",
|
"sourcePosition": "right",
|
||||||
"targetPosition": "left",
|
"targetPosition": "left",
|
||||||
"type": "retrievalNode",
|
"type": "retrievalNode",
|
||||||
|
|||||||
Reference in New Issue
Block a user