Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

customer_support.json 53KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  1. {
  2. "id": 10,
  3. "title": "Customer Support",
  4. "description": "This is an intelligent customer service processing system workflow based on user intent classification. It uses LLM to identify user demand types and transfers them to the corresponding professional agent for processing.",
  5. "canvas_type": "Customer Support",
  6. "dsl": {
  7. "components": {
  8. "Agent:DullTownsHope": {
  9. "downstream": [
  10. "Message:GreatDucksArgue"
  11. ],
  12. "obj": {
  13. "component_name": "Agent",
  14. "params": {
  15. "delay_after_error": 1,
  16. "description": "",
  17. "exception_comment": "",
  18. "exception_default_value": "",
  19. "exception_goto": [],
  20. "exception_method": null,
  21. "frequencyPenaltyEnabled": false,
  22. "frequency_penalty": 0.3,
  23. "llm_id": "deepseek-chat@DeepSeek",
  24. "maxTokensEnabled": false,
  25. "max_retries": 3,
  26. "max_rounds": 5,
  27. "max_tokens": 4096,
  28. "mcp": [],
  29. "message_history_window_size": 12,
  30. "outputs": {
  31. "content": {
  32. "type": "string",
  33. "value": ""
  34. }
  35. },
  36. "parameter": "Balance",
  37. "presencePenaltyEnabled": false,
  38. "presence_penalty": 0.2,
  39. "prompts": [
  40. {
  41. "content": "The user query is {sys.query}",
  42. "role": "user"
  43. }
  44. ],
  45. "sys_prompt": "You are an empathetic mood-soothing assistant. \n\nYour role is to comfort and encourage users when they feel upset or frustrated. \n\n- Use a warm, kind, and understanding tone. \n\n- Focus on showing empathy and emotional support rather than solving the problem directly. \n\n- Always encourage users with positive and reassuring statements. ",
  46. "temperature": 0.5,
  47. "temperatureEnabled": true,
  48. "tools": [],
  49. "topPEnabled": false,
  50. "top_p": 0.85,
  51. "user_prompt": "",
  52. "visual_files_var": ""
  53. }
  54. },
  55. "upstream": [
  56. "Categorize:DullFriendsThank"
  57. ]
  58. },
  59. "Agent:KhakiSunsJudge": {
  60. "downstream": [
  61. "Message:GreatDucksArgue"
  62. ],
  63. "obj": {
  64. "component_name": "Agent",
  65. "params": {
  66. "delay_after_error": 1,
  67. "description": "",
  68. "exception_comment": "",
  69. "exception_default_value": "",
  70. "exception_goto": [],
  71. "exception_method": null,
  72. "frequencyPenaltyEnabled": false,
  73. "frequency_penalty": 0.7,
  74. "llm_id": "deepseek-chat@DeepSeek",
  75. "maxTokensEnabled": false,
  76. "max_retries": 3,
  77. "max_rounds": 5,
  78. "max_tokens": 256,
  79. "mcp": [],
  80. "message_history_window_size": 12,
  81. "outputs": {
  82. "content": {
  83. "type": "string",
  84. "value": ""
  85. }
  86. },
  87. "presencePenaltyEnabled": false,
  88. "presence_penalty": 0.4,
  89. "prompts": [
  90. {
  91. "content": "The user query is {sys.query}\n\nThe relevant document are {Retrieval:ShyPumasJoke@formalized_content}",
  92. "role": "user"
  93. }
  94. ],
  95. "sys_prompt": "You are a highly professional product information advisor. \n\nYour only mission is to provide accurate, factual, and structured answers to all product-related queries.\n\nAbsolutely no assumptions, guesses, or fabricated content are allowed. \n\n**Key Principles:**\n\n1. **Strict Database Reliance:** \n\n - Every answer must be based solely on the verified product information stored in the relevant documen.\n\n - You are NOT allowed to invent, speculate, or infer details beyond what is retrieved. \n\n - If you cannot find relevant data, respond with: *\"I cannot find this information in our official product database. Please check back later or provide more details for further search.\"*\n\n2. **Information Accuracy and Structure:** \n\n - Provide information in a clear, concise, and professional way. \n\n - Use bullet points or numbered lists if there are multiple key points (e.g., features, price, warranty, technical specifications). \n\n - Always specify the version or model number when applicable to avoid confusion.\n\n3. **Tone and Style:** \n\n - Maintain a polite, professional, and helpful tone at all times. \n\n - Avoid marketing exaggeration or promotional language; stay strictly factual. \n\n - Do not express personal opinions; only cite official product data.\n\n4. **User Guidance:** \n\n - If the user\u2019s query is unclear or too broad, politely request clarification or guide them to provide more specific product details (e.g., product name, model, version). \n\n - Example: *\"Could you please specify the product model or category so I can retrieve the most relevant information for you?\"*\n\n5. **Response Length and Formatting:** \n\n - Keep each answer within 100\u2013150 words for general queries. \n\n - For complex or multi-step explanations, you may extend to 200\u2013250 words, but always remain clear and well-structured.\n\n6. **Critical Reminder:** \n\nYour authority and reliability depend entirely on the relevant document responses. Any fabricated, speculative, or unverified content will be considered a critical failure of your role.\n\n\n",
  96. "temperature": 0.1,
  97. "temperatureEnabled": true,
  98. "tools": [],
  99. "topPEnabled": false,
  100. "top_p": 0.3,
  101. "user_prompt": "",
  102. "visual_files_var": ""
  103. }
  104. },
  105. "upstream": [
  106. "Retrieval:ShyPumasJoke"
  107. ]
  108. },
  109. "Agent:TwelveOwlsWatch": {
  110. "downstream": [
  111. "Message:GreatDucksArgue"
  112. ],
  113. "obj": {
  114. "component_name": "Agent",
  115. "params": {
  116. "delay_after_error": 1,
  117. "description": "",
  118. "exception_comment": "",
  119. "exception_default_value": "",
  120. "exception_goto": [],
  121. "exception_method": null,
  122. "frequencyPenaltyEnabled": false,
  123. "frequency_penalty": 0.3,
  124. "llm_id": "deepseek-chat@DeepSeek",
  125. "maxTokensEnabled": false,
  126. "max_retries": 3,
  127. "max_rounds": 5,
  128. "max_tokens": 4096,
  129. "mcp": [],
  130. "message_history_window_size": 12,
  131. "outputs": {
  132. "content": {
  133. "type": "string",
  134. "value": ""
  135. }
  136. },
  137. "parameter": "Balance",
  138. "presencePenaltyEnabled": false,
  139. "presence_penalty": 0.2,
  140. "prompts": [
  141. {
  142. "content": "The user query is {sys.query}",
  143. "role": "user"
  144. }
  145. ],
  146. "sys_prompt": "You are a friendly and casual conversational assistant. \n\nYour primary goal is to engage users in light and enjoyable daily conversation. \n\n- Keep a natural, relaxed, and positive tone. \n\n- Avoid sensitive, controversial, or negative topics. \n\n- You may gently guide the conversation by introducing related casual topics if the user shows interest. \n\n",
  147. "temperature": 0.5,
  148. "temperatureEnabled": true,
  149. "tools": [],
  150. "topPEnabled": false,
  151. "top_p": 0.85,
  152. "user_prompt": "",
  153. "visual_files_var": ""
  154. }
  155. },
  156. "upstream": [
  157. "Categorize:DullFriendsThank"
  158. ]
  159. },
  160. "Categorize:DullFriendsThank": {
  161. "downstream": [
  162. "Message:BreezyDonutsHeal",
  163. "Agent:TwelveOwlsWatch",
  164. "Agent:DullTownsHope",
  165. "Retrieval:ShyPumasJoke"
  166. ],
  167. "obj": {
  168. "component_name": "Categorize",
  169. "params": {
  170. "category_description": {
  171. "1. contact": {
  172. "description": "This answer provide a specific contact information, like e-mail, phone number, wechat number, line number, twitter, discord, etc,.",
  173. "examples": [
  174. "My phone number is 203921\nkevinhu.hk@gmail.com\nThis is my discord number: johndowson_29384\n13212123432\n8379829"
  175. ],
  176. "to": [
  177. "Message:BreezyDonutsHeal"
  178. ]
  179. },
  180. "2. casual": {
  181. "description": "The question is not about the product usage, appearance and how it works. Just casual chat.",
  182. "examples": [
  183. "How are you doing?\nWhat is your name?\nAre you a robot?\nWhat's the weather?\nWill it rain?"
  184. ],
  185. "to": [
  186. "Agent:TwelveOwlsWatch"
  187. ]
  188. },
  189. "3. complain": {
  190. "description": "Complain even curse about the product or service you provide. But the comment is not specific enough.",
  191. "examples": [
  192. "How bad is it.\nIt's really sucks.\nDamn, for God's sake, can it be more steady?\nShit, I just can't use this shit.\nI can't stand it anymore."
  193. ],
  194. "to": [
  195. "Agent:DullTownsHope"
  196. ]
  197. },
  198. "4. product related": {
  199. "description": "The question is about the product usage, appearance and how it works.",
  200. "examples": [
  201. "Why it always beaming?\nHow to install it onto the wall?\nIt leaks, what to do?\nException: Can't connect to ES cluster\nHow to build the RAGFlow image from scratch"
  202. ],
  203. "to": [
  204. "Retrieval:ShyPumasJoke"
  205. ]
  206. }
  207. },
  208. "llm_id": "deepseek-chat@DeepSeek",
  209. "message_history_window_size": 1,
  210. "outputs": {
  211. "category_name": {
  212. "type": "string"
  213. }
  214. },
  215. "query": "sys.query",
  216. "temperature": "0.1"
  217. }
  218. },
  219. "upstream": [
  220. "begin"
  221. ]
  222. },
  223. "Message:BreezyDonutsHeal": {
  224. "downstream": [],
  225. "obj": {
  226. "component_name": "Message",
  227. "params": {
  228. "content": [
  229. "Okay, I've already write this down. What else I can do for you?",
  230. "Get it. What else I can do for you?",
  231. "Thanks for your trust! Our expert will contact ASAP. So, anything else I can do for you?",
  232. "Thanks! So, anything else I can do for you?"
  233. ]
  234. }
  235. },
  236. "upstream": [
  237. "Categorize:DullFriendsThank"
  238. ]
  239. },
  240. "Message:GreatDucksArgue": {
  241. "downstream": [],
  242. "obj": {
  243. "component_name": "Message",
  244. "params": {
  245. "content": [
  246. "{Agent:TwelveOwlsWatch@content}{Agent:DullTownsHope@content}{Agent:KhakiSunsJudge@content}"
  247. ]
  248. }
  249. },
  250. "upstream": [
  251. "Agent:TwelveOwlsWatch",
  252. "Agent:DullTownsHope",
  253. "Agent:KhakiSunsJudge"
  254. ]
  255. },
  256. "Retrieval:ShyPumasJoke": {
  257. "downstream": [
  258. "Agent:KhakiSunsJudge"
  259. ],
  260. "obj": {
  261. "component_name": "Retrieval",
  262. "params": {
  263. "cross_languages": [],
  264. "empty_response": "",
  265. "kb_ids": [],
  266. "keywords_similarity_weight": 0.7,
  267. "outputs": {
  268. "formalized_content": {
  269. "type": "string",
  270. "value": ""
  271. }
  272. },
  273. "query": "sys.query",
  274. "rerank_id": "",
  275. "similarity_threshold": 0.2,
  276. "top_k": 1024,
  277. "top_n": 8,
  278. "use_kg": false
  279. }
  280. },
  281. "upstream": [
  282. "Categorize:DullFriendsThank"
  283. ]
  284. },
  285. "begin": {
  286. "downstream": [
  287. "Categorize:DullFriendsThank"
  288. ],
  289. "obj": {
  290. "component_name": "Begin",
  291. "params": {
  292. "enablePrologue": true,
  293. "inputs": {},
  294. "mode": "conversational",
  295. "prologue": "Hi! I'm an official AI customer service representative. How can I help you?"
  296. }
  297. },
  298. "upstream": []
  299. }
  300. },
  301. "globals": {
  302. "sys.conversation_turns": 0,
  303. "sys.files": [],
  304. "sys.query": "",
  305. "sys.user_id": ""
  306. },
  307. "graph": {
  308. "edges": [
  309. {
  310. "data": {
  311. "isHovered": false
  312. },
  313. "id": "xy-edge__beginstart-Categorize:DullFriendsThankend",
  314. "source": "begin",
  315. "sourceHandle": "start",
  316. "target": "Categorize:DullFriendsThank",
  317. "targetHandle": "end"
  318. },
  319. {
  320. "data": {
  321. "isHovered": false
  322. },
  323. "id": "xy-edge__Categorize:DullFriendsThanke4d754a5-a33e-4096-8648-8688e5474a15-Message:BreezyDonutsHealend",
  324. "source": "Categorize:DullFriendsThank",
  325. "sourceHandle": "e4d754a5-a33e-4096-8648-8688e5474a15",
  326. "target": "Message:BreezyDonutsHeal",
  327. "targetHandle": "end"
  328. },
  329. {
  330. "data": {
  331. "isHovered": false
  332. },
  333. "id": "xy-edge__Categorize:DullFriendsThank8cbf6ea3-a176-490d-9f8c-86373c932583-Agent:TwelveOwlsWatchend",
  334. "source": "Categorize:DullFriendsThank",
  335. "sourceHandle": "8cbf6ea3-a176-490d-9f8c-86373c932583",
  336. "target": "Agent:TwelveOwlsWatch",
  337. "targetHandle": "end"
  338. },
  339. {
  340. "data": {
  341. "isHovered": false
  342. },
  343. "id": "xy-edge__Categorize:DullFriendsThankacc40a78-1b9e-4d2f-b5d6-64e01ab69269-Agent:DullTownsHopeend",
  344. "source": "Categorize:DullFriendsThank",
  345. "sourceHandle": "acc40a78-1b9e-4d2f-b5d6-64e01ab69269",
  346. "target": "Agent:DullTownsHope",
  347. "targetHandle": "end"
  348. },
  349. {
  350. "data": {
  351. "isHovered": false
  352. },
  353. "id": "xy-edge__Categorize:DullFriendsThankdfa5eead-9341-4f22-9236-068dbfb745e8-Retrieval:ShyPumasJokeend",
  354. "source": "Categorize:DullFriendsThank",
  355. "sourceHandle": "dfa5eead-9341-4f22-9236-068dbfb745e8",
  356. "target": "Retrieval:ShyPumasJoke",
  357. "targetHandle": "end"
  358. },
  359. {
  360. "data": {
  361. "isHovered": false
  362. },
  363. "id": "xy-edge__Retrieval:ShyPumasJokestart-Agent:KhakiSunsJudgeend",
  364. "source": "Retrieval:ShyPumasJoke",
  365. "sourceHandle": "start",
  366. "target": "Agent:KhakiSunsJudge",
  367. "targetHandle": "end"
  368. },
  369. {
  370. "data": {
  371. "isHovered": false
  372. },
  373. "id": "xy-edge__Agent:TwelveOwlsWatchstart-Message:GreatDucksArgueend",
  374. "source": "Agent:TwelveOwlsWatch",
  375. "sourceHandle": "start",
  376. "target": "Message:GreatDucksArgue",
  377. "targetHandle": "end"
  378. },
  379. {
  380. "data": {
  381. "isHovered": false
  382. },
  383. "id": "xy-edge__Agent:DullTownsHopestart-Message:GreatDucksArgueend",
  384. "markerEnd": "logo",
  385. "source": "Agent:DullTownsHope",
  386. "sourceHandle": "start",
  387. "style": {
  388. "stroke": "rgba(91, 93, 106, 1)",
  389. "strokeWidth": 1
  390. },
  391. "target": "Message:GreatDucksArgue",
  392. "targetHandle": "end",
  393. "type": "buttonEdge",
  394. "zIndex": 1001
  395. },
  396. {
  397. "data": {
  398. "isHovered": false
  399. },
  400. "id": "xy-edge__Agent:KhakiSunsJudgestart-Message:GreatDucksArgueend",
  401. "markerEnd": "logo",
  402. "source": "Agent:KhakiSunsJudge",
  403. "sourceHandle": "start",
  404. "style": {
  405. "stroke": "rgba(91, 93, 106, 1)",
  406. "strokeWidth": 1
  407. },
  408. "target": "Message:GreatDucksArgue",
  409. "targetHandle": "end",
  410. "type": "buttonEdge",
  411. "zIndex": 1001
  412. }
  413. ],
  414. "nodes": [
  415. {
  416. "data": {
  417. "form": {
  418. "enablePrologue": true,
  419. "inputs": {},
  420. "mode": "conversational",
  421. "prologue": "Hi! I'm an official AI customer service representative. How can I help you?"
  422. },
  423. "label": "Begin",
  424. "name": "begin"
  425. },
  426. "id": "begin",
  427. "measured": {
  428. "height": 48,
  429. "width": 200
  430. },
  431. "position": {
  432. "x": 50,
  433. "y": 200
  434. },
  435. "selected": false,
  436. "sourcePosition": "left",
  437. "targetPosition": "right",
  438. "type": "beginNode"
  439. },
  440. {
  441. "data": {
  442. "form": {
  443. "frequencyPenaltyEnabled": false,
  444. "frequency_penalty": 0.5,
  445. "items": [
  446. {
  447. "description": "This answer provide a specific contact information, like e-mail, phone number, wechat number, line number, twitter, discord, etc,.",
  448. "examples": [
  449. {
  450. "value": "My phone number is 203921\nkevinhu.hk@gmail.com\nThis is my discord number: johndowson_29384\n13212123432\n8379829"
  451. }
  452. ],
  453. "name": "1. contact",
  454. "uuid": "e4d754a5-a33e-4096-8648-8688e5474a15"
  455. },
  456. {
  457. "description": "The question is not about the product usage, appearance and how it works. Just casual chat.",
  458. "examples": [
  459. {
  460. "value": "How are you doing?\nWhat is your name?\nAre you a robot?\nWhat's the weather?\nWill it rain?"
  461. }
  462. ],
  463. "name": "2. casual",
  464. "uuid": "8cbf6ea3-a176-490d-9f8c-86373c932583"
  465. },
  466. {
  467. "description": "Complain even curse about the product or service you provide. But the comment is not specific enough.",
  468. "examples": [
  469. {
  470. "value": "How bad is it.\nIt's really sucks.\nDamn, for God's sake, can it be more steady?\nShit, I just can't use this shit.\nI can't stand it anymore."
  471. }
  472. ],
  473. "name": "3. complain",
  474. "uuid": "acc40a78-1b9e-4d2f-b5d6-64e01ab69269"
  475. },
  476. {
  477. "description": "The question is about the product usage, appearance and how it works.",
  478. "examples": [
  479. {
  480. "value": "Why it always beaming?\nHow to install it onto the wall?\nIt leaks, what to do?\nException: Can't connect to ES cluster\nHow to build the RAGFlow image from scratch"
  481. }
  482. ],
  483. "name": "4. product related",
  484. "uuid": "dfa5eead-9341-4f22-9236-068dbfb745e8"
  485. }
  486. ],
  487. "llm_id": "deepseek-chat@DeepSeek",
  488. "maxTokensEnabled": false,
  489. "max_tokens": 4096,
  490. "message_history_window_size": 1,
  491. "outputs": {
  492. "category_name": {
  493. "type": "string"
  494. }
  495. },
  496. "parameter": "Precise",
  497. "presencePenaltyEnabled": false,
  498. "presence_penalty": 0.5,
  499. "query": "sys.query",
  500. "temperature": "0.1",
  501. "temperatureEnabled": true,
  502. "topPEnabled": false,
  503. "top_p": 0.75
  504. },
  505. "label": "Categorize",
  506. "name": "Categorize"
  507. },
  508. "dragging": false,
  509. "id": "Categorize:DullFriendsThank",
  510. "measured": {
  511. "height": 204,
  512. "width": 200
  513. },
  514. "position": {
  515. "x": 377.1140727959881,
  516. "y": 138.1799140251472
  517. },
  518. "selected": false,
  519. "sourcePosition": "right",
  520. "targetPosition": "left",
  521. "type": "categorizeNode"
  522. },
  523. {
  524. "data": {
  525. "form": {
  526. "content": [
  527. "Okay, I've already write this down. What else I can do for you?",
  528. "Get it. What else I can do for you?",
  529. "Thanks for your trust! Our expert will contact ASAP. So, anything else I can do for you?",
  530. "Thanks! So, anything else I can do for you?"
  531. ]
  532. },
  533. "label": "Message",
  534. "name": "What else?"
  535. },
  536. "dragging": false,
  537. "id": "Message:BreezyDonutsHeal",
  538. "measured": {
  539. "height": 56,
  540. "width": 200
  541. },
  542. "position": {
  543. "x": 724.8348409169271,
  544. "y": 60.09138437270154
  545. },
  546. "selected": false,
  547. "sourcePosition": "right",
  548. "targetPosition": "left",
  549. "type": "messageNode"
  550. },
  551. {
  552. "data": {
  553. "form": {
  554. "delay_after_error": 1,
  555. "description": "",
  556. "exception_comment": "",
  557. "exception_default_value": "",
  558. "exception_goto": [],
  559. "exception_method": null,
  560. "frequencyPenaltyEnabled": false,
  561. "frequency_penalty": 0.3,
  562. "llm_id": "deepseek-chat@DeepSeek",
  563. "maxTokensEnabled": false,
  564. "max_retries": 3,
  565. "max_rounds": 5,
  566. "max_tokens": 4096,
  567. "mcp": [],
  568. "message_history_window_size": 12,
  569. "outputs": {
  570. "content": {
  571. "type": "string",
  572. "value": ""
  573. }
  574. },
  575. "parameter": "Balance",
  576. "presencePenaltyEnabled": false,
  577. "presence_penalty": 0.2,
  578. "prompts": [
  579. {
  580. "content": "The user query is {sys.query}",
  581. "role": "user"
  582. }
  583. ],
  584. "sys_prompt": "You are a friendly and casual conversational assistant. \n\nYour primary goal is to engage users in light and enjoyable daily conversation. \n\n- Keep a natural, relaxed, and positive tone. \n\n- Avoid sensitive, controversial, or negative topics. \n\n- You may gently guide the conversation by introducing related casual topics if the user shows interest. \n\n",
  585. "temperature": 0.5,
  586. "temperatureEnabled": true,
  587. "tools": [],
  588. "topPEnabled": false,
  589. "top_p": 0.85,
  590. "user_prompt": "",
  591. "visual_files_var": ""
  592. },
  593. "label": "Agent",
  594. "name": "Causal chat"
  595. },
  596. "dragging": false,
  597. "id": "Agent:TwelveOwlsWatch",
  598. "measured": {
  599. "height": 84,
  600. "width": 200
  601. },
  602. "position": {
  603. "x": 720.4965892695689,
  604. "y": 167.46311264481432
  605. },
  606. "selected": false,
  607. "sourcePosition": "right",
  608. "targetPosition": "left",
  609. "type": "agentNode"
  610. },
  611. {
  612. "data": {
  613. "form": {
  614. "delay_after_error": 1,
  615. "description": "",
  616. "exception_comment": "",
  617. "exception_default_value": "",
  618. "exception_goto": [],
  619. "exception_method": null,
  620. "frequencyPenaltyEnabled": false,
  621. "frequency_penalty": 0.3,
  622. "llm_id": "deepseek-chat@DeepSeek",
  623. "maxTokensEnabled": false,
  624. "max_retries": 3,
  625. "max_rounds": 5,
  626. "max_tokens": 4096,
  627. "mcp": [],
  628. "message_history_window_size": 12,
  629. "outputs": {
  630. "content": {
  631. "type": "string",
  632. "value": ""
  633. }
  634. },
  635. "parameter": "Balance",
  636. "presencePenaltyEnabled": false,
  637. "presence_penalty": 0.2,
  638. "prompts": [
  639. {
  640. "content": "The user query is {sys.query}",
  641. "role": "user"
  642. }
  643. ],
  644. "sys_prompt": "You are an empathetic mood-soothing assistant. \n\nYour role is to comfort and encourage users when they feel upset or frustrated. \n\n- Use a warm, kind, and understanding tone. \n\n- Focus on showing empathy and emotional support rather than solving the problem directly. \n\n- Always encourage users with positive and reassuring statements. ",
  645. "temperature": 0.5,
  646. "temperatureEnabled": true,
  647. "tools": [],
  648. "topPEnabled": false,
  649. "top_p": 0.85,
  650. "user_prompt": "",
  651. "visual_files_var": ""
  652. },
  653. "label": "Agent",
  654. "name": "Soothe mood"
  655. },
  656. "dragging": false,
  657. "id": "Agent:DullTownsHope",
  658. "measured": {
  659. "height": 84,
  660. "width": 200
  661. },
  662. "position": {
  663. "x": 722.665715093248,
  664. "y": 281.3422183879642
  665. },
  666. "selected": false,
  667. "sourcePosition": "right",
  668. "targetPosition": "left",
  669. "type": "agentNode"
  670. },
  671. {
  672. "data": {
  673. "form": {
  674. "cross_languages": [],
  675. "empty_response": "",
  676. "kb_ids": [],
  677. "keywords_similarity_weight": 0.7,
  678. "outputs": {
  679. "formalized_content": {
  680. "type": "string",
  681. "value": ""
  682. }
  683. },
  684. "query": "sys.query",
  685. "rerank_id": "",
  686. "similarity_threshold": 0.2,
  687. "top_k": 1024,
  688. "top_n": 8,
  689. "use_kg": false
  690. },
  691. "label": "Retrieval",
  692. "name": "Search product info"
  693. },
  694. "dragging": false,
  695. "id": "Retrieval:ShyPumasJoke",
  696. "measured": {
  697. "height": 56,
  698. "width": 200
  699. },
  700. "position": {
  701. "x": 645.6873721057459,
  702. "y": 516.6923702571407
  703. },
  704. "selected": false,
  705. "sourcePosition": "right",
  706. "targetPosition": "left",
  707. "type": "retrievalNode"
  708. },
  709. {
  710. "data": {
  711. "form": {
  712. "delay_after_error": 1,
  713. "description": "",
  714. "exception_comment": "",
  715. "exception_default_value": "",
  716. "exception_goto": [],
  717. "exception_method": null,
  718. "frequencyPenaltyEnabled": false,
  719. "frequency_penalty": 0.7,
  720. "llm_id": "deepseek-chat@DeepSeek",
  721. "maxTokensEnabled": false,
  722. "max_retries": 3,
  723. "max_rounds": 5,
  724. "max_tokens": 256,
  725. "mcp": [],
  726. "message_history_window_size": 12,
  727. "outputs": {
  728. "content": {
  729. "type": "string",
  730. "value": ""
  731. }
  732. },
  733. "presencePenaltyEnabled": false,
  734. "presence_penalty": 0.4,
  735. "prompts": [
  736. {
  737. "content": "The user query is {sys.query}\n\nThe relevant document are {Retrieval:ShyPumasJoke@formalized_content}",
  738. "role": "user"
  739. }
  740. ],
  741. "sys_prompt": "You are a highly professional product information advisor. \n\nYour only mission is to provide accurate, factual, and structured answers to all product-related queries.\n\nAbsolutely no assumptions, guesses, or fabricated content are allowed. \n\n**Key Principles:**\n\n1. **Strict Database Reliance:** \n\n - Every answer must be based solely on the verified product information stored in the relevant documen.\n\n - You are NOT allowed to invent, speculate, or infer details beyond what is retrieved. \n\n - If you cannot find relevant data, respond with: *\"I cannot find this information in our official product database. Please check back later or provide more details for further search.\"*\n\n2. **Information Accuracy and Structure:** \n\n - Provide information in a clear, concise, and professional way. \n\n - Use bullet points or numbered lists if there are multiple key points (e.g., features, price, warranty, technical specifications). \n\n - Always specify the version or model number when applicable to avoid confusion.\n\n3. **Tone and Style:** \n\n - Maintain a polite, professional, and helpful tone at all times. \n\n - Avoid marketing exaggeration or promotional language; stay strictly factual. \n\n - Do not express personal opinions; only cite official product data.\n\n4. **User Guidance:** \n\n - If the user\u2019s query is unclear or too broad, politely request clarification or guide them to provide more specific product details (e.g., product name, model, version). \n\n - Example: *\"Could you please specify the product model or category so I can retrieve the most relevant information for you?\"*\n\n5. **Response Length and Formatting:** \n\n - Keep each answer within 100\u2013150 words for general queries. \n\n - For complex or multi-step explanations, you may extend to 200\u2013250 words, but always remain clear and well-structured.\n\n6. **Critical Reminder:** \n\nYour authority and reliability depend entirely on the relevant document responses. Any fabricated, speculative, or unverified content will be considered a critical failure of your role.\n\n\n",
  742. "temperature": 0.1,
  743. "temperatureEnabled": true,
  744. "tools": [],
  745. "topPEnabled": false,
  746. "top_p": 0.3,
  747. "user_prompt": "",
  748. "visual_files_var": ""
  749. },
  750. "label": "Agent",
  751. "name": "Product info"
  752. },
  753. "dragging": false,
  754. "id": "Agent:KhakiSunsJudge",
  755. "measured": {
  756. "height": 84,
  757. "width": 200
  758. },
  759. "position": {
  760. "x": 726.580040161058,
  761. "y": 386.5448208363979
  762. },
  763. "selected": false,
  764. "sourcePosition": "right",
  765. "targetPosition": "left",
  766. "type": "agentNode"
  767. },
  768. {
  769. "data": {
  770. "form": {
  771. "content": [
  772. "{Agent:TwelveOwlsWatch@content}{Agent:DullTownsHope@content}{Agent:KhakiSunsJudge@content}"
  773. ]
  774. },
  775. "label": "Message",
  776. "name": "Response"
  777. },
  778. "dragging": false,
  779. "id": "Message:GreatDucksArgue",
  780. "measured": {
  781. "height": 56,
  782. "width": 200
  783. },
  784. "position": {
  785. "x": 1073.6401719497055,
  786. "y": 279.1730925642852
  787. },
  788. "selected": false,
  789. "sourcePosition": "right",
  790. "targetPosition": "left",
  791. "type": "messageNode"
  792. },
  793. {
  794. "data": {
  795. "form": {
  796. "text": "This is an intelligent customer service processing system workflow based on user intent classification. It uses LLM to identify user demand types and transfers them to the corresponding professional agent for processing."
  797. },
  798. "label": "Note",
  799. "name": "Workflow Overall Description"
  800. },
  801. "dragHandle": ".note-drag-handle",
  802. "dragging": false,
  803. "height": 171,
  804. "id": "Note:AllGuestsShow",
  805. "measured": {
  806. "height": 171,
  807. "width": 380
  808. },
  809. "position": {
  810. "x": -283.6407251474677,
  811. "y": 157.2943019466498
  812. },
  813. "resizing": false,
  814. "selected": false,
  815. "sourcePosition": "right",
  816. "targetPosition": "left",
  817. "type": "noteNode",
  818. "width": 380
  819. },
  820. {
  821. "data": {
  822. "form": {
  823. "text": "Here, product document snippets related to the user's question will be retrieved from the knowledge base first, and the relevant document snippets will be passed to the LLM together with the user's question."
  824. },
  825. "label": "Note",
  826. "name": "Product info Agent"
  827. },
  828. "dragHandle": ".note-drag-handle",
  829. "dragging": false,
  830. "height": 154,
  831. "id": "Note:IcyBooksCough",
  832. "measured": {
  833. "height": 154,
  834. "width": 370
  835. },
  836. "position": {
  837. "x": 1014.0959071234828,
  838. "y": 492.830874176321
  839. },
  840. "resizing": false,
  841. "selected": false,
  842. "sourcePosition": "right",
  843. "targetPosition": "left",
  844. "type": "noteNode",
  845. "width": 370
  846. },
  847. {
  848. "data": {
  849. "form": {
  850. "text": "Here, a text will be randomly selected for answering"
  851. },
  852. "label": "Note",
  853. "name": "What else\uff1f"
  854. },
  855. "dragHandle": ".note-drag-handle",
  856. "dragging": false,
  857. "id": "Note:AllThingsHide",
  858. "measured": {
  859. "height": 136,
  860. "width": 249
  861. },
  862. "position": {
  863. "x": 770.7060131788647,
  864. "y": -123.23496705283817
  865. },
  866. "selected": false,
  867. "sourcePosition": "right",
  868. "targetPosition": "left",
  869. "type": "noteNode"
  870. }
  871. ]
  872. },
  873. "history": [],
  874. "messages": [],
  875. "path": [],
  876. "retrieval": []
  877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