add keyword extraction in graph (#1373)
### What problem does this PR solve? #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": 0,
|
||||
"id": 1,
|
||||
"title": "HR call-out assistant(Chinese)",
|
||||
"description": "A HR call-out assistant. It will introduce the given job, answer the candidates' question about this job. And the most important thing is that it will try to obtain the contact information of the candidates. What you need to do is to link a knowledgebase which contains job description in 'Retrieval' component.",
|
||||
"canvas_type": "chatbot",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": 1,
|
||||
"id": 2,
|
||||
"title": "Customer service",
|
||||
"description": "A call-in customer service chat bot. It will provide useful information about the products, answer customers' questions and soothe the customers' bad emotions.",
|
||||
"canvas_type": "chatbot",
|
||||
@@ -106,7 +106,7 @@
|
||||
"upstream": ["categorize:0"]
|
||||
},
|
||||
"generate:complain": {
|
||||
"downstream": [],
|
||||
"downstream": ["answer:0"],
|
||||
"obj": {
|
||||
"component_name": "Generate",
|
||||
"params": {
|
||||
@@ -116,7 +116,7 @@
|
||||
"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."
|
||||
}
|
||||
},
|
||||
"upstream": ["categorize:0", "answer:0"]
|
||||
"upstream": ["categorize:0"]
|
||||
},
|
||||
"message:get_contact": {
|
||||
"downstream": ["answer:0"],
|
||||
@@ -286,13 +286,13 @@
|
||||
{
|
||||
"id": "reactflow__edge-answer:0a-generate:complaind",
|
||||
"markerEnd": "logo",
|
||||
"source": "answer:0",
|
||||
"source": "generate:complain",
|
||||
"sourceHandle": "a",
|
||||
"style": {
|
||||
"stroke": "rgb(202 197 245)",
|
||||
"strokeWidth": 2
|
||||
},
|
||||
"target": "generate:complain",
|
||||
"target": "answer:0",
|
||||
"targetHandle": "d",
|
||||
"type": "buttonEdge"
|
||||
},
|
||||
|
||||
335
graph/templates/general_chat_bot.json
Normal file
335
graph/templates/general_chat_bot.json
Normal file
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": 2,
|
||||
"id": 3,
|
||||
"title": "Interpreter",
|
||||
"description": "An interpreter. Type the content you want to translate and the object language like: Hi there => Spanish. Hava a try!",
|
||||
"canvas_type": "chatbot",
|
||||
|
||||
Reference in New Issue
Block a user