|
<svg id="mermaid--1446345905-light-mermaid-svg" width="100%" xmlns="http://www.w3.org/2000/svg" class="flowchart" style="max-width: 423.4666748046875px;" viewBox="0 0 423.4666748046875 735.4479370117188" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#mermaid--1446345905-light-mermaid-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid--1446345905-light-mermaid-svg .error-icon{fill:hsl(220.5882352941, 100%, 98.3333333333%);}#mermaid--1446345905-light-mermaid-svg .error-text{fill:rgb(8.5000000002, 5.7500000001, 0);stroke:rgb(8.5000000002, 5.7500000001, 0);}#mermaid--1446345905-light-mermaid-svg .edge-thickness-normal{stroke-width:1px;}#mermaid--1446345905-light-mermaid-svg .edge-thickness-thick{stroke-width:3.5px;}#mermaid--1446345905-light-mermaid-svg .edge-pattern-solid{stroke-dasharray:0;}#mermaid--1446345905-light-mermaid-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid--1446345905-light-mermaid-svg .edge-pattern-dashed{stroke-dasharray:3;}#mermaid--1446345905-light-mermaid-svg .edge-pattern-dotted{stroke-dasharray:2;}#mermaid--1446345905-light-mermaid-svg .marker{fill:#0b0b0b;stroke:#0b0b0b;}#mermaid--1446345905-light-mermaid-svg .marker.cross{stroke:#0b0b0b;}#mermaid--1446345905-light-mermaid-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid--1446345905-light-mermaid-svg p{margin:0;}#mermaid--1446345905-light-mermaid-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid--1446345905-light-mermaid-svg .cluster-label text{fill:rgb(8.5000000002, 5.7500000001, 0);}#mermaid--1446345905-light-mermaid-svg .cluster-label span{color:rgb(8.5000000002, 5.7500000001, 0);}#mermaid--1446345905-light-mermaid-svg .cluster-label span p{background-color:transparent;}#mermaid--1446345905-light-mermaid-svg .label text,#mermaid--1446345905-light-mermaid-svg span{fill:#333;color:#333;}#mermaid--1446345905-light-mermaid-svg .node rect,#mermaid--1446345905-light-mermaid-svg .node circle,#mermaid--1446345905-light-mermaid-svg .node ellipse,#mermaid--1446345905-light-mermaid-svg .node polygon,#mermaid--1446345905-light-mermaid-svg .node path{fill:#fff4dd;stroke:hsl(40.5882352941, 60%, 83.3333333333%);stroke-width:1px;}#mermaid--1446345905-light-mermaid-svg .rough-node .label text,#mermaid--1446345905-light-mermaid-svg .node .label text,#mermaid--1446345905-light-mermaid-svg .image-shape .label,#mermaid--1446345905-light-mermaid-svg .icon-shape .label{text-anchor:middle;}#mermaid--1446345905-light-mermaid-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid--1446345905-light-mermaid-svg .rough-node .label,#mermaid--1446345905-light-mermaid-svg .node .label,#mermaid--1446345905-light-mermaid-svg .image-shape .label,#mermaid--1446345905-light-mermaid-svg .icon-shape .label{text-align:center;}#mermaid--1446345905-light-mermaid-svg .node.clickable{cursor:pointer;}#mermaid--1446345905-light-mermaid-svg .root .anchor path{fill:#0b0b0b!important;stroke-width:0;stroke:#0b0b0b;}#mermaid--1446345905-light-mermaid-svg .arrowheadPath{fill:#0b0b0b;}#mermaid--1446345905-light-mermaid-svg .edgePath .path{stroke:#0b0b0b;stroke-width:2.0px;}#mermaid--1446345905-light-mermaid-svg .flowchart-link{stroke:#0b0b0b;fill:none;}#mermaid--1446345905-light-mermaid-svg .edgeLabel{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);text-align:center;}#mermaid--1446345905-light-mermaid-svg .edgeLabel p{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);}#mermaid--1446345905-light-mermaid-svg .edgeLabel rect{opacity:0.5;background-color:hsl(-79.4117647059, 100%, 93.3333333333%);fill:hsl(-79.4117647059, 100%, 93.3333333333%);}#mermaid--1446345905-light-mermaid-svg .labelBkg{background-color:rgba(243.9999999999, 220.9999999998, 255, 0.5);}#mermaid--1446345905-light-mermaid-svg .cluster rect{fill:hsl(220.5882352941, 100%, 98.3333333333%);stroke:hsl(220.5882352941, 60%, 88.3333333333%);stroke-width:1px;}#mermaid--1446345905-light-mermaid-svg .cluster text{fill:rgb(8.5000000002, 5.7500000001, 0);}#mermaid--1446345905-light-mermaid-svg .cluster span{color:rgb(8.5000000002, 5.7500000001, 0);}#mermaid--1446345905-light-mermaid-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(220.5882352941, 100%, 98.3333333333%);border:1px solid hsl(220.5882352941, 60%, 88.3333333333%);border-radius:2px;pointer-events:none;z-index:100;}#mermaid--1446345905-light-mermaid-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid--1446345905-light-mermaid-svg rect.text{fill:none;stroke-width:0;}#mermaid--1446345905-light-mermaid-svg .icon-shape,#mermaid--1446345905-light-mermaid-svg .image-shape{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);text-align:center;}#mermaid--1446345905-light-mermaid-svg .icon-shape p,#mermaid--1446345905-light-mermaid-svg .image-shape p{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);padding:2px;}#mermaid--1446345905-light-mermaid-svg .icon-shape rect,#mermaid--1446345905-light-mermaid-svg .image-shape rect{opacity:0.5;background-color:hsl(-79.4117647059, 100%, 93.3333333333%);fill:hsl(-79.4117647059, 100%, 93.3333333333%);}#mermaid--1446345905-light-mermaid-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1px; stroke-dasharray: 1px, 0px;"></path></marker><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1px; stroke-dasharray: 1px, 0px;"></path></marker><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1px; stroke-dasharray: 1px, 0px;"></circle></marker><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1px; stroke-dasharray: 1px, 0px;"></circle></marker><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2px; stroke-dasharray: 1px, 0px;"></path></marker><marker id="mermaid--1446345905-light-mermaid-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2px; stroke-dasharray: 1px, 0px;"></path></marker><g class="root"><g class="clusters"><g class="cluster " id="Query" data-look="classic"><rect style="fill:azure !important" x="8" y="136" width="255.8000030517578" height="336"></rect><g class="cluster-label " transform="translate(114.70000457763672, 136)"><foreignObject width="42.399993896484375" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Query</p></span></div></foreignObject></g></g></g><g class="edgePaths"><path d="M197.682,62L187.385,68.167C177.088,74.333,156.494,86.667,146.197,99C135.9,111.333,135.9,123.667,135.9,131.917C135.9,140.167,135.9,144.333,135.9,147.833C135.9,151.333,135.9,154.167,135.9,155.583L135.9,157" id="L_User_I_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path><path d="M135.9,215L135.9,219.167C135.9,223.333,135.9,231.667,135.9,237.917C135.9,244.167,135.9,248.333,135.9,251.833C135.9,255.333,135.9,258.167,135.9,259.583L135.9,261" id="L_I_E_1" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path><path d="M135.9,319L135.9,325.167C135.9,331.333,135.9,343.667,135.9,352.917C135.9,362.167,135.9,368.333,135.9,373.833C135.9,379.333,135.9,384.167,135.9,386.583L135.9,389" id="L_E_VQ_2" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path><path d="M135.9,447L135.9,451.167C135.9,455.333,135.9,463.667,135.9,472C135.9,480.333,135.9,488.667,135.9,494.917C135.9,501.167,135.9,505.333,135.9,508.833C135.9,512.333,135.9,515.167,135.9,516.583L135.9,518" id="L_VQ_V_3" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path><path d="M135.9,599.448L135.9,605.615C135.9,611.781,135.9,624.115,141.049,633.365C146.197,642.615,156.494,648.781,166.219,654.605C175.944,660.43,185.097,665.911,189.674,668.652L194.251,671.393" id="L_V_Chatbot_4" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path><path d="M287.851,673.448L298.148,667.281C308.445,661.115,329.039,648.781,339.336,629.994C349.633,611.207,349.633,585.965,349.633,562.724C349.633,539.483,349.633,518.241,349.633,503.454C349.633,488.667,349.633,480.333,349.633,467.5C349.633,454.667,349.633,437.333,349.633,418C349.633,398.667,349.633,377.333,349.633,356C349.633,334.667,349.633,313.333,349.633,294C349.633,274.667,349.633,257.333,349.633,240C349.633,222.667,349.633,205.333,349.633,188C349.633,170.667,349.633,153.333,349.633,138.5C349.633,123.667,349.633,111.333,344.485,102.083C339.336,92.833,329.039,86.667,319.314,80.843C309.589,75.018,300.436,69.537,295.859,66.796L291.283,64.055" id="L_Chatbot_User_5" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style="" marker-end="url(#mermaid--1446345905-light-mermaid-svg_flowchart-v2-pointEnd)"></path></g><g class="edgeLabels"><g class="edgeLabel" transform="translate(135.9000015258789, 99)"><g class="label" transform="translate(-20.25, -12)"><foreignObject width="40.5" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "><p>query</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(135.9000015258789, 636.4479141235352)"><g class="label" transform="translate(-78.48332977294922, -12)"><foreignObject width="156.96665954589844" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "><p>top N relevant chunks</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(349.63333892822266, 356)"><g class="label" transform="translate(-65.83333587646484, -12)"><foreignObject width="131.6666717529297" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "><p>generate response</p></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default " id="flowchart-User-207" transform="translate(242.76667022705078, 35)"><rect class="basic label-container" style="" x="-45.90833282470703" y="-27" width="91.81666564941406" height="54"></rect><g class="label" style="" transform="translate(-15.908332824707031, -12)"><rect></rect><foreignObject width="31.816665649414062" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>User</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-I-208" transform="translate(135.9000015258789, 188)"><rect class="basic label-container" style="" x="-72.21666717529297" y="-27" width="144.43333435058594" height="54"></rect><g class="label" style="" transform="translate(-42.21666717529297, -12)"><rect></rect><foreignObject width="84.43333435058594" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Input Query</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-E-210" transform="translate(135.9000015258789, 292)"><rect class="basic label-container" style="fill:pink !important" x="-92.9000015258789" y="-27" width="185.8000030517578" height="54"></rect><g class="label" style="" transform="translate(-62.900001525878906, -12)"><rect></rect><foreignObject width="125.80000305175781" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Embedding Model</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-VQ-214" transform="translate(135.9000015258789, 420)"><rect class="basic label-container" style="" x="-76.69166564941406" y="-27" width="153.38333129882812" height="54"></rect><g class="label" style="" transform="translate(-46.69166564941406, -12)"><rect></rect><foreignObject width="93.38333129882812" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Query Vector</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-V-216" transform="translate(135.9000015258789, 560.7239570617676)"><path d="M0,12.815972641147317 a65.74166870117188,12.815972641147317 0,0,0 131.48333740234375,0 a65.74166870117188,12.815972641147317 0,0,0 -131.48333740234375,0 l0,51.81597264114732 a65.74166870117188,12.815972641147317 0,0,0 131.48333740234375,0 l0,-51.81597264114732" class="basic label-container" style="fill:yellow !important" label-offset-y="12.815972641147317" transform="translate(-65.74166870117188, -38.723958961720975)"></path><g class="label" style="" transform="translate(-58.241668701171875, -2)"><rect></rect><foreignObject width="116.48333740234375" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Vector Database</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-Chatbot-221" transform="translate(242.76667022705078, 700.4479141235352)"><rect class="basic label-container" style="" x="-58.458335876464844" y="-27" width="116.91667175292969" height="54"></rect><g class="label" style="" transform="translate(-28.458335876464844, -12)"><rect></rect><foreignObject width="56.91667175292969" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Chatbot</p></span></div></foreignObject></g></g></g></g></g></svg> |