返回 ppt-master
06_routing.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: Routing</text>
22 </g>
23
24 <!-- Diagram image — top area -->
25 <g id="diagram">
26 <image href="../images/image_2.png" x="80" y="88" width="1120" height="300" preserveAspectRatio="xMidYMid meet"/>
27 </g>
28
29 <!-- Content: two-column below -->
30 <g id="when-to-use">
31 <rect x="60" y="400" width="560" height="260" rx="12" fill="#1A1D27" stroke="#2D3348" stroke-width="1" filter="url(#cardShadow)"/>
32 <use data-icon="chunk/route" x="84" y="422" width="24" height="24" fill="#5B9BD5"/>
33 <text x="118" y="442" font-family="'Helvetica Neue', Arial, sans-serif" font-size="18" font-weight="bold" fill="#5B9BD5">When to Use</text>
34
35 <text x="84" y="478" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">Distinct categories that are better</text>
36 <text x="84" y="500" font-family="'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#E8E8EC">handled separately.</text>
37
38 <rect x="84" y="518" width="512" height="1" fill="#2D3348" fill-opacity="0.4"/>
39
40 <text x="84" y="546" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#9CA3AF">• Classify input → direct to specialized task</text>
41 <text x="84" y="571" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#9CA3AF">• Separation of concerns</text>
42 <text x="84" y="596" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#9CA3AF">• More specialized prompts per category</text>
43 <text x="84" y="621" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#9CA3AF">• Prevents cross-optimization interference</text>
44 </g>
45
46 <g id="examples">
47 <rect x="650" y="400" width="570" height="260" rx="12" fill="#1A1D27" stroke="#2D3348" stroke-width="1" filter="url(#cardShadow)"/>
48 <use data-icon="chunk/arrow-right" x="674" y="422" width="24" height="24" fill="#D4845A"/>
49 <text x="708" y="442" font-family="'Helvetica Neue', Arial, sans-serif" font-size="18" font-weight="bold" fill="#D4845A">Examples</text>
50
51 <!-- Example 1 -->
52 <rect x="674" y="470" width="522" height="72" rx="8" fill="#0F1117" stroke="#2D3348" stroke-width="1"/>
53 <text x="694" y="496" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#E8E8EC" font-weight="bold">Customer Service Query Routing</text>
54 <text x="694" y="520" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#9CA3AF">General Q's → Refund requests → Technical support</text>
55
56 <!-- Example 2 -->
57 <rect x="674" y="558" width="522" height="80" rx="8" fill="#0F1117" stroke="#2D3348" stroke-width="1"/>
58 <text x="694" y="584" font-family="'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#E8E8EC" font-weight="bold">Model Selection by Difficulty</text>
59 <text x="694" y="608" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#9CA3AF">Easy → Haiku (cost-efficient)</text>
60 <text x="694" y="626" font-family="'Helvetica Neue', Arial, sans-serif" font-size="14" fill="#9CA3AF">Hard → Sonnet (capable)</text>
61 </g>
62
63 <!-- Footer -->
64 <g id="footer">
65 <text x="1220" y="700" text-anchor="end" font-family="'Helvetica Neue', Arial, sans-serif" font-size="10" fill="#6B7280">06</text>
66 </g>
67 </svg>
68
68 lines Plain Text