2024-07-03 12:15:15 +08:00
{
2024-07-17 12:30:38 +08:00
"id" : 3 ,
2024-07-03 12:15:15 +08:00
"title" : "Customer service" ,
2024-09-05 16:16:03 +08:00
"description" : "A customer service chatbot that explains product specifications, addresses customer queries, and alleviates negative emotions." ,
2024-07-03 12:15:15 +08:00
"canvas_type" : "chatbot" ,
"dsl" : {
2025-02-08 18:09:02 +08:00
"answer" : [ ] ,
"components" : {
"Categorize:EightyWavesEnd" : {
"downstream" : [
"Generate:FullBeersSit" ,
"Message:GoodBugsTurn" ,
"Retrieval:WholeStarsDrive" ,
"Generate:EasyWaysBeg"
] ,
"obj" : {
"component_name" : "Categorize" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"category_description" : {
"1. contact" : {
"description" : "This answer provide a specific contact information, like e-mail, phone number, wechat number, line number, twitter, discord, etc,." ,
"examples" : "My phone number is 203921\nkevinhu.hk@gmail.com\nThis is my discord number: johndowson_29384\n13212123432\n8379829" ,
"to" : "Message:GoodBugsTurn"
} ,
"2. casual" : {
"description" : "The question is not about the product usage, appearance and how it works. Just casual chat." ,
"examples" : "How are you doing?\nWhat is your name?\nAre you a robot?\nWhat's the weather?\nWill it rain?" ,
"to" : "Generate:EasyWaysBeg"
} ,
"3. complain" : {
"description" : "Complain even curse about the product or service you provide. But the comment is not specific enough." ,
"examples" : "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." ,
"to" : "Generate:FullBeersSit"
} ,
"4. product related" : {
"description" : "The question is about the product usage, appearance and how it works." ,
"examples" : "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" ,
"to" : "Retrieval:WholeStarsDrive"
}
} ,
"cite" : true ,
"debug_inputs" : [ ] ,
"frequency_penalty" : 0.7 ,
"inputs" : [ ] ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"max_tokens" : 512 ,
"message_history_window_size" : 8 ,
"output" : null ,
"output_var_name" : "output" ,
"parameters" : [ ] ,
"presence_penalty" : 0.4 ,
"prompt" : "" ,
"query" : [ ] ,
"temperature" : 0.1 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"RewriteQuestion:AllNightsSniff"
]
} ,
"Generate:EasyWaysBeg" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Generate" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"cite" : true ,
"debug_inputs" : [ ] ,
"frequency_penalty" : 0.7 ,
"inputs" : [ ] ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"max_tokens" : 256 ,
"message_history_window_size" : 12 ,
"output" : null ,
"output_var_name" : "output" ,
"parameters" : [ ] ,
"presence_penalty" : 0.4 ,
"prompt" : "You are a customer support. But the customer wants to have a casual chat with you instead of consulting about the product. Be nice, funny, enthusiasm and concern." ,
"query" : [ ] ,
"temperature" : 0.1 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"Categorize:EightyWavesEnd"
]
} ,
"Generate:FullBeersSit" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Generate" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"cite" : false ,
"debug_inputs" : [ ] ,
"frequency_penalty" : 0.7 ,
"inputs" : [ ] ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"max_tokens" : 256 ,
"message_history_window_size" : 12 ,
"output" : null ,
"output_var_name" : "output" ,
"parameters" : [ ] ,
"presence_penalty" : 0.4 ,
"prompt" : "You are a customer support. the Customers complain even curse about the products but not specific enough. You need to ask him/her what's the specific problem with the product. Be nice, patient and concern to soothe your customers’ emotions at first place." ,
"query" : [ ] ,
"temperature" : 0.1 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"Categorize:EightyWavesEnd"
]
} ,
"Generate:YoungTrainsSee" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Generate" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"cite" : false ,
"debug_inputs" : [ ] ,
"frequency_penalty" : 0.7 ,
"inputs" : [ ] ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"max_tokens" : 256 ,
"message_history_window_size" : 12 ,
"output" : null ,
"output_var_name" : "output" ,
"parameters" : [ ] ,
"presence_penalty" : 0.4 ,
"prompt" : "Role: You are a customer support. \n\nTask: Please answer the question based on content of knowledge base. \n\nRequirements & restrictions:\n - DO NOT make things up when all knowledge base content is irrelevant to the question. \n - Answers need to consider chat history.\n - Request about customer's contact information like, Wechat number, LINE number, twitter, discord, etc,. , when knowledge base content can't answer his question. So, product expert could contact him soon to solve his problem.\n\n Knowledge base content is as following:\n {Retrieval:WholeStarsDrive}\n The above is the content of knowledge base." ,
"query" : [ ] ,
"temperature" : 0.1 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"Retrieval:WholeStarsDrive"
]
} ,
"Message:GoodBugsTurn" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Message" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"debug_inputs" : [ ] ,
"inputs" : [ ] ,
"message_history_window_size" : 22 ,
"messages" : [
"Okay, I've already write this down. What else I can do for you?" ,
"Get it. What else I can do for you?" ,
"Thanks for your trust! Our expert will contact ASAP. So, anything else I can do for you?" ,
"Thanks! So, anything else I can do for you?"
] ,
"output" : null ,
"output_var_name" : "output" ,
"query" : [ ]
}
} ,
"upstream" : [
"Categorize:EightyWavesEnd"
]
} ,
"Retrieval:WholeStarsDrive" : {
"downstream" : [
"Generate:YoungTrainsSee"
] ,
"obj" : {
"component_name" : "Retrieval" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"debug_inputs" : [ ] ,
"empty_response" : "" ,
"inputs" : [ ] ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
"message_history_window_size" : 22 ,
"output" : null ,
"output_var_name" : "output" ,
"query" : [ ] ,
"rerank_id" : "" ,
"similarity_threshold" : 0.2 ,
"top_k" : 1024 ,
"top_n" : 6
}
} ,
"upstream" : [
"Categorize:EightyWavesEnd"
]
} ,
"RewriteQuestion:AllNightsSniff" : {
"downstream" : [
"Categorize:EightyWavesEnd"
] ,
"obj" : {
"component_name" : "RewriteQuestion" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"cite" : true ,
"debug_inputs" : [ ] ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"inputs" : [ ] ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"loop" : 1 ,
"maxTokensEnabled" : true ,
"max_tokens" : 256 ,
"message_history_window_size" : 6 ,
"output" : null ,
"output_var_name" : "output" ,
"parameter" : "Precise" ,
"parameters" : [ ] ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"prompt" : "" ,
"query" : [ ] ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_p" : 0.3
}
} ,
"upstream" : [
"answer:0"
]
} ,
"answer:0" : {
"downstream" : [
"RewriteQuestion:AllNightsSniff"
] ,
"obj" : {
"component_name" : "Answer" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"debug_inputs" : [ ] ,
"inputs" : [ ] ,
"message_history_window_size" : 22 ,
"output" : null ,
"output_var_name" : "output" ,
"post_answers" : [ ] ,
"query" : [ ]
}
} ,
"upstream" : [
"Message:GoodBugsTurn" ,
"Generate:FullBeersSit" ,
"begin" ,
"Generate:YoungTrainsSee" ,
"Generate:EasyWaysBeg"
]
} ,
"begin" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Begin" ,
"inputs" : [ ] ,
"output" : null ,
"params" : {
"debug_inputs" : [ ] ,
"inputs" : [ ] ,
"message_history_window_size" : 22 ,
"output" : null ,
"output_var_name" : "output" ,
"prologue" : "Hi! How can I help you?" ,
"query" : [ ]
}
} ,
"upstream" : [ ]
}
} ,
"embed_id" : "" ,
"graph" : {
"edges" : [
{
"id" : "reactflow__edge-Retrieval:WholeStarsDriveb-Generate:YoungTrainsSeeb" ,
"markerEnd" : "logo" ,
"source" : "Retrieval:WholeStarsDrive" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:YoungTrainsSee" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Message:GoodBugsTurnb-answer:0b" ,
"markerEnd" : "logo" ,
"source" : "Message:GoodBugsTurn" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Generate:FullBeersSitb-answer:0b" ,
"markerEnd" : "logo" ,
"source" : "Generate:FullBeersSit" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-begin-answer:0b" ,
"markerEnd" : "logo" ,
"source" : "begin" ,
"sourceHandle" : null ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Generate:YoungTrainsSeec-answer:0b" ,
"markerEnd" : "logo" ,
"source" : "Generate:YoungTrainsSee" ,
"sourceHandle" : "c" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "xy-edge__answer:0c-RewriteQuestion:AllNightsSniffb" ,
"markerEnd" : "logo" ,
"source" : "answer:0" ,
"sourceHandle" : "c" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "RewriteQuestion:AllNightsSniff" ,
"targetHandle" : "b" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
} ,
{
"id" : "xy-edge__RewriteQuestion:AllNightsSniffc-Categorize:EightyWavesEnda" ,
"markerEnd" : "logo" ,
"source" : "RewriteQuestion:AllNightsSniff" ,
"sourceHandle" : "c" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Categorize:EightyWavesEnd" ,
"targetHandle" : "a" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
} ,
{
"id" : "reactflow__edge-Categorize:EightyWavesEnd3. complain-Generate:FullBeersSitc" ,
"markerEnd" : "logo" ,
"source" : "Categorize:EightyWavesEnd" ,
"sourceHandle" : "3. complain" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:FullBeersSit" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Categorize:EightyWavesEnd1. contact-Message:GoodBugsTurnc" ,
"markerEnd" : "logo" ,
"source" : "Categorize:EightyWavesEnd" ,
"sourceHandle" : "1. contact" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Message:GoodBugsTurn" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "xy-edge__Categorize:EightyWavesEnd4. product related-Retrieval:WholeStarsDrivec" ,
"markerEnd" : "logo" ,
"source" : "Categorize:EightyWavesEnd" ,
"sourceHandle" : "4. product related" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Retrieval:WholeStarsDrive" ,
"targetHandle" : "c" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
} ,
{
"id" : "xy-edge__Generate:EasyWaysBegb-answer:0b" ,
"markerEnd" : "logo" ,
"source" : "Generate:EasyWaysBeg" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "b" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
} ,
{
"id" : "xy-edge__Categorize:EightyWavesEnd2. casual-Generate:EasyWaysBegc" ,
"markerEnd" : "logo" ,
"source" : "Categorize:EightyWavesEnd" ,
"sourceHandle" : "2. casual" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:EasyWaysBeg" ,
"targetHandle" : "c" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
}
] ,
"nodes" : [
{
"data" : {
"form" : {
2024-07-04 10:33:49 +08:00
"prologue" : "Hi! How can I help you?"
2025-02-08 18:09:02 +08:00
} ,
"label" : "Begin" ,
"name" : "Opener"
} ,
"dragging" : false ,
"height" : 44 ,
"id" : "begin" ,
"measured" : {
"height" : 44 ,
"width" : 100
} ,
"position" : {
"x" : 392.4805720357097 ,
"y" : -51.634011497163186
} ,
"positionAbsolute" : {
"x" : 392.4805720357097 ,
"y" : -51.634011497163186
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
2025-02-10 09:59:59 +08:00
"type" : "beginNode"
2025-02-08 18:09:02 +08:00
} ,
{
"data" : {
"form" : { } ,
"label" : "Answer" ,
"name" : "Interface"
} ,
"dragging" : false ,
"height" : 44 ,
"id" : "answer:0" ,
"measured" : {
"height" : 44 ,
"width" : 200
} ,
"position" : {
"x" : 254.80252337926834 ,
"y" : 311.451851495964
} ,
"positionAbsolute" : {
"x" : 248.41227675535197 ,
"y" : 216.6631932412045
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
"type" : "logicNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-07-04 10:33:49 +08:00
"category_description" : {
2024-10-28 15:49:14 +08:00
"1. contact" : {
2024-07-04 10:33:49 +08:00
"description" : "This answer provide a specific contact information, like e-mail, phone number, wechat number, line number, twitter, discord, etc,." ,
2025-02-08 18:09:02 +08:00
"examples" : "My phone number is 203921\nkevinhu.hk@gmail.com\nThis is my discord number: johndowson_29384\n13212123432\n8379829" ,
2024-10-28 15:49:14 +08:00
"to" : "Message:GoodBugsTurn"
2024-07-04 10:33:49 +08:00
} ,
2024-10-28 15:49:14 +08:00
"2. casual" : {
2024-07-04 10:33:49 +08:00
"description" : "The question is not about the product usage, appearance and how it works. Just casual chat." ,
"examples" : "How are you doing?\nWhat is your name?\nAre you a robot?\nWhat's the weather?\nWill it rain?" ,
2025-02-08 18:09:02 +08:00
"to" : "Generate:EasyWaysBeg"
2024-07-04 10:33:49 +08:00
} ,
2024-10-28 15:49:14 +08:00
"3. complain" : {
2024-07-04 10:33:49 +08:00
"description" : "Complain even curse about the product or service you provide. But the comment is not specific enough." ,
"examples" : "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." ,
2024-10-28 15:49:14 +08:00
"to" : "Generate:FullBeersSit"
2024-07-04 10:33:49 +08:00
} ,
2024-10-28 15:49:14 +08:00
"4. product related" : {
2024-07-04 10:33:49 +08:00
"description" : "The question is about the product usage, appearance and how it works." ,
"examples" : "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" ,
2025-02-08 18:09:02 +08:00
"to" : "Retrieval:WholeStarsDrive"
2024-07-04 10:33:49 +08:00
}
} ,
2025-02-08 18:09:02 +08:00
"frequencyPenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
2025-02-08 18:09:02 +08:00
"maxTokensEnabled" : true ,
2024-10-28 15:49:14 +08:00
"max_tokens" : 512 ,
"message_history_window_size" : 8 ,
2025-02-08 18:09:02 +08:00
"parameter" : "Precise" ,
"presencePenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"presence_penalty" : 0.4 ,
"temperature" : 0.1 ,
2025-02-08 18:09:02 +08:00
"temperatureEnabled" : true ,
"topPEnabled" : true ,
2024-10-28 15:49:14 +08:00
"top_p" : 0.3
2025-02-08 18:09:02 +08:00
} ,
"label" : "Categorize" ,
"name" : "Question Categorize"
} ,
"dragging" : false ,
"height" : 223 ,
"id" : "Categorize:EightyWavesEnd" ,
"measured" : {
"height" : 223 ,
"width" : 200
} ,
"position" : {
"x" : -47.29188154660176 ,
"y" : 702.9033359893137
} ,
"positionAbsolute" : {
"x" : -47.29188154660176 ,
"y" : 702.9033359893137
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
"type" : "categorizeNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-07-04 10:33:49 +08:00
"cite" : false ,
2025-02-08 18:09:02 +08:00
"frequencyPenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
2025-02-08 18:09:02 +08:00
"maxTokensEnabled" : true ,
2024-10-28 15:49:14 +08:00
"max_tokens" : 256 ,
2024-07-04 10:33:49 +08:00
"message_history_window_size" : 12 ,
2025-02-08 18:09:02 +08:00
"parameter" : "Precise" ,
2024-10-28 15:49:14 +08:00
"parameters" : [ ] ,
2025-02-08 18:09:02 +08:00
"presencePenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"presence_penalty" : 0.4 ,
2025-02-08 18:09:02 +08:00
"prompt" : "Role: You are a customer support. \n\nTask: Please answer the question based on content of knowledge base. \n\nRequirements & restrictions:\n - DO NOT make things up when all knowledge base content is irrelevant to the question. \n - Answers need to consider chat history.\n - Request about customer's contact information like, Wechat number, LINE number, twitter, discord, etc,. , when knowledge base content can't answer his question. So, product expert could contact him soon to solve his problem.\n\n Knowledge base content is as following:\n {Retrieval:WholeStarsDrive}\n The above is the content of knowledge base." ,
2024-10-28 15:49:14 +08:00
"temperature" : 0.1 ,
2025-02-08 18:09:02 +08:00
"temperatureEnabled" : true ,
"topPEnabled" : true ,
2024-10-28 15:49:14 +08:00
"top_p" : 0.3
2025-02-08 18:09:02 +08:00
} ,
"label" : "Generate" ,
"name" : "Product info"
} ,
"dragging" : false ,
"height" : 86 ,
"id" : "Generate:YoungTrainsSee" ,
"measured" : {
"height" : 86 ,
"width" : 200
} ,
"position" : {
"x" : 559.5686776472737 ,
"y" : 290.2322665670026
} ,
"positionAbsolute" : {
"x" : 634.1215549262979 ,
"y" : 195.4436083122431
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "generateNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-08-08 11:16:16 +08:00
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
"similarity_threshold" : 0.2 ,
"top_k" : 1024 ,
"top_n" : 6
2025-02-08 18:09:02 +08:00
} ,
"label" : "Retrieval" ,
"name" : "Search product info"
} ,
"dragging" : false ,
"height" : 44 ,
"id" : "Retrieval:WholeStarsDrive" ,
"measured" : {
"height" : 44 ,
"width" : 200
} ,
"position" : {
"x" : 667.7576170144173 ,
"y" : 897.9742909437947
} ,
"positionAbsolute" : {
"x" : 674.4543037737495 ,
"y" : 855.3858500356805
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "retrievalNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-07-04 10:33:49 +08:00
"messages" : [
"Okay, I've already write this down. What else I can do for you?" ,
"Get it. What else I can do for you?" ,
"Thanks for your trust! Our expert will contact ASAP. So, anything else I can do for you?" ,
"Thanks! So, anything else I can do for you?"
]
2025-02-08 18:09:02 +08:00
} ,
"label" : "Message" ,
"name" : "What else?"
} ,
"dragging" : false ,
"height" : 185 ,
"id" : "Message:GoodBugsTurn" ,
"measured" : {
"height" : 185 ,
"width" : 200
} ,
"position" : {
"x" : 255.51379306491577 ,
"y" : 378.5054855804349
} ,
"positionAbsolute" : {
"x" : 255.51379306491577 ,
"y" : 378.5054855804349
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "messageNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-10-28 15:49:14 +08:00
"cite" : false ,
2025-02-08 18:09:02 +08:00
"frequencyPenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
2025-02-08 18:09:02 +08:00
"maxTokensEnabled" : true ,
2024-10-28 15:49:14 +08:00
"max_tokens" : 256 ,
"message_history_window_size" : 12 ,
2025-02-08 18:09:02 +08:00
"parameter" : "Precise" ,
2024-10-28 15:49:14 +08:00
"parameters" : [ ] ,
2025-02-08 18:09:02 +08:00
"presencePenaltyEnabled" : true ,
2024-10-28 15:49:14 +08:00
"presence_penalty" : 0.4 ,
"prompt" : "You are a customer support. the Customers complain even curse about the products but not specific enough. You need to ask him/her what's the specific problem with the product. Be nice, patient and concern to soothe your customers’ emotions at first place." ,
"temperature" : 0.1 ,
2025-02-08 18:09:02 +08:00
"temperatureEnabled" : true ,
"topPEnabled" : true ,
2024-10-28 15:49:14 +08:00
"top_p" : 0.3
2025-02-08 18:09:02 +08:00
} ,
"label" : "Generate" ,
"name" : "Soothe mood"
} ,
"dragging" : false ,
"height" : 86 ,
"id" : "Generate:FullBeersSit" ,
"measured" : {
"height" : 86 ,
"width" : 200
} ,
"position" : {
"x" : 310.50668739661876 ,
"y" : 752.9913068679249
} ,
"positionAbsolute" : {
"x" : 282.6177403844678 ,
"y" : 738.0651678233716
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "generateNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
2024-10-28 15:49:14 +08:00
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"loop" : 1 ,
"maxTokensEnabled" : true ,
"max_tokens" : 256 ,
2025-02-08 18:09:02 +08:00
"message_history_window_size" : 6 ,
2024-10-28 15:49:14 +08:00
"parameter" : "Precise" ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_p" : 0.3
} ,
2025-02-08 18:09:02 +08:00
"label" : "RewriteQuestion" ,
"name" : "Refine Question"
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"dragging" : false ,
"height" : 86 ,
"id" : "RewriteQuestion:AllNightsSniff" ,
"measured" : {
2024-10-28 15:49:14 +08:00
"height" : 86 ,
"width" : 200
} ,
2025-02-08 18:09:02 +08:00
"position" : {
"x" : -76.01780399206896 ,
"y" : 578.5800110192073
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"positionAbsolute" : {
"x" : 324.6407948253129 ,
"y" : 858.5461701082726
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "rewriteNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"text" : "Receives the user's input and displays content returned by the large model or a static message."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Interface"
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 165 ,
"id" : "Note:NeatEelsJam" ,
"measured" : {
"height" : 165 ,
"width" : 246
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"position" : {
"x" : 254.241356823277 ,
"y" : 125.88467020717172
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"positionAbsolute" : {
"x" : 264.90767475037154 ,
"y" : 38.182206466391165
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
2024-10-28 15:49:14 +08:00
"height" : 157 ,
"width" : 218
} ,
2025-02-08 18:09:02 +08:00
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 246
} ,
{
"data" : {
"form" : {
"text" : "The large model returns the product information needed by the user based on the content in the knowledge base."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Product info"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 174 ,
"id" : "Note:VastBusesStop" ,
"measured" : {
"height" : 174 ,
"width" : 251
} ,
"position" : {
"x" : 552.2937732862443 ,
"y" : 112.23751311378777
} ,
"positionAbsolute" : {
"x" : 631.2555350351256 ,
"y" : 39.608910328453874
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
2024-10-28 15:49:14 +08:00
"height" : 146 ,
"width" : 239
} ,
2025-02-08 18:09:02 +08:00
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 251
} ,
{
"data" : {
"form" : {
"text" : "Static messages.\nDefine response after receive user's contact information."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: What else?"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 140 ,
"id" : "Note:YellowSlothsCall" ,
"measured" : {
"height" : 140 ,
"width" : 301
} ,
"position" : {
"x" : 560.5616335948474 ,
"y" : 442.25458284060795
} ,
"positionAbsolute" : {
"x" : 555.9717758467305 ,
"y" : 383.35075112209097
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 301
} ,
{
"data" : {
"form" : {
"text" : "LLMs chat with users based on the prompts."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Casual & Soothe"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 128 ,
"id" : "Note:MightyMealsBegin" ,
"measured" : {
2024-10-28 15:49:14 +08:00
"height" : 128 ,
"width" : 330
} ,
2025-02-08 18:09:02 +08:00
"position" : {
"x" : 602.4076699989065 ,
"y" : 727.2225988541959
} ,
"positionAbsolute" : {
"x" : 579.1117030677617 ,
"y" : 639.9891755684794
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 128 ,
"width" : 330
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 330
} ,
{
"data" : {
"form" : {
"text" : "Receives content related to product usage, appearance, and operation, searches the knowledge base, and returns the retrieved content."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Search product info"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 164 ,
"id" : "Note:PurpleReadersLike" ,
"measured" : {
"height" : 164 ,
"width" : 288
} ,
"position" : {
"x" : 671.3026627091103 ,
"y" : 969.3826268059544
} ,
"positionAbsolute" : {
"x" : 713.5806084319482 ,
"y" : 962.5655101584402
} ,
"resizing" : false ,
"selected" : true ,
"sourcePosition" : "right" ,
"style" : {
2024-10-28 15:49:14 +08:00
"height" : 163 ,
"width" : 271
} ,
2025-02-08 18:09:02 +08:00
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 288
} ,
{
"data" : {
"form" : {
"text" : "Complete questions by conversation history.\nUser: What's RAGFlow?\nAssistant: RAGFlow is xxx.\nUser: How to deploy it?\n\nRefine it: How to deploy RAGFlow?"
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Refine Question"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 247 ,
"id" : "Note:TidyJarsCarry" ,
"measured" : {
"height" : 247 ,
"width" : 279
} ,
"position" : {
"x" : -76.39310344274921 ,
"y" : 303.33344775187555
} ,
"positionAbsolute" : {
"x" : 360.7515003553832 ,
"y" : 968.8600371483907
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 279
} ,
{
"data" : {
"form" : {
"text" : "Determines which category the user's input belongs to and passes it to different components."
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Note" ,
"name" : "N: Question cate"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
"height" : 141 ,
"id" : "Note:BigPawsThink" ,
"measured" : {
"height" : 141 ,
"width" : 289
} ,
"position" : {
"x" : -32.89190582677969 ,
"y" : 999.0009887363577
} ,
"positionAbsolute" : {
"x" : -12.744183915886367 ,
"y" : 966.112564833565
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 289
} ,
{
"data" : {
"form" : {
"cite" : true ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"maxTokensEnabled" : true ,
"max_tokens" : 256 ,
"message_history_window_size" : 12 ,
"parameter" : "Precise" ,
"parameters" : [ ] ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"prompt" : "You are a customer support. But the customer wants to have a casual chat with you instead of consulting about the product. Be nice, funny, enthusiasm and concern." ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_p" : 0.3
2024-10-28 15:49:14 +08:00
} ,
2025-02-08 18:09:02 +08:00
"label" : "Generate" ,
"name" : "Causal chat"
} ,
"dragging" : false ,
"id" : "Generate:EasyWaysBeg" ,
"measured" : {
"height" : 106 ,
"width" : 200
} ,
"position" : {
"x" : 271.29649004050304 ,
"y" : 621.5563111579619
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "generateNode"
}
]
2024-07-04 10:33:49 +08:00
} ,
2025-02-08 18:09:02 +08:00
"history" : [ ] ,
"messages" : [ ] ,
"path" : [ ] ,
"reference" : [ ]
} ,
2024-07-03 12:15:15 +08:00
"avatar" : " d a t a : i m a g e / j p e g ; b a s e 64 , / 9 j / 4 A A Q S k Z J R g A B A Q A A A Q A B A A D / 2 w B D A A E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q H / 2 w B D A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q E B A Q H / w A A R C A E Z A R c D A S I A A h E B A x E B / 8 Q A H w A A A Q Q D A Q E B A Q A A A A A A A A A A B g U H C A k A B A o D A g s B / 8 Q A T x A A A Q M C B A M F B Q U E C Q I D B w Q D A Q I D B A U R A A Y S I Q c x Q Q g T I l F h F D J x g Z E J o b H B 8 B U j c t E K F j N C U n O y 4 f E k g k N i w h c Y J T R T g 5 I 1 N k V 0 d q K 1 / 8 Q A H Q E A A A c B A Q E A A A A A A A A A A A A A A A M E B Q Y H C A I B C f / E A E c R A A E C A w Y C C A M E B w c C B w A A A A E C E Q A D I Q Q F E j F B U W F x B h O B k a G x w f A U I j I H Q t H h M 1 J i Y 6 L i 8 R U j J E N y g s K j 4 z Q 1 U 4 O S s s P / 2 g A M A w E A A h E D E Q A / A O 9 j G Y 8 U v B X S 3 X n 0 9 N h + W P b H I + p X Z 6 w V K y 7 E + R j y d 5 f J X 4 D C N I 6 f x H C w + d K b 2 v s o f d h B k u m 5 G n k S e f X 6 e u O x m O Y g 2 B a q c l / A / g c D t M / + d H x T / q O F + c r v A s W t v b n 5 / L + e E 6 l Q w q S p w u W 0 F O 2 n m b k + e 36 + O F y c h y H l C e H N H / y z X y / B W F N P I f A f h h L j q D z K E e 7 p t v z v b 0 2 v s b + n r h V A s A P I W w R P + 5 / u / w C M G I 17 P f j G Y z G Y z C e D I z G Y z H m 462 g F I J X I K V K a j t j U 66 E e 8 p K B 4 t K S Q F K A I S S P P A g R 6 Y z G o m Y y 0 3 q m q D D g N l o b P e p Z u d g 8 v w 92 o j S d J H N Q G P u Z K a j R g + j U s K Q p a V r H d s J S k a l K e e 3 D S U p u p R I N g D f C i Q f q 44 f W B H l K d d b c Z S G 2 n I 67 h 5 K w p S u Y A I C V A h I B O o 2 I u R u M f M x 2 E j u Y j W h 1 K g C q O h K j C A C i o L d d F 0 J W k i 6 U l 0 K J A A S S R e A f H 77 U D s c 9 n J b 1 K z 7 x Z o j 2 b 2 F K a e y 3 l N U D N V Z a U n 3 o y 4 D c 6 K + l a 1 a Q R p 1 B Q C b G + O W X 7 Q L + k B c a 88 S q 7 k X s x 0 6 V w q 4 f w 3 g l 7 M 8 i O u R m y u J c W g d 8 x F L M S R S V H v E F B Z n P l r u 9 a T c 7 H 5 n g H D b u 3 v m / a M 47 j j V o l R f e p 8 S C q Z K i A F 1 Q U I w S r x f 3 Z A S o 2 K D e 1 x b 523 G p z T D C 0 P s O R J F t m 0 o W 4 h Z T s C p a A p B I 2 F w r 7 j t + X P l b t x 9 s m f m V + u U z t P c d 4 t Q k O B x a 6 j x Q z g 7 T 2 k h a l H V T 3 a t 3 D y R c 6 k E g E D S d u V 1 v Z r + 3 Z 47 c I c v x s v 8 A E T M l J 40 y 4 q m C 6 u t 91 R p 7 T b a F J W y Z y / 2 s / M L p U l S n l 6 V B S d w b 4 Q Q Z 8 O o / d H e e A r 7 z 5 x 2 w t L a l q K 5 S 1 N p Q Q p J Y Z d v s Q b n w r A t z N w N / n j Y X K j L d 1 M Q p M m 9 l e 2 B x D Y 89 u 8 A 5 e f L 8 M c p e Z P 6 S H W K n D a h Z I 4 S 5 b o t Z I C J P t + Y 0 T Y t 1 b K W e + o r a U o A N z d N r A 3 N t 8 B G W / t 9 O P l O r J z B m K m c O M w 5 Q i P I R N y x A d p 1 K c R H C y F q j V K P A f c k q D a V A f 9 O j V Y H a 4 w I H w 6 v 1 R 39 n v c x 14 s v K e 16 m X W t K r A u v N P F w W 5 g t b J A N x Z W 55498 Q v 7 H v b j 4 K 9 s n J b F f 4 b 1 m m J z N E i N v 5 n y a z N j v V S k K V p S 46 h h C k v v x G l r b Q q Q p h l I W 4 h N r q G J j M S f a V S U N I O p p / u 2 F L O l q S 0 A l S n G 3 N w o p B V 4 U g i 6 d z v s I 8 + H I + 6 K V z J 258 P H j G 1 j M Z j M C O I z G Y z G Y E C N a S j W k m 3 I f H r 93 x 6 Y D 5 z B J W N 90 q H M H m L d B g 2 W r b T Y b 736 / D 4 b Y Q 5 M Z K z r v b m b B I 3 t v b n 15 X t 8 s e p z H M e c D 3 v D Y T 6 e u x s D 8 B b 9 f P p t g A r V M W p B N i Q E K H 3 k c / K 3 T 6 + r 3 T W A s H w g X 9 O l r + X 15 H q M B F Z Y S 2 y s 6 d Q K d v m f K x 39 d j 5 b Y X w n i J O Z K O t x b z Y B 8 Q U n 1 u o E D 4 H r 1 P x N 8 b m T a C 9 E c Q V J t u D 8 d x u f 5 D c Y c + V R U T n V v F e g t k r 0 h A O r T c 2 J u D f b f Y 2 v f C t S q W k K F h a 1 u Q / l u b H r 0 9 e e B A h f p s V R j j Y 7 G 2 w 25 D 9 b b 4 d O G n T E i p / w x m E / R p I w N U q m k x y S r k s / 3 P Q H m C e X 3 c v X B W 2 n Q 22 j / A A I S n y 91 I H 5 Y L m a d v p A j 7 x m M x m C 4 E E z b p I 5 g 7 d f 9 u V t t s L I 3 A P m B h A p / 9 m P 4 R + W F 9 P I f A f h g l S M B N X e h 7 P 66 x 6 h W E C m Y H h H h I 9 w f P 8 M D 0 k H U r Y / 3 v y w u z P c T / w B 34 D C M v m P h + Z x 4 n M c x 5 x 31 n D x g S l f 3 / w C I Y 1 a c v Q 67 v a 5 T + K v P b 4 / X p j c l t H x + u r 16 + n w 5 f H y w k o / d L J P X l + f x H w 3 + Y w 5 J l 0 F d B p w 5 w X D g Q X 7 J F 1 D l 5 + v n f 6 W + e C U E E A i 3 I H n f n h t o b o F v + 3 r f 5 f D 188 F E W W N X M c + h / w C N / w D e 1 j g q b K C s P z Z P p y 4 x w u d 1 R T 8 u L E + r N h Y n f N 9 t I I s Z + W 5 + H n j R c k B Q T u d i R e 9 v z + 7 z H p j 3 Q 6 C m 1 w L 3 G + 6 e v v C 4 u B 18 x c Y J M g 6 K 8 P z 5 + E K Z S u s A O T / h z 9 i P X W i 19 S b e e o W + t 8 I l d q V N p c U z K r J Z h Q Y z a 5 c q b L e R F h R o j A C n 5 E q W p b Z Z Z b S Q p Z S s A p u S F W F t O r i l w K W / U p 9 S i Q 6 c 0 w 47 N k J c b h R U t x E q k S Z b U p 5 Z Y j R G W U l y b L c W t h m M 24464 h t C l p 4 z / t f P t X c w d p y q 5 p 7 K 3 Z 34 h y e G 3 Z 9 y b I l 0 T j H x H p j c x z M f E a f S 1 u U + b k 7 J M i K 7 G V N o M l T V V i T K l C h 1 m n V Z P s E q M 8 h l S A 8 R K H W F i c I d i c / w j u W l U w s x H f w 5 b x a Z 2 n / t 2 + E W U c 1 Z 14 Y 9 n m B G 4 n Z m y u p U O p Z 1 J 0 Z A o 8 t t L C X G n Z S n o l T m O s r d C S Y 0 O Y j v L + I h J t R B x y + 1 F 7 T W f p t S k Z / 4 v 10 Z T r L b r T V A y S i l w a R T w 7 r G 0 t y H A r W h I c Q C C 8 o l L Y 2 J v i o 1 l Z 7 q F S M n s T m c r U x t T l J p F M p M 9 l t 13 U r v n a q 73 a 0 O z Z M h b 81 w F L C v 3 t 1 J 8 J J C K t S M z 1 + T L Z r 66 r T F v g l g I o 9 Q f Z K v E U j 92 g j n a / i + e F 3 U p k h J E w K x i o o M O X E u + / C D J 0 o y s F X x A m r p Z g n g d S Y J + K / F O L m y v Q l U J V T z J V m 3 J L x q U o P y a m H H n k O W b f f J Y e s q 2 o y H F l K g A g g a s a F R y p S q r S B O r V S q z V V n J Q Z E K V C 0 P a E l O p C V N s e z 3 K W 9 j 3 n P e 4 x p 8 O 155 o 1 c Z o r l U p w j R n b w k V O i z I 6 H m y s F S n F y J T S b p J S L 7e8 T h 8 M / 8 d a / S m o t D q X 7 C q i G d C f Y k 0 t 72 R Q G 5 S l 32 p b Y 1 D Y E q I B O 98 e Y g 2 Y 9 + P h B S X x C g z F X 4 j h 7 a I w V B 3 L d C Z M S m Z U r z c I A 2 q r 7 q N V j s F L S 3 N W r b m R o 3 v f A E 8 / R a k 8 F O V R c Y N g t t y G 3 F t u s F w g 6 X U E J U s 3 F 76 V 2 s Q V D l h 4 K l x S y v X q s 5 G q V K c y u p V 0 9 x S 0 F y P u S L F T D T i N P T 3 u X U X w 2 e Z K B l e a + u T T 1 x n p Z 1 F i y A Z a w d 9 R k 30 R y D Y F L i L q N l D Y W w 29 Y d v f t / Y r I U y E s K n I e n G N W N Q 80 U g O V G O 47 X q Y t C l N u M q I f K N O 6 R Y N H U R s C T b 1 A J O E B P E q r U l 9 M O J G q 5 X I U k C M / 7 L a n A n f v A p z 97 p u P / r e 4 e d 904 Z j z 1 l J R / q 3 W k v u A + O m T 3 h W m 9 A 95 s s Q 3 W V J Q p I K V B W + n 542 a b x A y v m i a 4 j O 2 X 2 a T W U 37 y r 0 5 q 7 c N e + 8 a h t p e q C Q l W 4 A d V 7 o F 7 i + C J t p 6 r C M D u 71 b J u B 4 x 4 q U A z O e T / n 7 e k T C 4 L 9 r L O / B 7 M N K z J l H P N Y 4 d 1 l i H 7 A 5 U a e 8 h p u o O O y W Z Q c X F a Q + y 73 Y Z S 0 U S I / d q A 90 k A n s H + z R + 2 r y 1 x t r W W O C H a G q s K n Z 5 r h X F y 1 n m O t t m l 1 j 2 O I Z L S K z u 0 I k y S p h x p H s 0 N p l T j r K V q C S u 3 C 0 z l 1 U q W 2 u C i F V 6 A 4 k u i u x A l F c a K T Z L U i A X H J s d O k q O l 1 h H u p P I i 5 l l W N U q R P c q O X a + u l z Y + p U W U l w t J b f S C W V r c 1 o D b q H N K h d a C F J T c b 4 K F u J I H V 5 t 97 k + n P w j g y w x D E O D U / 0 7 M t d 4 / W 5 Z c b k N N v s O I f Z d Q l x p 5 l a X G n E L A U l b b i C p C 0 K S Q U q S S C C C C Q
2024-07-17 12:30:38 +08:00
}