Files
ragflow_python/web/src/pages/flow/headhunter_zh.json

455 lines
13 KiB
JSON
Raw Normal View History

{
"edges": [
{
"id": "01dc9019-5c4c-4410-9759-f09ad8075a23",
"label": "",
"source": "begin",
"target": "answer:0",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "f0216178-c3ab-48c1-8020-c5c7d8aa3853",
"label": "",
"source": "message:reject",
"target": "answer:0",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "fd98adb0-9461-45ba-9f6e-5633b8ea57ac",
"label": "",
"source": "answer:0",
"target": "categorize:0",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "c4ea0be6-d98c-464c-89c4-84b4199e6128",
"label": "",
"source": "categorize:0",
"target": "message:introduction",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "interested"
},
{
"id": "145f4531-c5e4-4e01-9378-128b84db6029",
"label": "",
"source": "categorize:0",
"target": "generate:casual",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "casual"
},
{
"id": "1b8f7b90-4ee8-471a-aea0-4ae1fba7092b",
"label": "",
"source": "categorize:0",
"target": "message:reject",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "answer"
},
{
"id": "1e9c2335-a293-492f-a3c9-6f9bd02b7f91",
"label": "",
"source": "categorize:0",
"target": "retrieval:0",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "about_job"
},
{
"id": "c2b63dca-974f-4d48-8685-269230ff41ad",
"label": "",
"source": "message:introduction",
"target": "answer:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "1e7a0f1f-3377-4762-a15d-975d8ac3b67a",
"label": "",
"source": "generate:aboutJob",
"target": "answer:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "0d860594-9339-4283-9cc0-228f6f3e15a1",
"label": "",
"source": "generate:casual",
"target": "answer:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "0707e61d-95ed-4c30-95ce-83ae930f3079",
"label": "",
"source": "generate:get_wechat",
"target": "answer:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "a0e1cb13-8667-47ba-8b8a-11974f68b628",
"label": "",
"source": "generate:nowechat",
"target": "answer:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "071f6b90-154a-421d-a3a1-24d68120517b",
"label": "",
"source": "answer:1",
"target": "categorize:1",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "d0daf286-afe3-4257-ad23-62280de6a3c9",
"label": "",
"source": "categorize:1",
"target": "retrieval:0",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "about_job"
},
{
"id": "eed037f7-7a2c-4863-8daa-95299c0d7ed0",
"label": "",
"source": "categorize:1",
"target": "generate:casual",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "casual"
},
{
"id": "e2ce8e2c-5383-4328-8c7f-6a1ea5fbe392",
"label": "",
"source": "categorize:1",
"target": "generate:get_wechat",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "wechat"
},
{
"id": "b4e00364-bf13-4a5c-ba15-c10080a01faa",
"label": "",
"source": "categorize:1",
"target": "generate:nowechat",
"markerEnd": {
"type": "arrow"
},
"sourceHandle": "giveup"
},
{
"id": "d562f6f1-e9e3-4bf4-bcf1-171e3bdd8bca",
"label": "",
"source": "retrieval:0",
"target": "generate:aboutJob",
"markerEnd": {
"type": "arrow"
}
},
{
"id": "063838ab-7813-4981-b633-34f6d485305b",
"label": "",
"source": "relevant:0",
"target": "generate:aboutJob",
"markerEnd": {
"type": "arrow"
}
}
],
"nodes": [
{
"id": "begin",
"type": "beginNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Begin",
"name": "CleanDeerRoll",
"form": {
"prologue": "您好我是AGI方向的猎头了解到您是这方面的大佬然后冒昧的就联系到您。这边有个机会想和您分享RAGFlow正在招聘您这个岗位的资深的工程师不知道您那边是不是感兴趣"
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "answer:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Answer",
"name": "TwentyTimesDrive",
"form": {}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "categorize:0",
"type": "categorizeNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Categorize",
"name": "StupidFoxesNail",
"form": {
"llm_id": "deepseek-chat",
"category_description": {
"about_job": {
"description": "该问题关于职位本身或公司的信息。",
"examples": "什么岗位?\n汇报对象是谁?\n公司多少人\n公司有啥产品\n具体工作内容是啥\n地点哪里\n双休吗",
"to": "retrieval:0"
},
"casual": {
"description": "该问题不关于职位本身或公司的信息,属于闲聊。",
"examples": "你好\n好久不见\n你男的女的\n你是猴子派来的救兵吗\n上午开会了?\n你叫啥\n最近市场如何?生意好做吗?",
"to": "generate:casual"
},
"interested": {
"description": "该回答表示他对于该职位感兴趣。",
"examples": "嗯\n说吧\n说说看\n还好吧\n是的\n哦\nyes\n具体说说",
"to": "message:introduction"
},
"answer": {
"description": "该回答表示他对于该职位不感兴趣,或感觉受到骚扰。",
"examples": "不需要\n不感兴趣\n暂时不看\n不要\nno\n我已经不干这个了\n我不是这个方向的",
"to": "message:reject"
}
}
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "message:introduction",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Message",
"name": "FluffyLightsCry",
"form": {
"messages": [
"我简单介绍以下:\nRAGFlow 是一款基于深度文档理解构建的开源 RAGRetrieval-Augmented Generation引擎。RAGFlow 可以为各种规模的企业及个人提供一套精简的 RAG 工作流程结合大语言模型LLM针对用户各类不同的复杂格式数据提供可靠的问答以及有理有据的引用。https://github.com/infiniflow/ragflow\n您那边还有什么要了解的"
]
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "answer:1",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Answer",
"name": "BreezyJarsNotice",
"form": {}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "categorize:1",
"type": "categorizeNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Categorize",
"name": "ItchyJobsLike",
"form": {
"llm_id": "deepseek-chat",
"category_description": {
"about_job": {
"description": "该问题关于职位本身或公司的信息。",
"examples": "什么岗位?\n汇报对象是谁?\n公司多少人\n公司有啥产品\n具体工作内容是啥\n地点哪里\n双休吗",
"to": "retrieval:0"
},
"casual": {
"description": "该问题不关于职位本身或公司的信息,属于闲聊。",
"examples": "你好\n好久不见\n你男的女的\n你是猴子派来的救兵吗\n上午开会了?\n你叫啥\n最近市场如何?生意好做吗?",
"to": "generate:casual"
},
"wechat": {
"description": "该回答表示他愿意加微信,或者已经报了微信号。",
"examples": "嗯\n可以\n是的\n哦\nyes\n15002333453\nwindblow_2231",
"to": "generate:get_wechat"
},
"giveup": {
"description": "该回答表示他不愿意加微信。",
"examples": "不需要\n不感兴趣\n暂时不看\n不要\nno\n不方便\n不知道还要加我微信",
"to": "generate:nowechat"
}
},
"message_history_window_size": 8
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "generate:casual",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Generate",
"name": "SocialLlamasDraw",
"form": {
"llm_id": "deepseek-chat",
"prompt": "你是AGI方向的猎头现在候选人的聊了和职位无关的话题请耐心的回应候选人并将话题往该AGI的职位上带最好能要到候选人微信号以便后面保持联系。",
"temperature": 0.9,
"message_history_window_size": 12,
"cite": false
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "retrieval:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Retrieval",
"name": "ThinCamerasPunch",
"form": {
"similarity_threshold": 0.2,
"keywords_similarity_weight": 0.3,
"top_n": 6,
"top_k": 1024,
"rerank_id": "BAAI/bge-reranker-v2-m3",
"kb_ids": ["869a236818b811ef91dffa163e197198"]
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "generate:aboutJob",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Generate",
"name": "FiveAnimalsWorry",
"form": {
"llm_id": "deepseek-chat",
"prompt": "你是AGI方向的猎头候选人问了有关职位或公司的问题你根据以下职位信息回答。如果职位信息中不包含候选人的问题就回答不清楚、不知道、有待确认等。回答完后引导候选人加微信号\n - 方便加一下微信吗我把JD发您看看\n - 微信号多少我把详细职位JD发您\n 职位信息如下:\n {input}\n 职位信息如上。",
"temperature": 0.02
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "generate:get_wechat",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Generate",
"name": "TastyTermsCarry",
"form": {
"llm_id": "deepseek-chat",
"prompt": "你是AGI方向的猎头候选人表示不反感加微信如果对方已经报了微信号表示感谢和信任并表示马上会加上如果没有则问对方微信号多少。你的微信号是weixin_kevinE-mail是kkk@ragflow.com。说话不要重复。不要总是您好。",
"temperature": 0.1,
"message_history_window_size": 12,
"cite": false
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "generate:nowechat",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Generate",
"name": "SharpYaksShout",
"form": {
"llm_id": "deepseek-chat",
"prompt": "你是AGI方向的猎头当你提出加微信时对方表示拒绝。你需要耐心礼貌的回应候选人表示对于保护隐私信息给予理解也可以询问他对该职位的看法和顾虑。并在恰当的时机再次询问微信联系方式。也可以鼓励候选人主动与你取得联系。你的微信号是weixin_kevinE-mail是kkk@ragflow.com。说话不要重复。不要总是您好。",
"temperature": 0.1,
"message_history_window_size": 12,
"cite": false
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "message:reject",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Message",
"name": "ShaggyKeysStare",
"form": {
"messages": [
"好的,祝您生活愉快,工作顺利。",
"哦,好的,感谢您宝贵的时间!"
]
}
},
"sourcePosition": "left",
"targetPosition": "right"
}
]
}