"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.",
"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",
"prompt":"Role: You are a customer support. \n\nTask: Please answer the question based on content of knowledge base. \n\nReuirements & 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 knowlegebase 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 {input}\n The above is the content of knowledge base.",
"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,
"top_p":0.3
}
},
"downstream":[
"answer:0"
],
"upstream":[
"Categorize:EightyWavesEnd"
]
},
"Generate:FullBeersSit":{
"obj":{
"component_name":"Generate",
"params":{
"cite":false,
"frequency_penalty":0.7,
"llm_id":"deepseek-chat@DeepSeek",
"max_tokens":256,
"message_history_window_size":12,
"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.",
"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",
"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:HipWallsFollow"
},
"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":"RewriteQuestion:AllNightsSniff"
}
},
"frequencyPenaltyEnabled":true,
"frequency_penalty":0.7,
"llm_id":"deepseek-chat@DeepSeek",
"maxTokensEnabled":true,
"max_tokens":512,
"message_history_window_size":8,
"parameter":"Precise",
"presencePenaltyEnabled":true,
"presence_penalty":0.4,
"temperature":0.1,
"temperatureEnabled":true,
"topPEnabled":true,
"top_p":0.3
},
"label":"Categorize",
"name":"Question Categorize"
},
"dragging":false,
"height":223,
"id":"Categorize:EightyWavesEnd",
"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":{
"cite":false,
"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":"Role: You are a customer support. \n\nTask: Please answer the question based on content of knowledge base. \n\nReuirements & 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 knowlegebase 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 {input}\n The above is the content of knowledge base.",
"temperature":0.1,
"temperatureEnabled":true,
"topPEnabled":true,
"top_p":0.3
},
"label":"Generate",
"name":"Product info"
},
"dragging":false,
"height":86,
"id":"Generate:YoungTrainsSee",
"position":{
"x":634.1215549262979,
"y":195.4436083122431
},
"positionAbsolute":{
"x":634.1215549262979,
"y":195.4436083122431
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"generateNode",
"width":200
},
{
"data":{
"form":{
"kb_ids":[],
"keywords_similarity_weight":0.3,
"similarity_threshold":0.2,
"top_k":1024,
"top_n":6
},
"label":"Retrieval",
"name":"Search product info"
},
"dragging":false,
"height":44,
"id":"Retrieval:WholeStarsDrive",
"position":{
"x":674.4543037737495,
"y":855.3858500356805
},
"positionAbsolute":{
"x":674.4543037737495,
"y":855.3858500356805
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"retrievalNode",
"width":200
},
{
"data":{
"form":{
"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?"
]
},
"label":"Message",
"name":"What else?"
},
"dragging":false,
"height":185,
"id":"Message:GoodBugsTurn",
"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":{
"cite":false,
"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
},
"label":"Generate",
"name":"Casual chat"
},
"dragging":false,
"height":86,
"id":"Generate:HipWallsFollow",
"position":{
"x":284.06028065118653,
"y":644.4392986871846
},
"positionAbsolute":{
"x":284.06028065118653,
"y":644.4392986871846
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"generateNode",
"width":200
},
{
"data":{
"form":{
"cite":false,
"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. 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,
"temperatureEnabled":true,
"topPEnabled":true,
"top_p":0.3
},
"label":"Generate",
"name":"Soothe mood"
},
"dragging":false,
"height":86,
"id":"Generate:FullBeersSit",
"position":{
"x":282.6177403844678,
"y":738.0651678233716
},
"positionAbsolute":{
"x":282.6177403844678,
"y":738.0651678233716
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"generateNode",
"width":200
},
{
"data":{
"form":{
"frequencyPenaltyEnabled":true,
"frequency_penalty":0.7,
"llm_id":"deepseek-chat@DeepSeek",
"loop":1,
"maxTokensEnabled":true,
"max_tokens":256,
"parameter":"Precise",
"presencePenaltyEnabled":true,
"presence_penalty":0.4,
"temperature":0.1,
"temperatureEnabled":true,
"topPEnabled":true,
"top_p":0.3
},
"label":"RewriteQuestion",
"name":"Refine Question"
},
"dragging":false,
"height":86,
"id":"RewriteQuestion:AllNightsSniff",
"position":{
"x":324.6407948253129,
"y":858.5461701082726
},
"positionAbsolute":{
"x":324.6407948253129,
"y":858.5461701082726
},
"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."
},
"label":"Note",
"name":"N: Interface"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":157,
"id":"Note:NeatEelsJam",
"position":{
"x":264.90767475037154,
"y":38.182206466391165
},
"positionAbsolute":{
"x":264.90767475037154,
"y":38.182206466391165
},
"resizing":false,
"selected":false,
"sourcePosition":"right",
"style":{
"height":157,
"width":218
},
"targetPosition":"left",
"type":"noteNode",
"width":218
},
{
"data":{
"form":{
"text":"The large model returns the product information needed by the user based on the content in the knowledge base."
},
"label":"Note",
"name":"N: Product info"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":146,
"id":"Note:VastBusesStop",
"position":{
"x":631.2555350351256,
"y":39.608910328453874
},
"positionAbsolute":{
"x":631.2555350351256,
"y":39.608910328453874
},
"resizing":false,
"selected":false,
"sourcePosition":"right",
"style":{
"height":146,
"width":239
},
"targetPosition":"left",
"type":"noteNode",
"width":239
},
{
"data":{
"form":{
"text":"Static messages.\nDefine replys after recieve user's contact information."
},
"label":"Note",
"name":"N: What else?"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":128,
"id":"Note:YellowSlothsCall",
"position":{
"x":555.9717758467305,
"y":383.35075112209097
},
"positionAbsolute":{
"x":555.9717758467305,
"y":383.35075112209097
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"noteNode",
"width":269
},
{
"data":{
"form":{
"text":"LLMs chat with users based on the prompts."
},
"label":"Note",
"name":"N: Casual & Soothe"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":128,
"id":"Note:MightyMealsBegin",
"position":{
"x":579.1117030677617,
"y":639.9891755684794
},
"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."
},
"label":"Note",
"name":"N: Search product info"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":163,
"id":"Note:PurpleReadersLike",
"position":{
"x":713.5806084319482,
"y":962.5655101584402
},
"positionAbsolute":{
"x":713.5806084319482,
"y":962.5655101584402
},
"resizing":false,
"selected":false,
"sourcePosition":"right",
"style":{
"height":163,
"width":271
},
"targetPosition":"left",
"type":"noteNode",
"width":271
},
{
"data":{
"form":{
"text":"Complete questions by conversation history.\nUser: What's RAGFlow?\nAssistant: RAGFlow is xxx.\nUser: How to deloy it?\n\nRefine it: How to deploy RAGFlow?"
},
"label":"Note",
"name":"N: Refine Question"
},
"dragHandle":".note-drag-handle",
"dragging":false,
"height":128,
"id":"Note:TidyJarsCarry",
"position":{
"x":360.7515003553832,
"y":968.8600371483907
},
"positionAbsolute":{
"x":360.7515003553832,
"y":968.8600371483907
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"noteNode",
"width":269
},
{
"data":{
"form":{
"text":"Determines which category the user's input belongs to and passes it to different components."