Spaces:
Running
Running
File size: 53,650 Bytes
bbb29e8 |
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 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="3323pt" height="647pt" viewBox="0.00 0.00 3323.00 647.00">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 642.6)">
<title>FastAPI_AI_Agent</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-642.6 3319,-642.6 3319,4 -4,4"/>
<g id="clust1" class="cluster">
<title>cluster_client</title>
<polygon fill="lightblue" stroke="black" points="1410,-553.8 1410,-630.6 1524,-630.6 1524,-553.8 1410,-553.8"/>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-614" font-family="Times,serif" font-size="14.00">Client Layer</text>
</g>
<g id="clust2" class="cluster">
<title>cluster_middleware</title>
<polygon fill="lightyellow" stroke="black" points="1373,-452.4 1373,-534.8 1561,-534.8 1561,-452.4 1373,-452.4"/>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-518.2" font-family="Times,serif" font-size="14.00">Middleware</text>
</g>
<g id="clust3" class="cluster">
<title>cluster_endpoints</title>
<polygon fill="lightgreen" stroke="black" points="8,-351 8,-433.4 3031,-433.4 3031,-351 8,-351"/>
<text xml:space="preserve" text-anchor="middle" x="1519.5" y="-416.8" font-family="Times,serif" font-size="14.00">API Endpoints</text>
</g>
<g id="clust4" class="cluster">
<title>cluster_services</title>
<polygon fill="lightcoral" stroke="black" points="1548,-238.6 1548,-321 2168,-321 2168,-238.6 1548,-238.6"/>
<text xml:space="preserve" text-anchor="middle" x="1858" y="-304.4" font-family="Times,serif" font-size="14.00">Service Layer</text>
</g>
<g id="clust5" class="cluster">
<title>cluster_tools</title>
<polygon fill="lavender" stroke="black" points="1934,-126.2 1934,-208.6 2568,-208.6 2568,-126.2 1934,-126.2"/>
<text xml:space="preserve" text-anchor="middle" x="2251" y="-192" font-family="Times,serif" font-size="14.00">Agent Tools</text>
</g>
<g id="clust6" class="cluster">
<title>cluster_external</title>
<polygon fill="lightgray" stroke="black" points="2216,-16.4 2216,-98.8 2767,-98.8 2767,-16.4 2216,-16.4"/>
<text xml:space="preserve" text-anchor="middle" x="2491.5" y="-82.2" font-family="Times,serif" font-size="14.00">External Services</text>
</g>
<g id="clust7" class="cluster">
<title>cluster_databases</title>
<polygon fill="lightsteelblue" stroke="black" points="1330,-8 1330,-107.2 1930,-107.2 1930,-8 1330,-8"/>
<text xml:space="preserve" text-anchor="middle" x="1630" y="-90.6" font-family="Times,serif" font-size="14.00">Data Storage</text>
</g>
<g id="clust8" class="cluster">
<title>cluster_ingestion</title>
<polygon fill="mistyrose" stroke="black" points="3039,-19.2 3039,-430.6 3169,-430.6 3169,-19.2 3039,-19.2"/>
<text xml:space="preserve" text-anchor="middle" x="3104" y="-414" font-family="Times,serif" font-size="14.00">Data Ingestion Flow</text>
</g>
<g id="clust9" class="cluster">
<title>cluster_legend</title>
<polygon fill="white" stroke="black" points="3177,-129 3177,-630.6 3307,-630.6 3307,-129 3177,-129"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-614" font-family="Times,serif" font-size="14.00">Legend</text>
</g>
<!-- client -->
<g id="node1" class="node">
<title>client</title>
<polygon fill="skyblue" stroke="black" points="1516.41,-597.8 1417.59,-597.8 1417.59,-561.8 1516.41,-561.8 1516.41,-597.8"/>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-575.6" font-family="Times,serif" font-size="14.00">Client Request</text>
</g>
<!-- middleware -->
<g id="node2" class="node">
<title>middleware</title>
<polygon fill="yellow" stroke="black" points="1552.77,-502 1381.23,-502 1381.23,-460.4 1552.77,-460.4 1552.77,-502"/>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-485.4" font-family="Times,serif" font-size="14.00">Success Flag Middleware</text>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-468.6" font-family="Times,serif" font-size="14.00">(Add success flag to JSON)</text>
</g>
<!-- client->middleware -->
<g id="edge1" class="edge">
<title>client->middleware</title>
<path fill="none" stroke="black" d="M1467,-561.53C1467,-548.3 1467,-529.67 1467,-513.8"/>
<polygon fill="black" stroke="black" points="1470.5,-513.84 1467,-503.84 1463.5,-513.84 1470.5,-513.84"/>
</g>
<!-- session_create -->
<g id="node3" class="node">
<title>session_create</title>
<polygon fill="lightgreen" stroke="black" points="773.07,-400.6 664.93,-400.6 664.93,-359 773.07,-359 773.07,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="719" y="-384" font-family="Times,serif" font-size="14.00">POST /sessions</text>
<text xml:space="preserve" text-anchor="middle" x="719" y="-367.2" font-family="Times,serif" font-size="14.00">(Create Session)</text>
</g>
<!-- middleware->session_create -->
<g id="edge2" class="edge">
<title>middleware->session_create</title>
<path fill="none" stroke="black" d="M1380.81,-480.88C1221.7,-481.07 888.39,-476.14 782,-433.4 768.36,-427.92 755.49,-418.32 744.98,-408.81"/>
<polygon fill="black" stroke="black" points="747.48,-406.36 737.83,-401.98 742.64,-411.42 747.48,-406.36"/>
</g>
<!-- session_list -->
<g id="node4" class="node">
<title>session_list</title>
<polygon fill="lightgreen" stroke="black" points="1659.42,-400.6 1560.58,-400.6 1560.58,-359 1659.42,-359 1659.42,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1610" y="-384" font-family="Times,serif" font-size="14.00">GET /sessions</text>
<text xml:space="preserve" text-anchor="middle" x="1610" y="-367.2" font-family="Times,serif" font-size="14.00">(List Sessions)</text>
</g>
<!-- middleware->session_list -->
<g id="edge3" class="edge">
<title>middleware->session_list</title>
<path fill="none" stroke="black" d="M1507.41,-460.02C1521.6,-452.33 1537.4,-443.08 1551,-433.4 1561.34,-426.05 1571.91,-417.14 1581.19,-408.77"/>
<polygon fill="black" stroke="black" points="1583.55,-411.35 1588.53,-402 1578.81,-406.21 1583.55,-411.35"/>
</g>
<!-- session_delete -->
<g id="node5" class="node">
<title>session_delete</title>
<polygon fill="lightgreen" stroke="black" points="1542.19,-400.6 1391.81,-400.6 1391.81,-359 1542.19,-359 1542.19,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-384" font-family="Times,serif" font-size="14.00">DELETE /sessions/{id}</text>
<text xml:space="preserve" text-anchor="middle" x="1467" y="-367.2" font-family="Times,serif" font-size="14.00">(Delete Session)</text>
</g>
<!-- middleware->session_delete -->
<g id="edge4" class="edge">
<title>middleware->session_delete</title>
<path fill="none" stroke="black" d="M1467,-460.08C1467,-446.34 1467,-427.86 1467,-412.19"/>
<polygon fill="black" stroke="black" points="1470.5,-412.4 1467,-402.4 1463.5,-412.4 1470.5,-412.4"/>
</g>
<!-- session_history -->
<g id="node6" class="node">
<title>session_history</title>
<polygon fill="lightgreen" stroke="black" points="1844.75,-400.6 1677.25,-400.6 1677.25,-359 1844.75,-359 1844.75,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1761" y="-384" font-family="Times,serif" font-size="14.00">GET /sessions/{id}/history</text>
<text xml:space="preserve" text-anchor="middle" x="1761" y="-367.2" font-family="Times,serif" font-size="14.00">(Chat History)</text>
</g>
<!-- middleware->session_history -->
<g id="edge5" class="edge">
<title>middleware->session_history</title>
<path fill="none" stroke="black" d="M1553.22,-465.76C1589.39,-458.27 1631.45,-447.65 1668,-433.4 1686.18,-426.31 1705.11,-416.17 1721.12,-406.68"/>
<polygon fill="black" stroke="black" points="1722.64,-409.85 1729.38,-401.67 1719.01,-403.87 1722.64,-409.85"/>
</g>
<!-- session_title -->
<g id="node7" class="node">
<title>session_title</title>
<polygon fill="lightgreen" stroke="black" points="1196.81,-400.6 1047.19,-400.6 1047.19,-359 1196.81,-359 1196.81,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1122" y="-384" font-family="Times,serif" font-size="14.00">PUT /sessions/{id}/title</text>
<text xml:space="preserve" text-anchor="middle" x="1122" y="-367.2" font-family="Times,serif" font-size="14.00">(Update Title)</text>
</g>
<!-- middleware->session_title -->
<g id="edge6" class="edge">
<title>middleware->session_title</title>
<path fill="none" stroke="black" d="M1381.03,-473.12C1329.03,-466.82 1262.15,-455.08 1206,-433.4 1189.18,-426.9 1172.05,-416.91 1157.68,-407.37"/>
<polygon fill="black" stroke="black" points="1159.7,-404.51 1149.47,-401.74 1155.74,-410.28 1159.7,-404.51"/>
</g>
<!-- bot_main -->
<g id="node8" class="node">
<title>bot_main</title>
<polygon fill="orange" stroke="black" points="2153.27,-400.6 2044.73,-400.6 2044.73,-359 2153.27,-359 2153.27,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2099" y="-384" font-family="Times,serif" font-size="14.00">POST /bot</text>
<text xml:space="preserve" text-anchor="middle" x="2099" y="-367.2" font-family="Times,serif" font-size="14.00">(Main Chat Bot)</text>
</g>
<!-- middleware->bot_main -->
<g id="edge7" class="edge">
<title>middleware->bot_main</title>
<path fill="none" stroke="black" d="M1553.06,-479.44C1690.04,-477.18 1950.87,-468.28 2036,-433.4 2049.6,-427.83 2062.46,-418.21 2072.98,-408.71"/>
<polygon fill="black" stroke="black" points="2075.31,-411.33 2080.13,-401.89 2070.48,-406.26 2075.31,-411.33"/>
</g>
<!-- chat_docs -->
<g id="node9" class="node">
<title>chat_docs</title>
<polygon fill="lightgreen" stroke="black" points="3023.13,-400.6 2876.87,-400.6 2876.87,-359 3023.13,-359 3023.13,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2950" y="-384" font-family="Times,serif" font-size="14.00">POST /chat-documents</text>
<text xml:space="preserve" text-anchor="middle" x="2950" y="-367.2" font-family="Times,serif" font-size="14.00">(Document Search)</text>
</g>
<!-- middleware->chat_docs -->
<g id="edge8" class="edge">
<title>middleware->chat_docs</title>
<path fill="none" stroke="black" d="M1553.19,-479.98C1838.77,-478.87 2743.03,-472.31 2868,-433.4 2885.62,-427.91 2903.11,-417.55 2917.39,-407.46"/>
<polygon fill="black" stroke="black" points="2919.07,-410.57 2925.06,-401.82 2914.93,-404.93 2919.07,-410.57"/>
</g>
<!-- list_projects -->
<g id="node10" class="node">
<title>list_projects</title>
<polygon fill="lightgreen" stroke="black" points="2676.86,-400.6 2553.14,-400.6 2553.14,-359 2676.86,-359 2676.86,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2615" y="-384" font-family="Times,serif" font-size="14.00">POST /list-projects</text>
<text xml:space="preserve" text-anchor="middle" x="2615" y="-367.2" font-family="Times,serif" font-size="14.00">(Project List)</text>
</g>
<!-- middleware->list_projects -->
<g id="edge9" class="edge">
<title>middleware->list_projects</title>
<path fill="none" stroke="black" d="M1553.26,-479.35C1792.31,-476.59 2451.83,-466.06 2544,-433.4 2559.33,-427.97 2574.13,-418.02 2586.22,-408.22"/>
<polygon fill="black" stroke="black" points="2588.4,-410.97 2593.74,-401.82 2583.86,-405.64 2588.4,-410.97"/>
</g>
<!-- pandas_agent -->
<g id="node11" class="node">
<title>pandas_agent</title>
<polygon fill="lightgreen" stroke="black" points="2360.51,-400.6 2171.49,-400.6 2171.49,-359 2360.51,-359 2360.51,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2266" y="-384" font-family="Times,serif" font-size="14.00">POST /chat-with-pandas-agent</text>
<text xml:space="preserve" text-anchor="middle" x="2266" y="-367.2" font-family="Times,serif" font-size="14.00">(Data Analysis)</text>
</g>
<!-- middleware->pandas_agent -->
<g id="edge10" class="edge">
<title>middleware->pandas_agent</title>
<path fill="none" stroke="black" d="M1553.04,-478.68C1712.9,-475.15 2049.68,-464.21 2162,-433.4 2183.73,-427.44 2206.24,-416.71 2224.73,-406.49"/>
<polygon fill="black" stroke="black" points="2226.29,-409.63 2233.25,-401.64 2222.83,-403.54 2226.29,-409.63"/>
</g>
<!-- col_create -->
<g id="node12" class="node">
<title>col_create</title>
<polygon fill="lightgreen" stroke="black" points="139.84,-400.6 16.16,-400.6 16.16,-359 139.84,-359 139.84,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="78" y="-384" font-family="Times,serif" font-size="14.00">POST /collections</text>
<text xml:space="preserve" text-anchor="middle" x="78" y="-367.2" font-family="Times,serif" font-size="14.00">(Create Collection)</text>
</g>
<!-- middleware->col_create -->
<g id="edge11" class="edge">
<title>middleware->col_create</title>
<path fill="none" stroke="black" d="M1380.74,-478.18C1187.53,-473.48 705.3,-460.8 302,-442.4 233.95,-439.3 213.03,-456.64 149,-433.4 133.83,-427.89 119.14,-418.03 107.1,-408.32"/>
<polygon fill="black" stroke="black" points="109.49,-405.76 99.59,-401.98 104.97,-411.11 109.49,-405.76"/>
</g>
<!-- col_list -->
<g id="node13" class="node">
<title>col_list</title>
<polygon fill="lightgreen" stroke="black" points="272.19,-400.6 157.81,-400.6 157.81,-359 272.19,-359 272.19,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="215" y="-384" font-family="Times,serif" font-size="14.00">GET /collections</text>
<text xml:space="preserve" text-anchor="middle" x="215" y="-367.2" font-family="Times,serif" font-size="14.00">(List Collections)</text>
</g>
<!-- middleware->col_list -->
<g id="edge12" class="edge">
<title>middleware->col_list</title>
<path fill="none" stroke="black" d="M1380.84,-477.65C1203.92,-472.27 786.89,-458.91 437,-442.4 367.63,-439.13 345.87,-458.21 281,-433.4 266.75,-427.95 253.16,-418.23 242.07,-408.61"/>
<polygon fill="black" stroke="black" points="244.6,-406.18 234.86,-402.03 239.88,-411.35 244.6,-406.18"/>
</g>
<!-- col_search -->
<g id="node14" class="node">
<title>col_search</title>
<polygon fill="lightgreen" stroke="black" points="1373.44,-400.6 1214.56,-400.6 1214.56,-359 1373.44,-359 1373.44,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1294" y="-384" font-family="Times,serif" font-size="14.00">GET /search/{collection}</text>
<text xml:space="preserve" text-anchor="middle" x="1294" y="-367.2" font-family="Times,serif" font-size="14.00">(Search Collection)</text>
</g>
<!-- middleware->col_search -->
<g id="edge13" class="edge">
<title>middleware->col_search</title>
<path fill="none" stroke="black" d="M1430.5,-460.13C1415.71,-451.93 1398.49,-442.29 1383,-433.4 1368.08,-424.83 1351.85,-415.31 1337.38,-406.74"/>
<polygon fill="black" stroke="black" points="1339.38,-403.85 1328.99,-401.76 1335.8,-409.87 1339.38,-403.85"/>
</g>
<!-- col_ingest -->
<g id="node15" class="node">
<title>col_ingest</title>
<polygon fill="lightgreen" stroke="black" points="2026.8,-400.6 1863.2,-400.6 1863.2,-359 2026.8,-359 2026.8,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="1945" y="-384" font-family="Times,serif" font-size="14.00">POST /ingest/{collection}</text>
<text xml:space="preserve" text-anchor="middle" x="1945" y="-367.2" font-family="Times,serif" font-size="14.00">(Ingest File)</text>
</g>
<!-- middleware->col_ingest -->
<g id="edge14" class="edge">
<title>middleware->col_ingest</title>
<path fill="none" stroke="black" d="M1552.95,-479.63C1632.84,-476.83 1754.18,-466.73 1854,-433.4 1872.63,-427.18 1891.69,-416.89 1907.51,-407.05"/>
<polygon fill="black" stroke="black" points="1909.11,-410.18 1915.64,-401.84 1905.34,-404.29 1909.11,-410.18"/>
</g>
<!-- dataset_info -->
<g id="node16" class="node">
<title>dataset_info</title>
<polygon fill="lightgreen" stroke="black" points="2535.17,-400.6 2378.83,-400.6 2378.83,-359 2535.17,-359 2535.17,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2457" y="-384" font-family="Times,serif" font-size="14.00">POST /fetch-dataset-info</text>
<text xml:space="preserve" text-anchor="middle" x="2457" y="-367.2" font-family="Times,serif" font-size="14.00">(Dataset Info)</text>
</g>
<!-- middleware->dataset_info -->
<g id="edge15" class="edge">
<title>middleware->dataset_info</title>
<path fill="none" stroke="black" d="M1553,-478.13C1763.55,-472.72 2293.32,-456.93 2370,-433.4 2388.27,-427.79 2406.65,-417.52 2421.78,-407.53"/>
<polygon fill="black" stroke="black" points="2423.7,-410.45 2429.97,-401.91 2419.74,-404.68 2423.7,-410.45"/>
</g>
<!-- setup_datasets -->
<g id="node17" class="node">
<title>setup_datasets</title>
<polygon fill="lightgreen" stroke="black" points="2859.07,-400.6 2694.93,-400.6 2694.93,-359 2859.07,-359 2859.07,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="2777" y="-384" font-family="Times,serif" font-size="14.00">POST /setup-user-datasets</text>
<text xml:space="preserve" text-anchor="middle" x="2777" y="-367.2" font-family="Times,serif" font-size="14.00">(Setup Datasets)</text>
</g>
<!-- middleware->setup_datasets -->
<g id="edge16" class="edge">
<title>middleware->setup_datasets</title>
<path fill="none" stroke="black" d="M1552.94,-477.58C1731.95,-472.02 2157.83,-458.24 2515,-442.4 2591.03,-439.03 2613.04,-455.04 2686,-433.4 2705.12,-427.73 2724.51,-417.31 2740.44,-407.23"/>
<polygon fill="black" stroke="black" points="2742.17,-410.28 2748.62,-401.88 2738.34,-404.43 2742.17,-410.28"/>
</g>
<!-- health -->
<g id="node18" class="node">
<title>health</title>
<polygon fill="lightgreen" stroke="black" points="523.95,-400.6 422.05,-400.6 422.05,-359 523.95,-359 523.95,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="473" y="-384" font-family="Times,serif" font-size="14.00">GET /health</text>
<text xml:space="preserve" text-anchor="middle" x="473" y="-367.2" font-family="Times,serif" font-size="14.00">(Health Check)</text>
</g>
<!-- middleware->health -->
<g id="edge17" class="edge">
<title>middleware->health</title>
<path fill="none" stroke="black" d="M1380.88,-476.46C1235.82,-470.08 933.55,-456.4 678,-442.4 613.09,-438.84 592.01,-458.41 532,-433.4 519.07,-428.01 507.07,-418.55 497.31,-409.13"/>
<polygon fill="black" stroke="black" points="499.89,-406.77 490.41,-402.05 494.88,-411.65 499.89,-406.77"/>
</g>
<!-- redis_info -->
<g id="node19" class="node">
<title>redis_info</title>
<polygon fill="lightgreen" stroke="black" points="646.52,-400.6 541.48,-400.6 541.48,-359 646.52,-359 646.52,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="594" y="-384" font-family="Times,serif" font-size="14.00">GET /redis-info</text>
<text xml:space="preserve" text-anchor="middle" x="594" y="-367.2" font-family="Times,serif" font-size="14.00">(Redis Info)</text>
</g>
<!-- middleware->redis_info -->
<g id="edge18" class="edge">
<title>middleware->redis_info</title>
<path fill="none" stroke="black" d="M1380.91,-475.44C1254.14,-468.4 1009.78,-454.71 802,-442.4 737.1,-438.56 716.31,-457.67 656,-433.4 642.5,-427.97 629.81,-418.37 619.48,-408.86"/>
<polygon fill="black" stroke="black" points="622.07,-406.5 612.46,-402.03 617.19,-411.51 622.07,-406.5"/>
</g>
<!-- qdrant_info -->
<g id="node20" class="node">
<title>qdrant_info</title>
<polygon fill="lightgreen" stroke="black" points="403.79,-400.6 290.21,-400.6 290.21,-359 403.79,-359 403.79,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="347" y="-384" font-family="Times,serif" font-size="14.00">GET /qdrant-info</text>
<text xml:space="preserve" text-anchor="middle" x="347" y="-367.2" font-family="Times,serif" font-size="14.00">(Qdrant Info)</text>
</g>
<!-- middleware->qdrant_info -->
<g id="edge19" class="edge">
<title>middleware->qdrant_info</title>
<path fill="none" stroke="black" d="M1380.78,-477.33C1218.36,-471.77 855.96,-458.63 551,-442.4 489.62,-439.13 470.33,-455.57 413,-433.4 398.77,-427.9 385.19,-418.16 374.09,-408.55"/>
<polygon fill="black" stroke="black" points="376.62,-406.13 366.88,-401.98 371.91,-411.3 376.62,-406.13"/>
</g>
<!-- delete_user -->
<g id="node21" class="node">
<title>delete_user</title>
<polygon fill="red" stroke="black" points="1028.71,-400.6 791.29,-400.6 791.29,-359 1028.71,-359 1028.71,-400.6"/>
<text xml:space="preserve" text-anchor="middle" x="910" y="-384" font-family="Times,serif" font-size="14.00">DELETE /delete_user_completely/{id}</text>
<text xml:space="preserve" text-anchor="middle" x="910" y="-367.2" font-family="Times,serif" font-size="14.00">(Delete User)</text>
</g>
<!-- middleware->delete_user -->
<g id="edge20" class="edge">
<title>middleware->delete_user</title>
<path fill="none" stroke="black" d="M1381.09,-477.91C1293.57,-473.93 1154.53,-463.07 1038,-433.4 1011.85,-426.74 984.01,-415.81 961,-405.62"/>
<polygon fill="black" stroke="black" points="962.72,-402.56 952.17,-401.64 959.84,-408.94 962.72,-402.56"/>
</g>
<!-- session_mgmt -->
<g id="node22" class="node">
<title>session_mgmt</title>
<polygon fill="coral" stroke="black" points="1691.68,-288.2 1556.32,-288.2 1556.32,-246.6 1691.68,-246.6 1691.68,-288.2"/>
<text xml:space="preserve" text-anchor="middle" x="1624" y="-271.6" font-family="Times,serif" font-size="14.00">Session Management</text>
<text xml:space="preserve" text-anchor="middle" x="1624" y="-254.8" font-family="Times,serif" font-size="14.00">Service</text>
</g>
<!-- session_create->session_mgmt -->
<g id="edge21" class="edge">
<title>session_create->session_mgmt</title>
<path fill="none" stroke="black" d="M759.67,-358.62C766.96,-355.65 774.6,-352.94 782,-351 1055.29,-279.27 1393.29,-268.7 1544.44,-267.88"/>
<polygon fill="black" stroke="black" points="1544.37,-271.38 1554.36,-267.84 1544.34,-264.38 1544.37,-271.38"/>
</g>
<!-- session_list->session_mgmt -->
<g id="edge22" class="edge">
<title>session_list->session_mgmt</title>
<path fill="none" stroke="black" d="M1612.57,-358.55C1614.65,-342.13 1617.62,-318.71 1620.01,-299.85"/>
<polygon fill="black" stroke="black" points="1623.47,-300.38 1621.26,-290.02 1616.53,-299.5 1623.47,-300.38"/>
</g>
<!-- session_delete->session_mgmt -->
<g id="edge23" class="edge">
<title>session_delete->session_mgmt</title>
<path fill="none" stroke="black" d="M1495.8,-358.55C1521.14,-340.73 1558.22,-314.66 1585.99,-295.13"/>
<polygon fill="black" stroke="black" points="1587.98,-298.01 1594.15,-289.39 1583.95,-292.28 1587.98,-298.01"/>
</g>
<!-- session_history->session_mgmt -->
<g id="edge24" class="edge">
<title>session_history->session_mgmt</title>
<path fill="none" stroke="black" d="M1693.13,-358.52C1671.79,-351.64 1652.77,-344.74 1649,-341 1637.88,-329.95 1631.7,-313.74 1628.27,-299.44"/>
<polygon fill="black" stroke="black" points="1631.78,-299.1 1626.37,-289.99 1624.91,-300.49 1631.78,-299.1"/>
</g>
<!-- session_title->session_mgmt -->
<g id="edge25" class="edge">
<title>session_title->session_mgmt</title>
<path fill="none" stroke="black" d="M1176.11,-358.54C1185.94,-355.54 1196.19,-352.84 1206,-351 1292.17,-334.86 1316.81,-357.05 1403,-341 1459.3,-330.52 1521.04,-309.37 1564.92,-292.59"/>
<polygon fill="black" stroke="black" points="1565.92,-295.96 1573.98,-289.09 1563.39,-289.43 1565.92,-295.96"/>
</g>
<!-- bot_main->session_mgmt -->
<g id="edge28" class="edge">
<title>bot_main->session_mgmt</title>
<path fill="none" stroke="black" d="M2058.35,-358.57C2051.05,-355.6 2043.41,-352.91 2036,-351 1891.25,-313.66 1841.71,-371.46 1701,-321 1684.94,-315.24 1669.05,-305.3 1655.91,-295.61"/>
<polygon fill="black" stroke="black" points="1658.13,-292.9 1648.07,-289.58 1653.86,-298.45 1658.13,-292.9"/>
</g>
<!-- agent_service -->
<g id="node23" class="node">
<title>agent_service</title>
<polygon fill="coral" stroke="black" points="2159.98,-288.2 2046.02,-288.2 2046.02,-246.6 2159.98,-246.6 2159.98,-288.2"/>
<text xml:space="preserve" text-anchor="middle" x="2103" y="-271.6" font-family="Times,serif" font-size="14.00">AI Agent Service</text>
<text xml:space="preserve" text-anchor="middle" x="2103" y="-254.8" font-family="Times,serif" font-size="14.00">(LangChain)</text>
</g>
<!-- bot_main->agent_service -->
<g id="edge29" class="edge">
<title>bot_main->agent_service</title>
<path fill="none" stroke="black" d="M2099.73,-358.55C2100.33,-342.13 2101.18,-318.71 2101.86,-299.85"/>
<polygon fill="black" stroke="black" points="2105.35,-300.15 2102.22,-290.03 2098.36,-299.9 2105.35,-300.15"/>
</g>
<!-- auth_service -->
<g id="node24" class="node">
<title>auth_service</title>
<polygon fill="coral" stroke="black" points="2027.6,-288.2 1928.4,-288.2 1928.4,-246.6 2027.6,-246.6 2027.6,-288.2"/>
<text xml:space="preserve" text-anchor="middle" x="1978" y="-271.6" font-family="Times,serif" font-size="14.00">Authentication</text>
<text xml:space="preserve" text-anchor="middle" x="1978" y="-254.8" font-family="Times,serif" font-size="14.00">Service</text>
</g>
<!-- bot_main->auth_service -->
<g id="edge27" class="edge">
<title>bot_main->auth_service</title>
<path fill="none" stroke="black" d="M2052.6,-358.58C2036.23,-351.17 2021.09,-343.89 2018,-341 2005.6,-329.41 1996.14,-313.09 1989.54,-298.86"/>
<polygon fill="black" stroke="black" points="1992.84,-297.67 1985.65,-289.88 1986.41,-300.45 1992.84,-297.67"/>
</g>
<!-- doc_search_tool -->
<g id="node27" class="node">
<title>doc_search_tool</title>
<polygon fill="plum" stroke="black" points="2559.92,-175.8 2414.08,-175.8 2414.08,-134.2 2559.92,-134.2 2559.92,-175.8"/>
<text xml:space="preserve" text-anchor="middle" x="2487" y="-159.2" font-family="Times,serif" font-size="14.00">Document Search Tool</text>
<text xml:space="preserve" text-anchor="middle" x="2487" y="-142.4" font-family="Times,serif" font-size="14.00">(HuggingFace API)</text>
</g>
<!-- chat_docs->doc_search_tool -->
<g id="edge41" class="edge">
<title>chat_docs->doc_search_tool</title>
<path fill="none" stroke="black" d="M2908.1,-358.64C2823.43,-317.89 2632.18,-225.86 2539.42,-181.22"/>
<polygon fill="black" stroke="black" points="2541.04,-178.12 2530.51,-176.94 2538,-184.43 2541.04,-178.12"/>
</g>
<!-- project_tool -->
<g id="node28" class="node">
<title>project_tool</title>
<polygon fill="plum" stroke="black" points="2395.96,-175.8 2280.04,-175.8 2280.04,-134.2 2395.96,-134.2 2395.96,-175.8"/>
<text xml:space="preserve" text-anchor="middle" x="2338" y="-159.2" font-family="Times,serif" font-size="14.00">Project List Tool</text>
<text xml:space="preserve" text-anchor="middle" x="2338" y="-142.4" font-family="Times,serif" font-size="14.00">(IngenSpark API)</text>
</g>
<!-- list_projects->project_tool -->
<g id="edge42" class="edge">
<title>list_projects->project_tool</title>
<path fill="none" stroke="black" d="M2613.48,-358.71C2609.6,-323.25 2596.01,-250.16 2549,-216.6 2522.91,-197.98 2434.99,-219.91 2405,-208.6 2390.59,-203.17 2376.81,-193.45 2365.54,-183.83"/>
<polygon fill="black" stroke="black" points="2367.98,-181.31 2358.2,-177.23 2363.3,-186.52 2367.98,-181.31"/>
</g>
<!-- pandas_tool -->
<g id="node29" class="node">
<title>pandas_tool</title>
<polygon fill="plum" stroke="black" points="2262.05,-175.8 2123.95,-175.8 2123.95,-134.2 2262.05,-134.2 2262.05,-175.8"/>
<text xml:space="preserve" text-anchor="middle" x="2193" y="-159.2" font-family="Times,serif" font-size="14.00">Pandas Analysis Tool</text>
<text xml:space="preserve" text-anchor="middle" x="2193" y="-142.4" font-family="Times,serif" font-size="14.00">(PandasAI)</text>
</g>
<!-- pandas_agent->pandas_tool -->
<g id="edge43" class="edge">
<title>pandas_agent->pandas_tool</title>
<path fill="none" stroke="black" d="M2259.39,-358.64C2246.61,-319.63 2218.43,-233.61 2203.22,-187.18"/>
<polygon fill="black" stroke="black" points="2206.56,-186.13 2200.12,-177.72 2199.9,-188.31 2206.56,-186.13"/>
</g>
<!-- qdrant -->
<g id="node36" class="node">
<title>qdrant</title>
<polygon fill="steelblue" stroke="black" points="1490.24,-74.4 1337.76,-74.4 1337.76,-16 1490.24,-16 1490.24,-74.4"/>
<text xml:space="preserve" text-anchor="middle" x="1414" y="-57.8" font-family="Times,serif" font-size="14.00">Qdrant</text>
<text xml:space="preserve" text-anchor="middle" x="1414" y="-41" font-family="Times,serif" font-size="14.00">(Vector Database,</text>
<text xml:space="preserve" text-anchor="middle" x="1414" y="-24.2" font-family="Times,serif" font-size="14.00">Document Embeddings)</text>
</g>
<!-- col_create->qdrant -->
<g id="edge44" class="edge">
<title>col_create->qdrant</title>
<path fill="none" stroke="black" d="M90.83,-358.72C123.96,-308.84 217.97,-179.5 334,-126.2 423.14,-85.25 1084.64,-57.9 1326.1,-49.19"/>
<polygon fill="black" stroke="black" points="1325.9,-52.7 1335.77,-48.85 1325.65,-45.71 1325.9,-52.7"/>
</g>
<!-- col_list->qdrant -->
<g id="edge45" class="edge">
<title>col_list->qdrant</title>
<path fill="none" stroke="black" d="M226.06,-358.79C254.76,-309.07 337.06,-180.07 446,-126.2 599.27,-50.41 1117.14,-44.49 1325.79,-45.31"/>
<polygon fill="black" stroke="black" points="1325.76,-48.81 1335.78,-45.35 1325.79,-41.81 1325.76,-48.81"/>
</g>
<!-- embedding_service -->
<g id="node26" class="node">
<title>embedding_service</title>
<polygon fill="coral" stroke="black" points="1910.27,-288.2 1829.73,-288.2 1829.73,-246.6 1910.27,-246.6 1910.27,-288.2"/>
<text xml:space="preserve" text-anchor="middle" x="1870" y="-271.6" font-family="Times,serif" font-size="14.00">Embedding</text>
<text xml:space="preserve" text-anchor="middle" x="1870" y="-254.8" font-family="Times,serif" font-size="14.00">Service</text>
</g>
<!-- col_search->embedding_service -->
<g id="edge46" class="edge">
<title>col_search->embedding_service</title>
<path fill="none" stroke="black" d="M1351.91,-358.57C1362.16,-355.6 1372.82,-352.91 1383,-351 1478.89,-333 1732.92,-362.96 1821,-321 1832.27,-315.63 1842.21,-306.43 1850.15,-297.2"/>
<polygon fill="black" stroke="black" points="1852.67,-299.66 1856.17,-289.66 1847.2,-295.29 1852.67,-299.66"/>
</g>
<!-- col_search->qdrant -->
<g id="edge47" class="edge">
<title>col_search->qdrant</title>
<path fill="none" stroke="black" d="M1359.71,-358.57C1379.6,-351.82 1397.03,-345 1400,-341 1455.89,-265.59 1438.96,-147.15 1424.81,-85.87"/>
<polygon fill="black" stroke="black" points="1428.23,-85.14 1422.48,-76.24 1421.43,-86.78 1428.23,-85.14"/>
</g>
<!-- file_service -->
<g id="node25" class="node">
<title>file_service</title>
<polygon fill="coral" stroke="black" points="1811.97,-288.2 1710.03,-288.2 1710.03,-246.6 1811.97,-246.6 1811.97,-288.2"/>
<text xml:space="preserve" text-anchor="middle" x="1761" y="-271.6" font-family="Times,serif" font-size="14.00">File Processing</text>
<text xml:space="preserve" text-anchor="middle" x="1761" y="-254.8" font-family="Times,serif" font-size="14.00">Service</text>
</g>
<!-- col_ingest->file_service -->
<g id="edge48" class="edge">
<title>col_ingest->file_service</title>
<path fill="none" stroke="black" d="M1893.19,-358.57C1870.27,-348.64 1843.48,-335.66 1821,-321 1809.98,-313.81 1798.89,-304.72 1789.28,-296.13"/>
<polygon fill="black" stroke="black" points="1791.77,-293.67 1782.04,-289.47 1787.04,-298.82 1791.77,-293.67"/>
</g>
<!-- col_ingest->embedding_service -->
<g id="edge49" class="edge">
<title>col_ingest->embedding_service</title>
<path fill="none" stroke="black" d="M1931.24,-358.55C1919.72,-341.59 1903.11,-317.14 1890.1,-297.99"/>
<polygon fill="black" stroke="black" points="1893.03,-296.08 1884.52,-289.77 1887.24,-300.01 1893.03,-296.08"/>
</g>
<!-- col_ingest->qdrant -->
<g id="edge50" class="edge">
<title>col_ingest->qdrant</title>
<path fill="none" stroke="black" d="M1885.24,-358.61C1874.91,-355.68 1864.22,-352.99 1854,-351 1779.55,-336.51 1573.42,-368.14 1514,-321 1442.61,-264.36 1482.97,-211.16 1450,-126.2 1444.75,-112.67 1438.42,-98.12 1432.54,-85.19"/>
<polygon fill="black" stroke="black" points="1435.73,-83.77 1428.37,-76.15 1429.38,-86.69 1435.73,-83.77"/>
</g>
<!-- file_upload -->
<g id="node39" class="node">
<title>file_upload</title>
<polygon fill="pink" stroke="black" points="3132.25,-397.8 3049.75,-397.8 3049.75,-361.8 3132.25,-361.8 3132.25,-397.8"/>
<text xml:space="preserve" text-anchor="middle" x="3091" y="-375.6" font-family="Times,serif" font-size="14.00">File Upload</text>
</g>
<!-- col_ingest->file_upload -->
<g id="edge74" class="edge">
<title>col_ingest->file_upload</title>
<path fill="none" stroke="black" d="M1969.77,-401.06C1988.9,-416.01 2016.8,-434.75 2045,-442.9 2071.18,-450.47 3000.75,-453.14 3026,-442.9 3044.17,-435.53 3060.06,-420.37 3071.58,-406.76"/>
<polygon fill="black" stroke="black" points="3074.03,-409.3 3077.55,-399.31 3068.57,-404.92 3074.03,-409.3"/>
</g>
<!-- dataset_info->auth_service -->
<g id="edge51" class="edge">
<title>dataset_info->auth_service</title>
<path fill="none" stroke="black" d="M2401.41,-358.53C2391.09,-355.48 2380.31,-352.78 2370,-351 2335.49,-345.06 2087.34,-354.44 2055,-341 2032.95,-331.84 2013.45,-313.27 1999.59,-297.21"/>
<polygon fill="black" stroke="black" points="2002.52,-295.26 1993.45,-289.79 1997.13,-299.72 2002.52,-295.26"/>
</g>
<!-- ingensp_api2 -->
<g id="node34" class="node">
<title>ingensp_api2</title>
<polygon fill="gray" stroke="black" points="2759.3,-66 2652.7,-66 2652.7,-24.4 2759.3,-24.4 2759.3,-66"/>
<text xml:space="preserve" text-anchor="middle" x="2706" y="-49.4" font-family="Times,serif" font-size="14.00">IngenSpark API</text>
<text xml:space="preserve" text-anchor="middle" x="2706" y="-32.6" font-family="Times,serif" font-size="14.00">(Datasets)</text>
</g>
<!-- dataset_info->ingensp_api2 -->
<g id="edge52" class="edge">
<title>dataset_info->ingensp_api2</title>
<path fill="none" stroke="black" d="M2475.8,-358.59C2504.4,-327.44 2559.94,-265.37 2602,-208.6 2635.05,-163.98 2668.93,-109.02 2688.69,-75.84"/>
<polygon fill="black" stroke="black" points="2691.49,-77.97 2693.58,-67.58 2685.47,-74.4 2691.49,-77.97"/>
</g>
<!-- setup_datasets->auth_service -->
<g id="edge53" class="edge">
<title>setup_datasets->auth_service</title>
<path fill="none" stroke="black" d="M2718.29,-358.52C2707.65,-355.52 2696.58,-352.83 2686,-351 2543.74,-326.38 2170.69,-375.51 2037,-321 2024.03,-315.71 2012.02,-306.27 2002.27,-296.84"/>
<polygon fill="black" stroke="black" points="2004.85,-294.47 1995.37,-289.74 1999.83,-299.35 2004.85,-294.47"/>
</g>
<!-- ingensp_api1 -->
<g id="node33" class="node">
<title>ingensp_api1</title>
<polygon fill="gray" stroke="black" points="2634.3,-66 2527.7,-66 2527.7,-24.4 2634.3,-24.4 2634.3,-66"/>
<text xml:space="preserve" text-anchor="middle" x="2581" y="-49.4" font-family="Times,serif" font-size="14.00">IngenSpark API</text>
<text xml:space="preserve" text-anchor="middle" x="2581" y="-32.6" font-family="Times,serif" font-size="14.00">(Projects)</text>
</g>
<!-- setup_datasets->ingensp_api1 -->
<g id="edge54" class="edge">
<title>setup_datasets->ingensp_api1</title>
<path fill="none" stroke="black" d="M2765.18,-358.74C2732.03,-302.48 2638.01,-142.95 2598.66,-76.17"/>
<polygon fill="black" stroke="black" points="2601.7,-74.43 2593.6,-67.59 2595.66,-77.98 2601.7,-74.43"/>
</g>
<!-- setup_datasets->ingensp_api2 -->
<g id="edge55" class="edge">
<title>setup_datasets->ingensp_api2</title>
<path fill="none" stroke="black" d="M2772.72,-358.74C2760.78,-302.83 2727.07,-144.92 2712.66,-77.42"/>
<polygon fill="black" stroke="black" points="2716.11,-76.81 2710.6,-67.76 2709.27,-78.27 2716.11,-76.81"/>
</g>
<!-- setup_datasets->qdrant -->
<g id="edge56" class="edge">
<title>setup_datasets->qdrant</title>
<path fill="none" stroke="black" d="M2719.31,-358.53C2708.38,-355.45 2696.93,-352.72 2686,-351 2623.31,-341.12 1595.37,-358.28 1544,-321 1525.32,-307.45 1482.87,-146.55 1472,-126.2 1464.19,-111.59 1454.02,-96.62 1444.39,-83.64"/>
<polygon fill="black" stroke="black" points="1447.25,-81.63 1438.42,-75.78 1441.68,-85.86 1447.25,-81.63"/>
</g>
<!-- redis -->
<g id="node35" class="node">
<title>redis</title>
<polygon fill="steelblue" stroke="black" points="1659.67,-74.4 1508.33,-74.4 1508.33,-16 1659.67,-16 1659.67,-74.4"/>
<text xml:space="preserve" text-anchor="middle" x="1584" y="-57.8" font-family="Times,serif" font-size="14.00">Redis</text>
<text xml:space="preserve" text-anchor="middle" x="1584" y="-41" font-family="Times,serif" font-size="14.00">(Sessions, Chat History,</text>
<text xml:space="preserve" text-anchor="middle" x="1584" y="-24.2" font-family="Times,serif" font-size="14.00">Memory)</text>
</g>
<!-- health->redis -->
<g id="edge60" class="edge">
<title>health->redis</title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M505.5,-358.66C552.61,-329.93 643.08,-276.48 724,-238.6 850.32,-179.46 880.38,-154.3 1017,-126.2 1122,-104.6 1397.62,-142.03 1499,-107.2 1515.19,-101.64 1530.98,-91.9 1544.47,-81.82"/>
<polygon fill="black" stroke="black" points="1546.5,-84.68 1552.23,-75.77 1542.19,-79.16 1546.5,-84.68"/>
<text xml:space="preserve" text-anchor="middle" x="777.96" y="-219.6" font-family="Times,serif" font-size="10.00">ping</text>
</g>
<!-- health->qdrant -->
<g id="edge61" class="edge">
<title>health->qdrant</title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M478.47,-358.85C493.57,-307.97 541.13,-173.28 635,-115.2 692.67,-79.52 1134.81,-57.51 1326.17,-49.56"/>
<polygon fill="black" stroke="black" points="1326.22,-53.06 1336.07,-49.15 1325.94,-46.07 1326.22,-53.06"/>
<text xml:space="preserve" text-anchor="middle" x="548.81" y="-219.6" font-family="Times,serif" font-size="10.00">ping</text>
</g>
<!-- redis_info->redis -->
<g id="edge62" class="edge">
<title>redis_info->redis</title>
<path fill="none" stroke="black" d="M638.11,-358.65C747.95,-309.48 1043.6,-183.21 1304,-126.2 1389.06,-107.58 1417.5,-137.86 1499,-107.2 1514.88,-101.22 1530.5,-91.48 1543.92,-81.52"/>
<polygon fill="black" stroke="black" points="1545.87,-84.44 1551.64,-75.56 1541.59,-78.9 1545.87,-84.44"/>
</g>
<!-- qdrant_info->qdrant -->
<g id="edge63" class="edge">
<title>qdrant_info->qdrant</title>
<path fill="none" stroke="black" d="M355.8,-358.7C378.56,-309.37 444.6,-182.23 543,-126.2 609.94,-88.08 1117.98,-60.13 1325.81,-50.18"/>
<polygon fill="black" stroke="black" points="1325.93,-53.67 1335.75,-49.7 1325.6,-46.68 1325.93,-53.67"/>
</g>
<!-- delete_user->session_mgmt -->
<g id="edge65" class="edge">
<title>delete_user->session_mgmt</title>
<path fill="none" stroke="black" d="M992.94,-358.54C1007.86,-355.54 1023.33,-352.84 1038,-351 1099.78,-343.25 1257.98,-357.55 1318,-341 1328.68,-338.06 1329.46,-332.86 1339.84,-329 1406.77,-304.1 1486.57,-288.21 1544.54,-278.97"/>
<polygon fill="black" stroke="black" points="1544.99,-282.45 1554.34,-277.45 1543.92,-275.53 1544.99,-282.45"/>
<text xml:space="preserve" text-anchor="middle" x="1369.42" y="-332" font-family="Times,serif" font-size="10.00">delete sessions</text>
</g>
<!-- hf_space -->
<g id="node32" class="node">
<title>hf_space</title>
<polygon fill="gray" stroke="black" points="2510.18,-66 2381.82,-66 2381.82,-24.4 2510.18,-24.4 2510.18,-66"/>
<text xml:space="preserve" text-anchor="middle" x="2446" y="-49.4" font-family="Times,serif" font-size="14.00">HuggingFace Space</text>
<text xml:space="preserve" text-anchor="middle" x="2446" y="-32.6" font-family="Times,serif" font-size="14.00">(Document Search)</text>
</g>
<!-- delete_user->hf_space -->
<g id="edge64" class="edge">
<title>delete_user->hf_space</title>
<path fill="none" stroke="black" d="M992.24,-358.56C1007.37,-355.52 1023.1,-352.8 1038,-351 1069.28,-347.22 2140.89,-326.01 2172,-321 2330.67,-295.45 2361.37,-251.71 2518.2,-216.6 2529.99,-213.96 2564.11,-217.75 2572,-208.6 2595.92,-180.87 2593.08,-156.15 2572,-126.2 2557.6,-105.74 2540.71,-119.64 2519,-107.2 2503.16,-98.13 2487.4,-85.52 2474.59,-74.13"/>
<polygon fill="black" stroke="black" points="2477.09,-71.67 2467.35,-67.51 2472.37,-76.84 2477.09,-71.67"/>
<text xml:space="preserve" text-anchor="middle" x="2551.1" y="-219.6" font-family="Times,serif" font-size="10.00">delete collection</text>
</g>
<!-- delete_user->redis -->
<g id="edge66" class="edge">
<title>delete_user->redis</title>
<path fill="none" stroke="black" d="M962.47,-358.55C1067.44,-317.18 1309.49,-217.55 1499,-107.2 1512.13,-99.55 1525.76,-90.39 1538.16,-81.51"/>
<polygon fill="black" stroke="black" points="1540.12,-84.42 1546.15,-75.71 1536,-78.76 1540.12,-84.42"/>
<text xml:space="preserve" text-anchor="middle" x="1305.08" y="-219.6" font-family="Times,serif" font-size="10.00">cleanup</text>
</g>
<!-- session_mgmt->redis -->
<g id="edge26" class="edge">
<title>session_mgmt->redis</title>
<path fill="none" stroke="black" d="M1613.86,-246.32C1608.83,-235.43 1603.17,-221.58 1600,-208.6 1589.97,-167.48 1586.19,-119.05 1584.79,-85.85"/>
<polygon fill="black" stroke="black" points="1588.31,-86.15 1584.44,-76.28 1581.31,-86.4 1588.31,-86.15"/>
</g>
<!-- session_mgmt->redis -->
<g id="edge68" class="edge">
<title>session_mgmt->redis</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M1621.26,-246.27C1617.21,-217.21 1609.11,-161.9 1600,-115.2 1598.12,-105.57 1595.86,-95.24 1593.64,-85.58"/>
<polygon fill="black" stroke="black" points="1597.11,-85.05 1591.41,-76.11 1590.29,-86.65 1597.11,-85.05"/>
<text xml:space="preserve" text-anchor="middle" x="1639.15" y="-152" font-family="Times,serif" font-size="10.00">chat history</text>
</g>
<!-- agent_service->doc_search_tool -->
<g id="edge30" class="edge">
<title>agent_service->doc_search_tool</title>
<path fill="none" stroke="black" d="M2160.24,-256.02C2244.62,-240.64 2393.67,-213.12 2405,-208.6 2421.34,-202.08 2437.93,-192.18 2451.88,-182.71"/>
<polygon fill="black" stroke="black" points="2453.65,-185.75 2459.84,-177.15 2449.64,-180.01 2453.65,-185.75"/>
</g>
<!-- agent_service->project_tool -->
<g id="edge31" class="edge">
<title>agent_service->project_tool</title>
<path fill="none" stroke="black" d="M2160.21,-251.88C2193.67,-242.15 2236.05,-227.62 2271,-208.6 2283.68,-201.7 2296.44,-192.4 2307.37,-183.55"/>
<polygon fill="black" stroke="black" points="2309.48,-186.35 2314.92,-177.25 2305,-180.97 2309.48,-186.35"/>
</g>
<!-- agent_service->pandas_tool -->
<g id="edge32" class="edge">
<title>agent_service->pandas_tool</title>
<path fill="none" stroke="black" d="M2119.51,-246.15C2133.53,-228.95 2153.81,-204.07 2169.52,-184.8"/>
<polygon fill="black" stroke="black" points="2172.04,-187.26 2175.64,-177.29 2166.61,-182.83 2172.04,-187.26"/>
</g>
<!-- dataset_tool -->
<g id="node30" class="node">
<title>dataset_tool</title>
<polygon fill="plum" stroke="black" points="2106.25,-175.8 1941.75,-175.8 1941.75,-134.2 2106.25,-134.2 2106.25,-175.8"/>
<text xml:space="preserve" text-anchor="middle" x="2024" y="-159.2" font-family="Times,serif" font-size="14.00">Dataset Management Tool</text>
<text xml:space="preserve" text-anchor="middle" x="2024" y="-142.4" font-family="Times,serif" font-size="14.00">(Collection Setup)</text>
</g>
<!-- agent_service->dataset_tool -->
<g id="edge33" class="edge">
<title>agent_service->dataset_tool</title>
<path fill="none" stroke="black" d="M2088.51,-246.15C2076.32,-229.11 2058.72,-204.52 2044.98,-185.33"/>
<polygon fill="black" stroke="black" points="2047.94,-183.45 2039.28,-177.35 2042.25,-187.52 2047.94,-183.45"/>
</g>
<!-- agent_service->redis -->
<g id="edge67" class="edge">
<title>agent_service->redis</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M2059.55,-246.21C2052.14,-243.31 2044.44,-240.63 2037,-238.6 1941.68,-212.53 1908.92,-244.06 1816.67,-208.6 1740.96,-179.5 1666.39,-120.65 1622.81,-82.36"/>
<polygon fill="black" stroke="black" points="1625.19,-79.79 1615.39,-75.76 1620.54,-85.02 1625.19,-79.79"/>
<text xml:space="preserve" text-anchor="middle" x="1833.34" y="-152" font-family="Times,serif" font-size="10.00">memory</text>
</g>
<!-- postgresql -->
<g id="node37" class="node">
<title>postgresql</title>
<polygon fill="steelblue" stroke="black" points="1921.76,-74.4 1820.24,-74.4 1820.24,-16 1921.76,-16 1921.76,-74.4"/>
<text xml:space="preserve" text-anchor="middle" x="1871" y="-57.8" font-family="Times,serif" font-size="14.00">PostgreSQL</text>
<text xml:space="preserve" text-anchor="middle" x="1871" y="-41" font-family="Times,serif" font-size="14.00">(File Metadata,</text>
<text xml:space="preserve" text-anchor="middle" x="1871" y="-24.2" font-family="Times,serif" font-size="14.00">User Data)</text>
</g>
<!-- auth_service->postgresql -->
<g id="edge59" class="edge">
<title>auth_service->postgresql</title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M1935.76,-246.2C1907.47,-232.24 1874.71,-215.07 1870.85,-208.6 1848.72,-171.51 1853.13,-120.66 1860.24,-85.8"/>
<polygon fill="black" stroke="black" points="1863.64,-86.63 1862.39,-76.11 1856.8,-85.11 1863.64,-86.63"/>
<text xml:space="preserve" text-anchor="middle" x="1900.42" y="-152" font-family="Times,serif" font-size="10.00">user validation</text>
</g>
<!-- s3 -->
<g id="node38" class="node">
<title>s3</title>
<polygon fill="steelblue" stroke="black" points="1802.64,-74.4 1677.36,-74.4 1677.36,-16 1802.64,-16 1802.64,-74.4"/>
<text xml:space="preserve" text-anchor="middle" x="1740" y="-57.8" font-family="Times,serif" font-size="14.00">AWS S3</text>
<text xml:space="preserve" text-anchor="middle" x="1740" y="-41" font-family="Times,serif" font-size="14.00">(File Storage,</text>
<text xml:space="preserve" text-anchor="middle" x="1740" y="-24.2" font-family="Times,serif" font-size="14.00">Parquet/CSV Files)</text>
</g>
<!-- file_service->s3 -->
<g id="edge58" class="edge">
<title>file_service->s3</title>
<path fill="none" stroke="black" d="M1759.1,-246.47C1755.66,-210.36 1748.32,-133.48 1743.81,-86.18"/>
<polygon fill="black" stroke="black" points="1747.31,-85.96 1742.87,-76.34 1740.34,-86.62 1747.31,-85.96"/>
</g>
<!-- openai -->
<g id="node31" class="node">
<title>openai</title>
<polygon fill="gray" stroke="black" points="2364.21,-66 2223.79,-66 2223.79,-24.4 2364.21,-24.4 2364.21,-66"/>
<text xml:space="preserve" text-anchor="middle" x="2294" y="-49.4" font-family="Times,serif" font-size="14.00">OpenAI API</text>
<text xml:space="preserve" text-anchor="middle" x="2294" y="-32.6" font-family="Times,serif" font-size="14.00">(GPT-4, Embeddings)</text>
</g>
<!-- embedding_service->openai -->
<g id="edge57" class="edge">
<title>embedding_service->openai</title>
<path fill="none" stroke="black" d="M1858.51,-246.14C1843.27,-216.29 1821.46,-160.34 1850,-126.2 1855.81,-119.25 2085.49,-80.5 2212.16,-59.59"/>
<polygon fill="black" stroke="black" points="2212.55,-63.07 2221.84,-57.99 2211.41,-56.17 2212.55,-63.07"/>
</g>
<!-- doc_search_tool->hf_space -->
<g id="edge34" class="edge">
<title>doc_search_tool->hf_space</title>
<path fill="none" stroke="black" d="M2479.29,-133.72C2473.22,-117.76 2464.66,-95.25 2457.74,-77.06"/>
<polygon fill="black" stroke="black" points="2461.04,-75.9 2454.22,-67.8 2454.5,-78.39 2461.04,-75.9"/>
</g>
<!-- project_tool->ingensp_api1 -->
<g id="edge35" class="edge">
<title>project_tool->ingensp_api1</title>
<path fill="none" stroke="black" d="M2382.91,-133.73C2390.2,-130.92 2397.74,-128.28 2405,-126.2 2454.38,-112.04 2473.23,-130.52 2519,-107.2 2534.27,-99.42 2548.18,-86.56 2558.94,-74.64"/>
<polygon fill="black" stroke="black" points="2561.33,-77.23 2565.2,-67.37 2556.03,-72.66 2561.33,-77.23"/>
</g>
<!-- pandas_tool->openai -->
<g id="edge38" class="edge">
<title>pandas_tool->openai</title>
<path fill="none" stroke="black" d="M2212,-133.72C2227.59,-117.09 2249.84,-93.33 2267.24,-74.77"/>
<polygon fill="black" stroke="black" points="2269.77,-77.18 2274.05,-67.49 2264.66,-72.39 2269.77,-77.18"/>
</g>
<!-- pandas_tool->postgresql -->
<g id="edge37" class="edge">
<title>pandas_tool->postgresql</title>
<path fill="none" stroke="black" d="M2136.82,-133.78C2129.49,-131.2 2122.07,-128.62 2115,-126.2 2053.24,-105.07 1982.3,-81.94 1932.89,-66.01"/>
<polygon fill="black" stroke="black" points="1934.1,-62.72 1923.51,-62.99 1931.95,-69.38 1934.1,-62.72"/>
</g>
<!-- pandas_tool->s3 -->
<g id="edge36" class="edge">
<title>pandas_tool->s3</title>
<path fill="none" stroke="black" d="M2142.82,-133.8C2133.69,-130.8 2124.15,-128.08 2115,-126.2 2048.69,-112.59 1873.7,-132.69 1811,-107.2 1797.22,-101.6 1784.22,-92.2 1773.2,-82.45"/>
<polygon fill="black" stroke="black" points="1775.61,-79.91 1765.92,-75.64 1770.83,-85.03 1775.61,-79.91"/>
</g>
<!-- dataset_tool->ingensp_api2 -->
<g id="edge39" class="edge">
<title>dataset_tool->ingensp_api2</title>
<path fill="none" stroke="black" d="M2082.2,-133.77C2092.99,-130.73 2104.25,-128 2115,-126.2 2172.9,-116.49 2588.99,-130.2 2643,-107.2 2659.12,-100.34 2673.47,-87.32 2684.4,-75.06"/>
<polygon fill="black" stroke="black" points="2686.98,-77.44 2690.74,-67.53 2681.62,-72.93 2686.98,-77.44"/>
</g>
<!-- dataset_tool->qdrant -->
<g id="edge40" class="edge">
<title>dataset_tool->qdrant</title>
<path fill="none" stroke="black" d="M1962.01,-133.72C1950.8,-130.72 1939.13,-128.03 1928,-126.2 1880.92,-118.45 1544.09,-122.81 1499,-107.2 1482.82,-101.6 1467.04,-91.85 1453.55,-81.77"/>
<polygon fill="black" stroke="black" points="1455.83,-79.11 1445.79,-75.72 1451.52,-84.63 1455.83,-79.11"/>
</g>
<!-- text_splitting -->
<g id="node40" class="node">
<title>text_splitting</title>
<polygon fill="pink" stroke="black" points="3140.69,-285.4 3047.31,-285.4 3047.31,-249.4 3140.69,-249.4 3140.69,-285.4"/>
<text xml:space="preserve" text-anchor="middle" x="3094" y="-263.2" font-family="Times,serif" font-size="14.00">Text Splitting</text>
</g>
<!-- file_upload->text_splitting -->
<g id="edge69" class="edge">
<title>file_upload->text_splitting</title>
<path fill="none" stroke="black" d="M3091.47,-361.55C3091.93,-344.39 3092.66,-317.76 3093.21,-297.36"/>
<polygon fill="black" stroke="black" points="3096.71,-297.5 3093.48,-287.41 3089.71,-297.31 3096.71,-297.5"/>
</g>
<!-- vectorization -->
<g id="node41" class="node">
<title>vectorization</title>
<polygon fill="pink" stroke="black" points="3140.09,-173 3047.91,-173 3047.91,-137 3140.09,-137 3140.09,-173"/>
<text xml:space="preserve" text-anchor="middle" x="3094" y="-150.8" font-family="Times,serif" font-size="14.00">Vectorization</text>
</g>
<!-- text_splitting->vectorization -->
<g id="edge70" class="edge">
<title>text_splitting->vectorization</title>
<path fill="none" stroke="black" d="M3094,-249.15C3094,-231.99 3094,-205.36 3094,-184.96"/>
<polygon fill="black" stroke="black" points="3097.5,-185.01 3094,-175.01 3090.5,-185.01 3097.5,-185.01"/>
</g>
<!-- vectorization->openai -->
<g id="edge72" class="edge">
<title>vectorization->openai</title>
<path fill="none" stroke="black" d="M3047.41,-151.73C2892.78,-144.08 2404.57,-119.13 2373,-107.2 2353.8,-99.95 2335.46,-86.35 2321.29,-73.83"/>
<polygon fill="black" stroke="black" points="2323.88,-71.46 2314.15,-67.27 2319.15,-76.61 2323.88,-71.46"/>
</g>
<!-- storage -->
<g id="node42" class="node">
<title>storage</title>
<polygon fill="pink" stroke="black" points="3147.18,-63.2 3046.82,-63.2 3046.82,-27.2 3147.18,-27.2 3147.18,-63.2"/>
<text xml:space="preserve" text-anchor="middle" x="3097" y="-41" font-family="Times,serif" font-size="14.00">Vector Storage</text>
</g>
<!-- vectorization->storage -->
<g id="edge71" class="edge">
<title>vectorization->storage</title>
<path fill="none" stroke="black" d="M3094.48,-136.68C3094.95,-120.02 3095.65,-94.53 3096.2,-74.85"/>
<polygon fill="black" stroke="black" points="3099.7,-75.08 3096.48,-64.99 3092.7,-74.89 3099.7,-75.08"/>
</g>
<!-- storage->qdrant -->
<g id="edge73" class="edge">
<title>storage->qdrant</title>
<path fill="none" stroke="black" d="M3046.46,-59.47C2981.33,-77.05 2864.31,-105.9 2762,-116.7 2727.36,-120.36 1541.01,-127.83 1508,-116.7 1487.02,-109.63 1467.01,-95.8 1450.89,-82.17"/>
<polygon fill="black" stroke="black" points="1453.31,-79.64 1443.48,-75.66 1448.68,-84.89 1453.31,-79.64"/>
</g>
<!-- leg_endpoint -->
<g id="node43" class="node">
<title>leg_endpoint</title>
<polygon fill="lightgreen" stroke="black" points="3288.69,-597.8 3195.31,-597.8 3195.31,-561.8 3288.69,-561.8 3288.69,-597.8"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-575.6" font-family="Times,serif" font-size="14.00">API Endpoint</text>
</g>
<!-- leg_service -->
<g id="node44" class="node">
<title>leg_service</title>
<polygon fill="coral" stroke="black" points="3270.99,-499.2 3213.01,-499.2 3213.01,-463.2 3270.99,-463.2 3270.99,-499.2"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-477" font-family="Times,serif" font-size="14.00">Service</text>
</g>
<!-- leg_endpoint->leg_service -->
<!-- leg_tool -->
<g id="node45" class="node">
<title>leg_tool</title>
<polygon fill="plum" stroke="black" points="3282.08,-397.8 3201.92,-397.8 3201.92,-361.8 3282.08,-361.8 3282.08,-397.8"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-375.6" font-family="Times,serif" font-size="14.00">Agent Tool</text>
</g>
<!-- leg_service->leg_tool -->
<!-- leg_db -->
<g id="node46" class="node">
<title>leg_db</title>
<polygon fill="steelblue" stroke="black" points="3298.98,-285.4 3185.02,-285.4 3185.02,-249.4 3298.98,-249.4 3298.98,-285.4"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-263.2" font-family="Times,serif" font-size="14.00">Database/Storage</text>
</g>
<!-- leg_tool->leg_db -->
<!-- leg_external -->
<g id="node47" class="node">
<title>leg_external</title>
<polygon fill="gray" stroke="black" points="3296.45,-173 3187.55,-173 3187.55,-137 3296.45,-137 3296.45,-173"/>
<text xml:space="preserve" text-anchor="middle" x="3242" y="-150.8" font-family="Times,serif" font-size="14.00">External Service</text>
</g>
<!-- leg_db->leg_external -->
</g>
</svg> |