File size: 3,906 Bytes
565e3eb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
{
"edges": [
{
"id": "81de838d-a541-4b3f-9d68-9172ffd7c6b4",
"label": "",
"source": "begin",
"target": "answer:0"
},
{
"id": "8fa8daaa-58e7-4494-84c9-d53f379d2550",
"label": "",
"source": "generate:0",
"target": "answer:0"
},
{
"id": "6720a5b8-96bc-4535-8800-ad3f35431a16",
"label": "",
"source": "answer:0",
"target": "retrieval:0"
},
{
"id": "81476d89-707f-4d87-8aa3-fecb9d8499b3",
"label": "",
"source": "rewrite:0",
"target": "retrieval:0"
},
{
"id": "2bba4a81-44e7-4796-b25f-e68c3fc7e54a",
"label": "",
"source": "retrieval:0",
"target": "relevant:0"
},
{
"id": "eb205b7a-a87e-4bcc-94c5-bddff13f8ddd",
"label": "",
"source": "relevant:0",
"target": "generate:0"
},
{
"id": "b8611b17-a01a-485c-ad40-377329eb8d96",
"label": "",
"source": "relevant:0",
"target": "rewrite:0"
}
],
"nodes": [
{
"id": "begin",
"type": "beginNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Begin",
"name": "FiftyDeerDeny",
"form": {
"prologue": "Hi there!"
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "answer:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Answer",
"name": "NinePointsSmoke",
"form": {}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "retrieval:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Retrieval",
"name": "ProudLiesPull",
"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"],
"empty_response": "Sorry, knowledge base has noting related information."
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "relevant:0",
"type": "relevantNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Relevant",
"name": "StrongBooksPay",
"form": {
"llm_id": "deepseek-chat",
"temperature": 0.02,
"yes": "generate:0",
"no": "rewrite:0"
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "generate:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Generate",
"name": "CyanBooksTell",
"form": {
"llm_id": "deepseek-chat",
"prompt": "You are an intelligent assistant. Please answer the question based on content of knowledge base. When all knowledge base content is irrelevant to the question, your answer must include the sentence \"The answer you are looking for is not found in the knowledge base!\". Answers need to consider chat history.\n Knowledge base content is as following:\n {input}\n The above is the content of knowledge base.",
"temperature": 0.02
}
},
"sourcePosition": "left",
"targetPosition": "right"
},
{
"id": "rewrite:0",
"type": "ragNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "RewriteQuestion",
"name": "SourPapersMake",
"form": {
"llm_id": "deepseek-chat",
"temperature": 0.8
}
},
"sourcePosition": "left",
"targetPosition": "right"
}
]
}
|