### What problem does this PR solve?

Lots of typo, also need to merge into DEMO

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai 2024-12-06 09:47:56 +08:00 committed by GitHub
parent 0d5486aa57
commit c76e7b1e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 20 additions and 20 deletions

View File

@ -620,7 +620,7 @@
"text": "Searches for description about meanings of tables and fields." "text": "Searches for description about meanings of tables and fields."
}, },
"label": "Note", "label": "Note",
"name": "N:DB Desctription" "name": "N:DB Description"
}, },
"dragging": false, "dragging": false,
"height": 128, "height": 128,
@ -679,7 +679,7 @@
{ {
"data": { "data": {
"form": { "form": {
"text": "DDL(Data Definition Language).\n\nSearches for relevent database creation statements.\n\nIt should bind with a KB to which DDL is dumped in.\nYou could use 'General' as parsing method and ';' as delimiter." "text": "DDL(Data Definition Language).\n\nSearches for relevant database creation statements.\n\nIt should bind with a KB to which DDL is dumped in.\nYou could use 'General' as parsing method and ';' as delimiter."
}, },
"label": "Note", "label": "Note",
"name": "N: DDL" "name": "N: DDL"

View File

@ -90,7 +90,7 @@
"message_history_window_size": 12, "message_history_window_size": 12,
"parameters": [], "parameters": [],
"presence_penalty": 0.4, "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.", "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 {input}\n The above is the content of knowledge base.",
"temperature": 0.1, "temperature": 0.1,
"top_p": 0.3 "top_p": 0.3
} }
@ -336,7 +336,7 @@
"parameters": [], "parameters": [],
"presencePenaltyEnabled": true, "presencePenaltyEnabled": true,
"presence_penalty": 0.4, "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.", "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 {input}\n The above is the content of knowledge base.",
"temperature": 0.1, "temperature": 0.1,
"temperatureEnabled": true, "temperatureEnabled": true,
"topPEnabled": true, "topPEnabled": true,
@ -603,7 +603,7 @@
{ {
"data": { "data": {
"form": { "form": {
"text": "Static messages.\nDefine replys after recieve user's contact information." "text": "Static messages.\nDefine response after receive user's contact information."
}, },
"label": "Note", "label": "Note",
"name": "N: What else?" "name": "N: What else?"
@ -691,7 +691,7 @@
{ {
"data": { "data": {
"form": { "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?" "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?"
}, },
"label": "Note", "label": "Note",
"name": "N: Refine Question" "name": "N: Refine Question"

View File

@ -70,8 +70,8 @@
"to": "QWeather:DeepKiwisTeach" "to": "QWeather:DeepKiwisTeach"
}, },
"2. finance": { "2. finance": {
"description": "Question is about finace/economic information, stock market, economic news.", "description": "Question is about finance/economic information, stock market, economic news.",
"examples": "昨日涨幅大于5%的军工股?\nStocks have MACD buyin signals\nWhen is the next interest rate cut by the Federal Reserve?\n国家救市都有哪些举措?", "examples": "Stocks have MACD buy signals\nWhen is the next interest rate cut by the Federal Reserve?\n",
"to": "Concentrator:TrueGeckosSlide" "to": "Concentrator:TrueGeckosSlide"
}, },
"3. medical": { "3. medical": {
@ -268,7 +268,7 @@
"message_history_window_size": 12, "message_history_window_size": 12,
"parameters": [], "parameters": [],
"presence_penalty": 0.4, "presence_penalty": 0.4,
"prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Provide useful advice to your friend.\n- Tell jokes to make your firend happy.\n\nThe following is the weatcher information:\n{weather}", "prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Provide useful advice to your friend.\n- Tell jokes to make your friend happy.\n\nThe following is the weather information:\n{weather}",
"temperature": 0.1, "temperature": 0.1,
"top_p": 0.3 "top_p": 0.3
} }
@ -497,7 +497,7 @@
} }
], ],
"presence_penalty": 0.4, "presence_penalty": 0.4,
"prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Tell your friend the weather if there's weather information provided. If your friend did not provide region information, ask about where he/she is.\n\nThe following is the weatcher information:\n{weather}\n", "prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Tell your friend the weather if there's weather information provided. If your friend did not provide region information, ask about where he/she is.\n\nThe following is the weather information:\n{weather}\n",
"temperature": 0.1, "temperature": 0.1,
"top_p": 0.3 "top_p": 0.3
} }
@ -622,8 +622,8 @@
"to": "QWeather:DeepKiwisTeach" "to": "QWeather:DeepKiwisTeach"
}, },
"2. finance": { "2. finance": {
"description": "Question is about finace/economic information, stock market, economic news.", "description": "Question is about finance/economic information, stock market, economic news.",
"examples": "昨日涨幅大于5%的军工股?\nStocks have MACD buyin signals\nWhen is the next interest rate cut by the Federal Reserve?\n国家救市都有哪些举措?", "examples": "Stocks have MACD buy signals\nWhen is the next interest rate cut by the Federal Reserve?\n",
"to": "Concentrator:TrueGeckosSlide" "to": "Concentrator:TrueGeckosSlide"
}, },
"3. medical": { "3. medical": {
@ -927,7 +927,7 @@
"parameters": [], "parameters": [],
"presencePenaltyEnabled": true, "presencePenaltyEnabled": true,
"presence_penalty": 0.4, "presence_penalty": 0.4,
"prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Provide useful advice to your friend.\n- Tell jokes to make your firend happy.\n\nThe following is the weatcher information:\n{weather}", "prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Provide useful advice to your friend.\n- Tell jokes to make your friend happy.\n\nThe following is the weather information:\n{weather}",
"temperature": 0.1, "temperature": 0.1,
"temperatureEnabled": true, "temperatureEnabled": true,
"topPEnabled": true, "topPEnabled": true,
@ -1011,7 +1011,7 @@
"top_p": 0.3 "top_p": 0.3
}, },
"label": "Generate", "label": "Generate",
"name": "tranlate to Chinese" "name": "translate to Chinese"
}, },
"dragging": false, "dragging": false,
"height": 86, "height": 86,
@ -1276,7 +1276,7 @@
], ],
"presencePenaltyEnabled": true, "presencePenaltyEnabled": true,
"presence_penalty": 0.4, "presence_penalty": 0.4,
"prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Tell your friend the weather if there's weather information provided. If your friend did not provide region information, ask about where he/she is.\n\nThe following is the weatcher information:\n{weather}\n", "prompt": "Role: Youre warm-hearted lovely young girl, 22 years old, located at Shanghai in China. Your name is R. Who are talking to you is your very good old friend of yours.\n\nTask: \n- Chat with the friend.\n- Ask question and care about them.\n- Tell your friend the weather if there's weather information provided. If your friend did not provide region information, ask about where he/she is.\n\nThe following is the weather information:\n{weather}\n",
"temperature": 0.1, "temperature": 0.1,
"temperatureEnabled": true, "temperatureEnabled": true,
"topPEnabled": true, "topPEnabled": true,

View File

@ -476,7 +476,7 @@
"text": "Translation Agent: Agentic translation using reflection workflow\n\nThis is inspired by Andrew NG's project: https://github.com/andrewyng/translation-agent\n\n1. Prompt an LLM to translate a text into the target language;\n2. Have the LLM reflect on the translation and provide constructive suggestions for improvement;\n3. Use these suggestions to improve the translation." "text": "Translation Agent: Agentic translation using reflection workflow\n\nThis is inspired by Andrew NG's project: https://github.com/andrewyng/translation-agent\n\n1. Prompt an LLM to translate a text into the target language;\n2. Have the LLM reflect on the translation and provide constructive suggestions for improvement;\n3. Use these suggestions to improve the translation."
}, },
"label": "Note", "label": "Note",
"name": "Breif" "name": "Brief"
}, },
"dragHandle": ".note-drag-handle", "dragHandle": ".note-drag-handle",
"dragging": false, "dragging": false,

View File

@ -534,7 +534,7 @@
{ {
"data": { "data": {
"form": { "form": {
"text": "A prompt sumerize content from search result from PubMed and Q&A dataset." "text": "A prompt summarize content from search result from PubMed and Q&A dataset."
}, },
"label": "Note", "label": "Note",
"name": "N: LLM" "name": "N: LLM"

View File

@ -347,7 +347,7 @@
} }
], ],
"presence_penalty": 0.4, "presence_penalty": 0.4,
"prompt": "You are an SEO expert who writes in a direct, practical, educational style that is factual rather than storytelling or narrative, focusing on explaining to {audience} the \"how\" and \"what is\" and \u201cwhy\u201d rather than narrating to the audience. \n - Please write at a sixth grade reading level. \n - ONLY output in Markdown format.\n - Use positive, present tense expressions and avoid using complex words and sentence structures that lack narrative, such as \"reveal\" and \"dig deep.\"\n - Next, please continue writing articles related to our topic with a concise title, {title_0}{title} {keywords_0}{keywords}. \n - Please AVOID repeating what has already been written and do not use the same sentence structure. \n - JUST write the body of the article based on the outline.\n - DO NOT include introduction, title.\n - DO NOT miss anything mentioned in artical outline, except introduction and title.\n - Please use the information I provide to create in-depth, interesting and unique content. Also, incorporate the references and data points I provided earlier into the article to increase its value to the reader.\n - MUST be in language of \"{keywords_0} {title_0}\".\n\n<article_outline>\n{outline}\n\n<article_body>", "prompt": "You are an SEO expert who writes in a direct, practical, educational style that is factual rather than storytelling or narrative, focusing on explaining to {audience} the \"how\" and \"what is\" and \u201cwhy\u201d rather than narrating to the audience. \n - Please write at a sixth grade reading level. \n - ONLY output in Markdown format.\n - Use positive, present tense expressions and avoid using complex words and sentence structures that lack narrative, such as \"reveal\" and \"dig deep.\"\n - Next, please continue writing articles related to our topic with a concise title, {title_0}{title} {keywords_0}{keywords}. \n - Please AVOID repeating what has already been written and do not use the same sentence structure. \n - JUST write the body of the article based on the outline.\n - DO NOT include introduction, title.\n - DO NOT miss anything mentioned in article outline, except introduction and title.\n - Please use the information I provide to create in-depth, interesting and unique content. Also, incorporate the references and data points I provided earlier into the article to increase its value to the reader.\n - MUST be in language of \"{keywords_0} {title_0}\".\n\n<article_outline>\n{outline}\n\n<article_body>",
"query": [], "query": [],
"temperature": 0.1, "temperature": 0.1,
"top_p": 0.3 "top_p": 0.3

View File

@ -440,7 +440,7 @@
{ {
"data": { "data": {
"form": { "form": {
"text": "DDL(Data Definition Language).\n\nSearches for relevent database creation statements.\n\nIt should bind with a KB to which DDL is dumped in.\nYou could use 'General' as parsing method and ';' as delimiter." "text": "DDL(Data Definition Language).\n\nSearches for relevant database creation statements.\n\nIt should bind with a KB to which DDL is dumped in.\nYou could use 'General' as parsing method and ';' as delimiter."
}, },
"label": "Note", "label": "Note",
"name": "N: DDL" "name": "N: DDL"

View File

@ -577,7 +577,7 @@
"text": "Based on the keywords, searches on Wikipedia and returns the found content." "text": "Based on the keywords, searches on Wikipedia and returns the found content."
}, },
"label": "Note", "label": "Note",
"name": "N: Wiukipedia" "name": "N: Wikipedia"
}, },
"dragging": false, "dragging": false,
"height": 128, "height": 128,