-
Notifications
You must be signed in to change notification settings - Fork 0
/
flow.drawio
93 lines (93 loc) 路 6.95 KB
/
flow.drawio
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
<mxfile host="65bd71144e">
<diagram id="ZPgNhMFsD9aIJOTKAWIQ" name="Page-1">
<mxGraphModel dx="618" dy="571" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="12" value="Start" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="270" y="110" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" value="User queries LLM" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="270" y="220" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="14" value="End" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="270" y="720" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" value="Atlas scans response and checks for signs of hallucination" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="270" y="340" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="16" value="" style="endArrow=classic;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="12" target="13" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="290" y="290" as="sourcePoint"/>
<mxPoint x="330" y="150" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" value="" style="endArrow=classic;startArrow=classic;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="15" target="13" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="290" y="290" as="sourcePoint"/>
<mxPoint x="340" y="240" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="Hallucination detection" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="270" y="470" width="120" height="100" as="geometry"/>
</mxCell>
<mxCell id="22" value="Propmt the user of possible hallucinations" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="10" y="490" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="24" value="Continue scanning response from LLM" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="580" y="490" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="27" value="" style="endArrow=classic;startArrow=classic;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="21" target="15" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="390" as="sourcePoint"/>
<mxPoint x="370" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="29" value="Crawl the web for the right response and present to the user" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="10" y="610" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="30" value="" style="endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="22" target="29" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="550" as="sourcePoint"/>
<mxPoint x="370" y="500" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="33" value="" style="curved=1;endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="29" target="14" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="650" as="sourcePoint"/>
<mxPoint x="370" y="600" as="targetPoint"/>
<Array as="points">
<mxPoint x="100" y="750"/>
<mxPoint x="370" y="650"/>
<mxPoint x="350" y="640"/>
<mxPoint x="320" y="600"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="34" value="<h1><span style="background-color: initial;">Flow Diagram</span><br></h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="235" y="50" width="190" height="120" as="geometry"/>
</mxCell>
<mxCell id="36" value="" style="endArrow=classic;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="21" target="22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="290" y="580" as="sourcePoint"/>
<mxPoint x="390" y="580" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="37" value="Hallucination dectected" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;" parent="36" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="38" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="21" target="24" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="180" y="580" as="sourcePoint"/>
<mxPoint x="280" y="580" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="No detection" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;" parent="38" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4" as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>