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
|
<mxfile host="app.diagrams.net">
<diagram id="decision-reviews-flow" name="demos/decision-reviews — customer reviews, read by a decider">
<mxGraphModel dx="1200" dy="640" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="640" background="#F5F7FC" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="title" value="<b style="font-size:25px;color:#1A237E">demos/decision-reviews — customer reviews, read by a decider</b><br><i style="font-size:14px;color:#546E7A">a script sends each review to the decision model and checks the answers</i>" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;" vertex="1" parent="1"><mxGeometry x="150.0" y="12" width="900" height="56" as="geometry"/></mxCell>
<mxCell id="c12" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="270" y="200" as="sourcePoint"/><mxPoint x="350" y="200" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="c14" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="620" y="200" as="sourcePoint"/><mxPoint x="900" y="200" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="c16" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=block;startFill=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="485" y="260" as="sourcePoint"/><mxPoint x="485" y="370" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="c18" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;dashed=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="620" y="445" as="sourcePoint"/><mxPoint x="690" y="445" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="c1" value="📥<br><b style="font-size:16px">reviews/</b><br><span style="font-size:11.5px;font-weight:normal">eight customer reviews<br>+ expected.json, a person's answers</span>" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=20;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="40" y="140" width="230" height="120" as="geometry"/></mxCell>
<mxCell id="c2" value="💻<br><b style="font-size:16px">analyse-reviews.js</b><br><span style="font-size:11.5px;font-weight:normal">Node.js · one mm -p per review<br>[config] to try another model</span>" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFDE7;gradientColor=#FFF9C4;strokeColor=#F9A825;strokeWidth=2;shadow=1;fontSize=20;fontColor=#E65100;" vertex="1" parent="1"><mxGeometry x="350" y="140" width="270" height="120" as="geometry"/></mxCell>
<mxCell id="c3" value="💻<br><b style="font-size:16px">A table</b><br><span style="font-size:11.5px;font-weight:normal">worst review first<br>✗ where it differs · d1-3B 28/28</span>" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#E3F2FD;gradientColor=#BBDEFB;strokeColor=#1565C0;strokeWidth=2;shadow=1;fontSize=20;fontColor=#0D47A1;" vertex="1" parent="1"><mxGeometry x="900" y="140" width="260" height="120" as="geometry"/></mxCell>
<mxCell id="c4" value="⚖️<br><b style="font-size:16px">Decider</b><br><span style="font-size:11.5px;font-weight:normal">LiquidAI d1-3B · agent.yaml<br>POST /v1/systemone<br>one forward pass per file, ~0.5 s</span>" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F3E5F5;gradientColor=#E1BEE7;strokeColor=#6A1B9A;strokeWidth=3;shadow=1;fontSize=20;fontColor=#4A148C;" vertex="1" parent="1"><mxGeometry x="350" y="370" width="270" height="150" as="geometry"/></mxCell>
<mxCell id="c5" value="<b>★ decides</b>" style="rounded=1;arcSize=50;html=1;fillColor=#6A1B9A;strokeColor=none;fontColor=#FFFFFF;fontSize=11;" vertex="1" parent="1"><mxGeometry x="551.2" y="358" width="78.8" height="24" as="geometry"/></mxCell>
<mxCell id="c6" value="<i><b>4 typed questions · agent.yaml</b></i>" style="rounded=1;arcSize=3;html=1;dashed=1;dashPattern=7 5;fillColor=#FAFAFA;strokeColor=#90A4AE;strokeWidth=2;verticalAlign=top;fontColor=#607D8B;fontSize=13;" vertex="1" parent="1"><mxGeometry x="690" y="350" width="470" height="190" as="geometry"/></mxCell>
<mxCell id="c7" value="<b>sentiment · score</b>" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=12.5;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="705.0" y="390" width="210.0" height="46" as="geometry"/></mxCell>
<mxCell id="c8" value="<b>topic · choice</b>" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=12.5;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="935.0" y="390" width="210.0" height="46" as="geometry"/></mxCell>
<mxCell id="c9" value="<b>competitor · noul</b>" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=12.5;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="705.0" y="446" width="210.0" height="46" as="geometry"/></mxCell>
<mxCell id="c10" value="<b>recommend · noul</b>" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=12.5;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="935.0" y="446" width="210.0" height="46" as="geometry"/></mxCell>
<mxCell id="c11" value="08.txt · 0.37 very negative · quality (0.89)" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=11.5;fontColor=#37474F;fontStyle=0;fontFamily=DejaVu Sans Mono;" vertex="1" parent="1"><mxGeometry x="768.14" y="506.5" width="313.71999999999997" height="17.5" as="geometry"/></mxCell>
<mxCell id="c13" value="<b style="font-size:12.5px;color:#263238">a file</b>" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="279.0" y="216.0" width="62" height="24" as="geometry"/></mxCell>
<mxCell id="c15" value="<b style="font-size:12.5px;color:#263238">one line per file</b><br><span style="font-size:10.5px;color:#78909C">worst first, checked</span>" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="685.4" y="180.0" width="149.2" height="40" as="geometry"/></mxCell>
<mxCell id="c17" value="<b style="font-size:12.5px;color:#263238">mm -config agent.yaml -p</b><br><span style="font-size:10.5px;color:#78909C">← the server's JSON</span>" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="503.8" y="295.0" width="202.39999999999998" height="40" as="geometry"/></mxCell>
<mxCell id="c19" value="Same questions, another model: sed 's#d1-3B…#d1-omni…#' agent.yaml &gt; omni.yaml" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=12.5;fontColor=#455A64;fontStyle=2;" vertex="1" parent="1"><mxGeometry x="297.75" y="577.5" width="604.5" height="18.5" as="geometry"/></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
|