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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"edges": [
|
| 3 |
+
{
|
| 4 |
+
"id": "xy-edge__Truncate history 1output-Chat processor 1processor",
|
| 5 |
+
"source": "Truncate history 1",
|
| 6 |
+
"sourceHandle": "output",
|
| 7 |
+
"target": "Chat processor 1",
|
| 8 |
+
"targetHandle": "processor"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"id": "xy-edge__Mask 1output-Chat processor 1processor",
|
| 12 |
+
"source": "Mask 1",
|
| 13 |
+
"sourceHandle": "output",
|
| 14 |
+
"target": "Chat processor 1",
|
| 15 |
+
"targetHandle": "processor"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"id": "xy-edge__Mask 2output-Chat processor 1processor",
|
| 19 |
+
"source": "Mask 2",
|
| 20 |
+
"sourceHandle": "output",
|
| 21 |
+
"target": "Chat processor 1",
|
| 22 |
+
"targetHandle": "processor"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": "xy-edge__Input chat 1output-Test Chat API 2message",
|
| 26 |
+
"source": "Input chat 1",
|
| 27 |
+
"sourceHandle": "output",
|
| 28 |
+
"target": "Test Chat API 2",
|
| 29 |
+
"targetHandle": "message"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": "xy-edge__Test Chat API 2output-View 1input",
|
| 33 |
+
"source": "Test Chat API 2",
|
| 34 |
+
"sourceHandle": "output",
|
| 35 |
+
"target": "View 1",
|
| 36 |
+
"targetHandle": "input"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"id": "LynxScribe RAG Graph Chatbot Backend 1 Test Chat API 2",
|
| 40 |
+
"source": "LynxScribe RAG Graph Chatbot Backend 1",
|
| 41 |
+
"sourceHandle": "output",
|
| 42 |
+
"target": "Test Chat API 2",
|
| 43 |
+
"targetHandle": "chat_api"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"id": "Chat processor 1 LynxScribe RAG Graph Chatbot Backend 1",
|
| 47 |
+
"source": "Chat processor 1",
|
| 48 |
+
"sourceHandle": "output",
|
| 49 |
+
"target": "LynxScribe RAG Graph Chatbot Backend 1",
|
| 50 |
+
"targetHandle": "chat_processor"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"id": "Cloud-sourced File Listing 1 LynxScribe Text RAG Loader 1",
|
| 54 |
+
"source": "Cloud-sourced File Listing 1",
|
| 55 |
+
"sourceHandle": "output",
|
| 56 |
+
"target": "LynxScribe Text RAG Loader 1",
|
| 57 |
+
"targetHandle": "file_urls"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"id": "LynxScribe Text RAG Loader 1 LynxScribe RAG Graph Chatbot Builder 1",
|
| 61 |
+
"source": "LynxScribe Text RAG Loader 1",
|
| 62 |
+
"sourceHandle": "output",
|
| 63 |
+
"target": "LynxScribe RAG Graph Chatbot Builder 1",
|
| 64 |
+
"targetHandle": "rag_graph"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"id": "LynxScribe RAG Graph Chatbot Builder 1 LynxScribe RAG Graph Chatbot Backend 1",
|
| 68 |
+
"source": "LynxScribe RAG Graph Chatbot Builder 1",
|
| 69 |
+
"sourceHandle": "output",
|
| 70 |
+
"target": "LynxScribe RAG Graph Chatbot Backend 1",
|
| 71 |
+
"targetHandle": "knowledge_base"
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"env": "LynxScribe",
|
| 75 |
+
"nodes": [
|
| 76 |
+
{
|
| 77 |
+
"data": {
|
| 78 |
+
"__execution_delay": 0.0,
|
| 79 |
+
"collapsed": null,
|
| 80 |
+
"display": null,
|
| 81 |
+
"error": null,
|
| 82 |
+
"meta": {
|
| 83 |
+
"inputs": {},
|
| 84 |
+
"name": "Input chat",
|
| 85 |
+
"outputs": {
|
| 86 |
+
"output": {
|
| 87 |
+
"name": "output",
|
| 88 |
+
"position": "right",
|
| 89 |
+
"type": {
|
| 90 |
+
"type": "None"
|
| 91 |
+
}
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
"params": {
|
| 95 |
+
"chat": {
|
| 96 |
+
"default": null,
|
| 97 |
+
"name": "chat",
|
| 98 |
+
"type": {
|
| 99 |
+
"type": "<class 'str'>"
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"type": "basic"
|
| 104 |
+
},
|
| 105 |
+
"params": {
|
| 106 |
+
"chat": "Wgo is Gabor?"
|
| 107 |
+
},
|
| 108 |
+
"status": "done",
|
| 109 |
+
"title": "Input chat"
|
| 110 |
+
},
|
| 111 |
+
"dragHandle": ".bg-primary",
|
| 112 |
+
"height": 186.0,
|
| 113 |
+
"id": "Input chat 1",
|
| 114 |
+
"parentId": null,
|
| 115 |
+
"position": {
|
| 116 |
+
"x": -2606.8829929570456,
|
| 117 |
+
"y": -648.2654341415332
|
| 118 |
+
},
|
| 119 |
+
"type": "basic",
|
| 120 |
+
"width": 259.0
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"data": {
|
| 124 |
+
"display": {
|
| 125 |
+
"dataframes": {
|
| 126 |
+
"df": {
|
| 127 |
+
"columns": ["answer"],
|
| 128 |
+
"data": [
|
| 129 |
+
[
|
| 130 |
+
"Lynx Analytics has two notable professionals named G\u00e1bor. Could you please specify which G\u00e1bor you are inquiring about?\n\n- **G\u00e1bor Benedek**: Chief Innovation Officer & Co-founder at Lynx Analytics. He specializes in economic and business simulations, social network analysis, data mining, and predictive analytics. He has an academic background as a former Associate Professor at Corvinus University of Budapest and has founded several data-related companies.\n\n- **G\u00e1bor Kriv\u00e1chy**: Country Manager at Lynx Analytics in Hungary. He is an experienced technology executive with a background in system implementation, integration, and project management, particularly in SAP implementations.\n\nLet me know which G\u00e1bor's details you would like to learn more about!"
|
| 131 |
+
]
|
| 132 |
+
]
|
| 133 |
+
}
|
| 134 |
+
}
|
| 135 |
+
},
|
| 136 |
+
"error": null,
|
| 137 |
+
"meta": {
|
| 138 |
+
"inputs": {
|
| 139 |
+
"input": {
|
| 140 |
+
"name": "input",
|
| 141 |
+
"position": "left",
|
| 142 |
+
"type": {
|
| 143 |
+
"type": "<class 'inspect._empty'>"
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
},
|
| 147 |
+
"name": "View",
|
| 148 |
+
"outputs": {},
|
| 149 |
+
"params": {},
|
| 150 |
+
"type": "table_view"
|
| 151 |
+
},
|
| 152 |
+
"params": {},
|
| 153 |
+
"status": "done",
|
| 154 |
+
"title": "View"
|
| 155 |
+
},
|
| 156 |
+
"dragHandle": ".bg-primary",
|
| 157 |
+
"height": 950.0,
|
| 158 |
+
"id": "View 1",
|
| 159 |
+
"parentId": null,
|
| 160 |
+
"position": {
|
| 161 |
+
"x": -754.9225960536905,
|
| 162 |
+
"y": -643.161064357758
|
| 163 |
+
},
|
| 164 |
+
"type": "table_view",
|
| 165 |
+
"width": 1256.0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"data": {
|
| 169 |
+
"display": null,
|
| 170 |
+
"error": null,
|
| 171 |
+
"meta": {
|
| 172 |
+
"inputs": {},
|
| 173 |
+
"name": "Truncate history",
|
| 174 |
+
"outputs": {
|
| 175 |
+
"output": {
|
| 176 |
+
"name": "output",
|
| 177 |
+
"position": "top",
|
| 178 |
+
"type": {
|
| 179 |
+
"type": "None"
|
| 180 |
+
}
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"params": {
|
| 184 |
+
"max_tokens": {
|
| 185 |
+
"default": 10000.0,
|
| 186 |
+
"name": "max_tokens",
|
| 187 |
+
"type": {
|
| 188 |
+
"type": "<class 'int'>"
|
| 189 |
+
}
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"type": "basic"
|
| 193 |
+
},
|
| 194 |
+
"params": {
|
| 195 |
+
"max_tokens": 10000.0
|
| 196 |
+
},
|
| 197 |
+
"status": "done",
|
| 198 |
+
"title": "Truncate history"
|
| 199 |
+
},
|
| 200 |
+
"dragHandle": ".bg-primary",
|
| 201 |
+
"height": 200.0,
|
| 202 |
+
"id": "Truncate history 1",
|
| 203 |
+
"parentId": null,
|
| 204 |
+
"position": {
|
| 205 |
+
"x": -1536.508533731351,
|
| 206 |
+
"y": 728.1204075546109
|
| 207 |
+
},
|
| 208 |
+
"type": "basic",
|
| 209 |
+
"width": 200.0
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"data": {
|
| 213 |
+
"__execution_delay": null,
|
| 214 |
+
"collapsed": false,
|
| 215 |
+
"display": null,
|
| 216 |
+
"error": null,
|
| 217 |
+
"meta": {
|
| 218 |
+
"inputs": {
|
| 219 |
+
"processor": {
|
| 220 |
+
"name": "processor",
|
| 221 |
+
"position": "bottom",
|
| 222 |
+
"type": {
|
| 223 |
+
"type": "<class 'inspect._empty'>"
|
| 224 |
+
}
|
| 225 |
+
}
|
| 226 |
+
},
|
| 227 |
+
"name": "Chat processor",
|
| 228 |
+
"outputs": {
|
| 229 |
+
"output": {
|
| 230 |
+
"name": "output",
|
| 231 |
+
"position": "top",
|
| 232 |
+
"type": {
|
| 233 |
+
"type": "None"
|
| 234 |
+
}
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
"params": {},
|
| 238 |
+
"type": "basic"
|
| 239 |
+
},
|
| 240 |
+
"params": {},
|
| 241 |
+
"status": "done",
|
| 242 |
+
"title": "Chat processor"
|
| 243 |
+
},
|
| 244 |
+
"dragHandle": ".bg-primary",
|
| 245 |
+
"height": 89.0,
|
| 246 |
+
"id": "Chat processor 1",
|
| 247 |
+
"parentId": null,
|
| 248 |
+
"position": {
|
| 249 |
+
"x": -1527.1027075359414,
|
| 250 |
+
"y": 605.2129408898476
|
| 251 |
+
},
|
| 252 |
+
"type": "basic",
|
| 253 |
+
"width": 416.0
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"data": {
|
| 257 |
+
"__execution_delay": 0.0,
|
| 258 |
+
"collapsed": null,
|
| 259 |
+
"display": null,
|
| 260 |
+
"error": null,
|
| 261 |
+
"meta": {
|
| 262 |
+
"inputs": {},
|
| 263 |
+
"name": "Mask",
|
| 264 |
+
"outputs": {
|
| 265 |
+
"output": {
|
| 266 |
+
"name": "output",
|
| 267 |
+
"position": "top",
|
| 268 |
+
"type": {
|
| 269 |
+
"type": "None"
|
| 270 |
+
}
|
| 271 |
+
}
|
| 272 |
+
},
|
| 273 |
+
"params": {
|
| 274 |
+
"exceptions": {
|
| 275 |
+
"default": "",
|
| 276 |
+
"name": "exceptions",
|
| 277 |
+
"type": {
|
| 278 |
+
"type": "<class 'str'>"
|
| 279 |
+
}
|
| 280 |
+
},
|
| 281 |
+
"mask_pattern": {
|
| 282 |
+
"default": "",
|
| 283 |
+
"name": "mask_pattern",
|
| 284 |
+
"type": {
|
| 285 |
+
"type": "<class 'str'>"
|
| 286 |
+
}
|
| 287 |
+
},
|
| 288 |
+
"name": {
|
| 289 |
+
"default": "",
|
| 290 |
+
"name": "name",
|
| 291 |
+
"type": {
|
| 292 |
+
"type": "<class 'str'>"
|
| 293 |
+
}
|
| 294 |
+
},
|
| 295 |
+
"regex": {
|
| 296 |
+
"default": "",
|
| 297 |
+
"name": "regex",
|
| 298 |
+
"type": {
|
| 299 |
+
"type": "<class 'str'>"
|
| 300 |
+
}
|
| 301 |
+
}
|
| 302 |
+
},
|
| 303 |
+
"type": "basic"
|
| 304 |
+
},
|
| 305 |
+
"params": {
|
| 306 |
+
"exceptions": "[email protected],[email protected],[email protected],[email protected]",
|
| 307 |
+
"mask_pattern": "masked_email_address_{}",
|
| 308 |
+
"name": "email",
|
| 309 |
+
"regex": "([a-z0-9!#$%&'*+\\/=?^_`{|.}~-]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)"
|
| 310 |
+
},
|
| 311 |
+
"status": "done",
|
| 312 |
+
"title": "Mask"
|
| 313 |
+
},
|
| 314 |
+
"dragHandle": ".bg-primary",
|
| 315 |
+
"height": 358.0,
|
| 316 |
+
"id": "Mask 1",
|
| 317 |
+
"parentId": null,
|
| 318 |
+
"position": {
|
| 319 |
+
"x": -1309.5065330408577,
|
| 320 |
+
"y": 731.6791509394458
|
| 321 |
+
},
|
| 322 |
+
"type": "basic",
|
| 323 |
+
"width": 313.0
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"data": {
|
| 327 |
+
"__execution_delay": 0.0,
|
| 328 |
+
"collapsed": null,
|
| 329 |
+
"display": null,
|
| 330 |
+
"error": null,
|
| 331 |
+
"meta": {
|
| 332 |
+
"inputs": {},
|
| 333 |
+
"name": "Mask",
|
| 334 |
+
"outputs": {
|
| 335 |
+
"output": {
|
| 336 |
+
"name": "output",
|
| 337 |
+
"position": "top",
|
| 338 |
+
"type": {
|
| 339 |
+
"type": "None"
|
| 340 |
+
}
|
| 341 |
+
}
|
| 342 |
+
},
|
| 343 |
+
"params": {
|
| 344 |
+
"exceptions": {
|
| 345 |
+
"default": "",
|
| 346 |
+
"name": "exceptions",
|
| 347 |
+
"type": {
|
| 348 |
+
"type": "<class 'str'>"
|
| 349 |
+
}
|
| 350 |
+
},
|
| 351 |
+
"mask_pattern": {
|
| 352 |
+
"default": "",
|
| 353 |
+
"name": "mask_pattern",
|
| 354 |
+
"type": {
|
| 355 |
+
"type": "<class 'str'>"
|
| 356 |
+
}
|
| 357 |
+
},
|
| 358 |
+
"name": {
|
| 359 |
+
"default": "",
|
| 360 |
+
"name": "name",
|
| 361 |
+
"type": {
|
| 362 |
+
"type": "<class 'str'>"
|
| 363 |
+
}
|
| 364 |
+
},
|
| 365 |
+
"regex": {
|
| 366 |
+
"default": "",
|
| 367 |
+
"name": "regex",
|
| 368 |
+
"type": {
|
| 369 |
+
"type": "<class 'str'>"
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
"type": "basic"
|
| 374 |
+
},
|
| 375 |
+
"params": {
|
| 376 |
+
"exceptions": "",
|
| 377 |
+
"mask_pattern": "masked_credit_card_number_{}",
|
| 378 |
+
"name": "credit_card",
|
| 379 |
+
"regex": "((?:(?:\\\\d{4}[- ]?){3}\\\\d{4}|\\\\d{15,16}))(?![\\\\d])"
|
| 380 |
+
},
|
| 381 |
+
"status": "done",
|
| 382 |
+
"title": "Mask"
|
| 383 |
+
},
|
| 384 |
+
"dragHandle": ".bg-primary",
|
| 385 |
+
"height": 358.0,
|
| 386 |
+
"id": "Mask 2",
|
| 387 |
+
"parentId": null,
|
| 388 |
+
"position": {
|
| 389 |
+
"x": -983.2612912523697,
|
| 390 |
+
"y": 731.5859900002104
|
| 391 |
+
},
|
| 392 |
+
"type": "basic",
|
| 393 |
+
"width": 315.0
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"data": {
|
| 397 |
+
"__execution_delay": 0.0,
|
| 398 |
+
"collapsed": false,
|
| 399 |
+
"display": null,
|
| 400 |
+
"error": null,
|
| 401 |
+
"meta": {
|
| 402 |
+
"inputs": {
|
| 403 |
+
"chat_api": {
|
| 404 |
+
"name": "chat_api",
|
| 405 |
+
"position": "bottom",
|
| 406 |
+
"type": {
|
| 407 |
+
"type": "<class 'inspect._empty'>"
|
| 408 |
+
}
|
| 409 |
+
},
|
| 410 |
+
"message": {
|
| 411 |
+
"name": "message",
|
| 412 |
+
"position": "left",
|
| 413 |
+
"type": {
|
| 414 |
+
"type": "<class 'inspect._empty'>"
|
| 415 |
+
}
|
| 416 |
+
}
|
| 417 |
+
},
|
| 418 |
+
"name": "Test Chat API",
|
| 419 |
+
"outputs": {
|
| 420 |
+
"output": {
|
| 421 |
+
"name": "output",
|
| 422 |
+
"position": "right",
|
| 423 |
+
"type": {
|
| 424 |
+
"type": "None"
|
| 425 |
+
}
|
| 426 |
+
}
|
| 427 |
+
},
|
| 428 |
+
"params": {
|
| 429 |
+
"show_details": {
|
| 430 |
+
"default": false,
|
| 431 |
+
"name": "show_details",
|
| 432 |
+
"type": {
|
| 433 |
+
"type": "<class 'bool'>"
|
| 434 |
+
}
|
| 435 |
+
}
|
| 436 |
+
},
|
| 437 |
+
"type": "basic"
|
| 438 |
+
},
|
| 439 |
+
"params": {},
|
| 440 |
+
"status": "done",
|
| 441 |
+
"title": "Test Chat API"
|
| 442 |
+
},
|
| 443 |
+
"dragHandle": ".bg-primary",
|
| 444 |
+
"height": 201.0,
|
| 445 |
+
"id": "Test Chat API 2",
|
| 446 |
+
"parentId": null,
|
| 447 |
+
"position": {
|
| 448 |
+
"x": -2024.044443214723,
|
| 449 |
+
"y": -654.8412606520155
|
| 450 |
+
},
|
| 451 |
+
"type": "basic",
|
| 452 |
+
"width": 906.0
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"data": {
|
| 456 |
+
"__execution_delay": 0.0,
|
| 457 |
+
"collapsed": null,
|
| 458 |
+
"display": null,
|
| 459 |
+
"error": null,
|
| 460 |
+
"meta": {
|
| 461 |
+
"inputs": {
|
| 462 |
+
"chat_processor": {
|
| 463 |
+
"name": "chat_processor",
|
| 464 |
+
"position": "bottom",
|
| 465 |
+
"type": {
|
| 466 |
+
"type": "<class 'inspect._empty'>"
|
| 467 |
+
}
|
| 468 |
+
},
|
| 469 |
+
"knowledge_base": {
|
| 470 |
+
"name": "knowledge_base",
|
| 471 |
+
"position": "bottom",
|
| 472 |
+
"type": {
|
| 473 |
+
"type": "<class 'inspect._empty'>"
|
| 474 |
+
}
|
| 475 |
+
}
|
| 476 |
+
},
|
| 477 |
+
"name": "LynxScribe RAG Graph Chatbot Backend",
|
| 478 |
+
"outputs": {
|
| 479 |
+
"output": {
|
| 480 |
+
"name": "output",
|
| 481 |
+
"position": "top",
|
| 482 |
+
"type": {
|
| 483 |
+
"type": "None"
|
| 484 |
+
}
|
| 485 |
+
}
|
| 486 |
+
},
|
| 487 |
+
"params": {
|
| 488 |
+
"llm_interface": {
|
| 489 |
+
"default": "openai",
|
| 490 |
+
"name": "llm_interface",
|
| 491 |
+
"type": {
|
| 492 |
+
"type": "<class 'str'>"
|
| 493 |
+
}
|
| 494 |
+
},
|
| 495 |
+
"llm_model_name": {
|
| 496 |
+
"default": "gpt-4o",
|
| 497 |
+
"name": "llm_model_name",
|
| 498 |
+
"type": {
|
| 499 |
+
"type": "<class 'str'>"
|
| 500 |
+
}
|
| 501 |
+
},
|
| 502 |
+
"negative_answer": {
|
| 503 |
+
"default": "I'm sorry, but the data I've been trained on does not contain any information related to your question.",
|
| 504 |
+
"name": "negative_answer",
|
| 505 |
+
"type": {
|
| 506 |
+
"type": "<class 'str'>"
|
| 507 |
+
}
|
| 508 |
+
},
|
| 509 |
+
"retriever_limits_by_type": {
|
| 510 |
+
"default": "{}",
|
| 511 |
+
"name": "retriever_limits_by_type",
|
| 512 |
+
"type": {
|
| 513 |
+
"type": "<class 'str'>"
|
| 514 |
+
}
|
| 515 |
+
},
|
| 516 |
+
"retriever_max_iterations": {
|
| 517 |
+
"default": 3.0,
|
| 518 |
+
"name": "retriever_max_iterations",
|
| 519 |
+
"type": {
|
| 520 |
+
"type": "<class 'int'>"
|
| 521 |
+
}
|
| 522 |
+
},
|
| 523 |
+
"retriever_overall_chunk_limit": {
|
| 524 |
+
"default": 20.0,
|
| 525 |
+
"name": "retriever_overall_chunk_limit",
|
| 526 |
+
"type": {
|
| 527 |
+
"type": "<class 'int'>"
|
| 528 |
+
}
|
| 529 |
+
},
|
| 530 |
+
"retriever_overall_token_limit": {
|
| 531 |
+
"default": 3000.0,
|
| 532 |
+
"name": "retriever_overall_token_limit",
|
| 533 |
+
"type": {
|
| 534 |
+
"type": "<class 'int'>"
|
| 535 |
+
}
|
| 536 |
+
},
|
| 537 |
+
"retriever_strict_limits": {
|
| 538 |
+
"default": true,
|
| 539 |
+
"name": "retriever_strict_limits",
|
| 540 |
+
"type": {
|
| 541 |
+
"type": "<class 'bool'>"
|
| 542 |
+
}
|
| 543 |
+
}
|
| 544 |
+
},
|
| 545 |
+
"position": {
|
| 546 |
+
"x": 543.0,
|
| 547 |
+
"y": 256.0
|
| 548 |
+
},
|
| 549 |
+
"type": "basic"
|
| 550 |
+
},
|
| 551 |
+
"params": {
|
| 552 |
+
"llm_interface": "openai",
|
| 553 |
+
"llm_model_name": "gpt-4o",
|
| 554 |
+
"negative_answer": "I'm sorry, but the data I've been trained on does not contain any information related to your question.",
|
| 555 |
+
"retriever_limits_by_type": "{\"information\": [1, 5], \"summary\": [0, 2], \"template_qna\": [1, 3], \"QnA question\": [0, 0]}",
|
| 556 |
+
"retriever_max_iterations": 3.0,
|
| 557 |
+
"retriever_overall_chunk_limit": "20",
|
| 558 |
+
"retriever_overall_token_limit": 3000.0,
|
| 559 |
+
"retriever_strict_limits": true
|
| 560 |
+
},
|
| 561 |
+
"status": "done",
|
| 562 |
+
"title": "LynxScribe RAG Graph Chatbot Backend"
|
| 563 |
+
},
|
| 564 |
+
"dragHandle": ".bg-primary",
|
| 565 |
+
"height": 556.0,
|
| 566 |
+
"id": "LynxScribe RAG Graph Chatbot Backend 1",
|
| 567 |
+
"position": {
|
| 568 |
+
"x": -2020.0,
|
| 569 |
+
"y": -188.33333333333334
|
| 570 |
+
},
|
| 571 |
+
"type": "basic",
|
| 572 |
+
"width": 903.0
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"data": {
|
| 576 |
+
"__execution_delay": 0.0,
|
| 577 |
+
"collapsed": null,
|
| 578 |
+
"display": null,
|
| 579 |
+
"error": null,
|
| 580 |
+
"meta": {
|
| 581 |
+
"inputs": {
|
| 582 |
+
"file_urls": {
|
| 583 |
+
"name": "file_urls",
|
| 584 |
+
"position": "left",
|
| 585 |
+
"type": {
|
| 586 |
+
"type": "<class 'inspect._empty'>"
|
| 587 |
+
}
|
| 588 |
+
}
|
| 589 |
+
},
|
| 590 |
+
"name": "LynxScribe Text RAG Loader",
|
| 591 |
+
"outputs": {
|
| 592 |
+
"output": {
|
| 593 |
+
"name": "output",
|
| 594 |
+
"position": "right",
|
| 595 |
+
"type": {
|
| 596 |
+
"type": "None"
|
| 597 |
+
}
|
| 598 |
+
}
|
| 599 |
+
},
|
| 600 |
+
"params": {
|
| 601 |
+
"input_type": {
|
| 602 |
+
"default": "v1",
|
| 603 |
+
"name": "input_type",
|
| 604 |
+
"type": {
|
| 605 |
+
"enum": ["V1", "V2"]
|
| 606 |
+
}
|
| 607 |
+
},
|
| 608 |
+
"text_embedder_interface": {
|
| 609 |
+
"default": "openai",
|
| 610 |
+
"name": "text_embedder_interface",
|
| 611 |
+
"type": {
|
| 612 |
+
"type": "<class 'str'>"
|
| 613 |
+
}
|
| 614 |
+
},
|
| 615 |
+
"text_embedder_model_name_or_path": {
|
| 616 |
+
"default": "text-embedding-3-large",
|
| 617 |
+
"name": "text_embedder_model_name_or_path",
|
| 618 |
+
"type": {
|
| 619 |
+
"type": "<class 'str'>"
|
| 620 |
+
}
|
| 621 |
+
},
|
| 622 |
+
"vdb_collection_name": {
|
| 623 |
+
"default": "lynx",
|
| 624 |
+
"name": "vdb_collection_name",
|
| 625 |
+
"type": {
|
| 626 |
+
"type": "<class 'str'>"
|
| 627 |
+
}
|
| 628 |
+
},
|
| 629 |
+
"vdb_num_dimensions": {
|
| 630 |
+
"default": 3072.0,
|
| 631 |
+
"name": "vdb_num_dimensions",
|
| 632 |
+
"type": {
|
| 633 |
+
"type": "<class 'int'>"
|
| 634 |
+
}
|
| 635 |
+
},
|
| 636 |
+
"vdb_provider_name": {
|
| 637 |
+
"default": "faiss",
|
| 638 |
+
"name": "vdb_provider_name",
|
| 639 |
+
"type": {
|
| 640 |
+
"type": "<class 'str'>"
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
},
|
| 644 |
+
"position": {
|
| 645 |
+
"x": 870.0,
|
| 646 |
+
"y": 926.0
|
| 647 |
+
},
|
| 648 |
+
"type": "basic"
|
| 649 |
+
},
|
| 650 |
+
"params": {
|
| 651 |
+
"input_type": "V1",
|
| 652 |
+
"text_embedder_interface": "openai",
|
| 653 |
+
"text_embedder_model_name_or_path": "text-embedding-ada-002",
|
| 654 |
+
"vdb_collection_name": "lynx",
|
| 655 |
+
"vdb_num_dimensions": "1536",
|
| 656 |
+
"vdb_provider_name": "faiss"
|
| 657 |
+
},
|
| 658 |
+
"status": "done",
|
| 659 |
+
"title": "LynxScribe Text RAG Loader"
|
| 660 |
+
},
|
| 661 |
+
"dragHandle": ".bg-primary",
|
| 662 |
+
"height": 520.0,
|
| 663 |
+
"id": "LynxScribe Text RAG Loader 1",
|
| 664 |
+
"position": {
|
| 665 |
+
"x": -2980.4063452955706,
|
| 666 |
+
"y": 787.1039827859594
|
| 667 |
+
},
|
| 668 |
+
"type": "basic",
|
| 669 |
+
"width": 318.0
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"data": {
|
| 673 |
+
"__execution_delay": 0.0,
|
| 674 |
+
"collapsed": null,
|
| 675 |
+
"display": null,
|
| 676 |
+
"error": null,
|
| 677 |
+
"meta": {
|
| 678 |
+
"inputs": {},
|
| 679 |
+
"name": "Cloud-sourced File Listing",
|
| 680 |
+
"outputs": {
|
| 681 |
+
"output": {
|
| 682 |
+
"name": "output",
|
| 683 |
+
"position": "right",
|
| 684 |
+
"type": {
|
| 685 |
+
"type": "None"
|
| 686 |
+
}
|
| 687 |
+
}
|
| 688 |
+
},
|
| 689 |
+
"params": {
|
| 690 |
+
"accepted_file_types": {
|
| 691 |
+
"default": ".jpg, .jpeg, .png",
|
| 692 |
+
"name": "accepted_file_types",
|
| 693 |
+
"type": {
|
| 694 |
+
"type": "<class 'str'>"
|
| 695 |
+
}
|
| 696 |
+
},
|
| 697 |
+
"cloud_provider": {
|
| 698 |
+
"default": "gcp",
|
| 699 |
+
"name": "cloud_provider",
|
| 700 |
+
"type": {
|
| 701 |
+
"enum": ["GCP", "AWS", "AZURE"]
|
| 702 |
+
}
|
| 703 |
+
},
|
| 704 |
+
"folder_URL": {
|
| 705 |
+
"default": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test",
|
| 706 |
+
"name": "folder_URL",
|
| 707 |
+
"type": {
|
| 708 |
+
"type": "<class 'str'>"
|
| 709 |
+
}
|
| 710 |
+
}
|
| 711 |
+
},
|
| 712 |
+
"position": {
|
| 713 |
+
"x": 451.0,
|
| 714 |
+
"y": 505.0
|
| 715 |
+
},
|
| 716 |
+
"type": "basic"
|
| 717 |
+
},
|
| 718 |
+
"params": {
|
| 719 |
+
"accepted_file_types": ".pickle",
|
| 720 |
+
"cloud_provider": "GCP",
|
| 721 |
+
"folder_URL": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-knowledge-graphs/lynx-chatbot"
|
| 722 |
+
},
|
| 723 |
+
"status": "done",
|
| 724 |
+
"title": "Cloud-sourced File Listing"
|
| 725 |
+
},
|
| 726 |
+
"dragHandle": ".bg-primary",
|
| 727 |
+
"height": 324.0,
|
| 728 |
+
"id": "Cloud-sourced File Listing 1",
|
| 729 |
+
"position": {
|
| 730 |
+
"x": -3827.1644268005352,
|
| 731 |
+
"y": 883.7859821532916
|
| 732 |
+
},
|
| 733 |
+
"type": "basic",
|
| 734 |
+
"width": 613.0
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"data": {
|
| 738 |
+
"display": null,
|
| 739 |
+
"error": null,
|
| 740 |
+
"meta": {
|
| 741 |
+
"inputs": {
|
| 742 |
+
"rag_graph": {
|
| 743 |
+
"name": "rag_graph",
|
| 744 |
+
"position": "left",
|
| 745 |
+
"type": {
|
| 746 |
+
"type": "<class 'inspect._empty'>"
|
| 747 |
+
}
|
| 748 |
+
}
|
| 749 |
+
},
|
| 750 |
+
"name": "LynxScribe RAG Graph Chatbot Builder",
|
| 751 |
+
"outputs": {
|
| 752 |
+
"output": {
|
| 753 |
+
"name": "output",
|
| 754 |
+
"position": "top",
|
| 755 |
+
"type": {
|
| 756 |
+
"type": "None"
|
| 757 |
+
}
|
| 758 |
+
}
|
| 759 |
+
},
|
| 760 |
+
"params": {
|
| 761 |
+
"node_types": {
|
| 762 |
+
"default": "intent_cluster",
|
| 763 |
+
"name": "node_types",
|
| 764 |
+
"type": {
|
| 765 |
+
"type": "<class 'str'>"
|
| 766 |
+
}
|
| 767 |
+
},
|
| 768 |
+
"scenario_file": {
|
| 769 |
+
"default": "uploads/lynx_chatbot_scenario_selector.yaml",
|
| 770 |
+
"name": "scenario_file",
|
| 771 |
+
"type": {
|
| 772 |
+
"type": "<class 'str'>"
|
| 773 |
+
}
|
| 774 |
+
}
|
| 775 |
+
},
|
| 776 |
+
"position": {
|
| 777 |
+
"x": 1314.0,
|
| 778 |
+
"y": 1003.0
|
| 779 |
+
},
|
| 780 |
+
"type": "basic"
|
| 781 |
+
},
|
| 782 |
+
"params": {
|
| 783 |
+
"node_types": "intent_cluster",
|
| 784 |
+
"scenario_file": "uploads/lynx_chatbot_scenario_selector.yaml"
|
| 785 |
+
},
|
| 786 |
+
"status": "done",
|
| 787 |
+
"title": "LynxScribe RAG Graph Chatbot Builder"
|
| 788 |
+
},
|
| 789 |
+
"dragHandle": ".bg-primary",
|
| 790 |
+
"height": 238.0,
|
| 791 |
+
"id": "LynxScribe RAG Graph Chatbot Builder 1",
|
| 792 |
+
"position": {
|
| 793 |
+
"x": -2453.755433834285,
|
| 794 |
+
"y": 927.5600547745715
|
| 795 |
+
},
|
| 796 |
+
"type": "basic",
|
| 797 |
+
"width": 448.0
|
| 798 |
+
}
|
| 799 |
+
]
|
| 800 |
+
}
|