返回 ppt-master
09_evaluator_optimizer.svg
根目录 / examples / ppt169_building_effective_agents / svg_output / 09_evaluator_optimizer.svg
1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
2 <defs>
3 <filter id="cardShadow" x="-15%" y="-15%" width="140%" height="140%">
4 <feGaussianBlur in="SourceAlpha" stdDeviation="10"/>
5 <feOffset dx="0" dy="4" result="offsetBlur"/>
6 <feFlood flood-color="#000000" flood-opacity="0.12" result="shadowColor"/>
7 <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>
8 <feMerge>
9 <feMergeNode in="shadow"/>
10 <feMergeNode in="SourceGraphic"/>
11 </feMerge>
12 </filter>
13 </defs>
14
15 <!-- Background -->
16 <rect width="1280" height="720" fill="#0F1117"/>
17
18 <!-- Page header -->
19 <g id="header">
20 <rect x="60" y="40" width="4" height="32" rx="2" fill="#5B9BD5"/>
21 <text x="78" y="66" font-family="'Helvetica Neue', Arial, sans-serif" font-size="28" font-weight="bold" fill="#E8E8EC">Workflow: Evaluator-Optimizer</text>
22 </g>
23
24 <!-- Diagram image -->
25 <g id="diagram">
26 <image href="../images/image_5.png" x="80" y="88" width="1120" height="280" preserveAspectRatio="xMidYMid meet"/>
27 </g>
28
29 <!-- Content: two-column -->
30 <g id="mechanism">
31 <rect x="60" y="385" width="560" height="275" rx="12" fill="#1A1D27" stroke="#2D3348" stroke-width="1" filter="url(#cardShadow)"/>
32 <use data-icon="chunk/arrows-repeat" x="84" y="410" width="24" height="24" fill="#5B9BD5"/>
33 <text x="118" y="430" font-family="'Helvetica Neue', Arial, sans-serif" font-size="18" font-weight="bold" fill="#5B9BD5">Mechanism</text>
34
35 <text x="84" y="466" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">One LLM generates a response,</text>
36 <text x="84" y="488" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">another evaluates in a feedback loop.</text>
37
38 <rect x="84" y="510" width="512" height="1" fill="#2D3348" fill-opacity="0.4"/>
39
40 <text x="84" y="540" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#E8E8EC" font-weight="bold">Two signs of good fit:</text>
41
42 <text x="100" y="568" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#4ADE80">①</text>
43 <text x="120" y="568" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#E8E8EC">Human feedback demonstrably</text>
44 <text x="120" y="586" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#E8E8EC">improves LLM responses</text>
45
46 <text x="100" y="616" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#4ADE80">②</text>
47 <text x="120" y="616" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#E8E8EC">The LLM itself can provide</text>
48 <text x="120" y="634" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#E8E8EC">such feedback reliably</text>
49 </g>
50
51 <g id="examples">
52 <rect x="650" y="385" width="570" height="275" rx="12" fill="#1A1D27" stroke="#2D3348" stroke-width="1" filter="url(#cardShadow)"/>
53 <use data-icon="chunk/eye" x="674" y="410" width="24" height="24" fill="#D4845A"/>
54 <text x="708" y="430" font-family="'Helvetica Neue', Arial, sans-serif" font-size="18" font-weight="bold" fill="#D4845A">Examples</text>
55
56 <text x="674" y="466" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">Clear evaluation criteria and</text>
57 <text x="674" y="488" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">measurable iterative refinement.</text>
58
59 <rect x="674" y="510" width="522" height="1" fill="#2D3348" fill-opacity="0.4"/>
60
61 <!-- Example 1 -->
62 <rect x="674" y="530" width="522" height="68" rx="8" fill="#0F1117" stroke="#2D3348" stroke-width="1"/>
63 <use data-icon="chunk/book-open" x="690" y="548" width="20" height="20" fill="#D4845A"/>
64 <text x="720" y="558" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#E8E8EC" font-weight="bold">Literary Translation</text>
65 <text x="720" y="580" font-family="'Helvetica Neue', Arial, sans-serif" font-size="13" fill="#9CA3AF">Evaluator catches nuances the translator missed</text>
66
67 <!-- Example 2 -->
68 <rect x="674" y="612" width="522" height="42" rx="8" fill="#0F1117" stroke="#2D3348" stroke-width="1"/>
69 <use data-icon="chunk/target" x="690" y="622" width="20" height="20" fill="#D4845A"/>
70 <text x="720" y="640" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#E8E8EC" font-weight="bold">Complex Multi-round Search</text>
71 </g>
72
73 <!-- Footer -->
74 <g id="footer">
75 <text x="1220" y="700" text-anchor="end" font-family="'Helvetica Neue', Arial, sans-serif" font-size="10" fill="#6B7280">09</text>
76 </g>
77 </svg>
78
78 lines Plain Text