返回 ppt-master
07_context_engineering.svg
根目录 / examples / ppt169_glassmorphism_demo / svg_output / 07_context_engineering.svg
1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
2 <defs>
3 <linearGradient id="titleGradient" x1="0%" y1="0%" x2="100%" y2="0%">
4 <stop offset="0%" stop-color="#5B8DEF"/>
5 <stop offset="50%" stop-color="#A26BFA"/>
6 <stop offset="100%" stop-color="#3DDDFC"/>
7 </linearGradient>
8 <linearGradient id="bgOverlay" x1="0%" y1="0%" x2="0%" y2="100%">
9 <stop offset="0%" stop-color="#0A0E27" stop-opacity="0.6"/>
10 <stop offset="100%" stop-color="#0A0E27" stop-opacity="0.78"/>
11 </linearGradient>
12 <linearGradient id="hubGrad" x1="0%" y1="0%" x2="100%" y2="100%">
13 <stop offset="0%" stop-color="#5B8DEF"/>
14 <stop offset="50%" stop-color="#A26BFA"/>
15 <stop offset="100%" stop-color="#3DDDFC"/>
16 </linearGradient>
17 <linearGradient id="spokeGlass" x1="0%" y1="0%" x2="0%" y2="100%">
18 <stop offset="0%" stop-color="#1A2150" stop-opacity="0.85"/>
19 <stop offset="100%" stop-color="#1A2150" stop-opacity="0.5"/>
20 </linearGradient>
21 <linearGradient id="glassEdge" x1="0%" y1="0%" x2="100%" y2="0%">
22 <stop offset="0%" stop-color="#FFFFFF" stop-opacity="0"/>
23 <stop offset="50%" stop-color="#FFFFFF" stop-opacity="0.3"/>
24 <stop offset="100%" stop-color="#FFFFFF" stop-opacity="0"/>
25 </linearGradient>
26 </defs>
27
28 <g id="bg">
29 <rect width="1280" height="720" fill="#0A0E27"/>
30 <image href="../images/07_context_sphere.png" x="0" y="0" width="1280" height="720" preserveAspectRatio="xMidYMid slice"/>
31 <rect x="0" y="0" width="1280" height="720" fill="url(#bgOverlay)"/>
32 </g>
33
34 <g id="header">
35 <rect x="60" y="50" width="6" height="32" rx="3" fill="url(#titleGradient)"/>
36 <text x="80" y="76" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="34" font-weight="900" fill="#E8ECFF">上下文,才是 Agent 真正的"权重"</text>
37 <text x="80" y="108" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="14" font-weight="600" fill="#A8B0D0" letter-spacing="3">CONTEXT ENGINEERING · 1 CORE + 6 CAPABILITIES</text>
38 </g>
39
40 <g id="orbit-rings">
41 <circle cx="640" cy="410" r="160" fill="none" stroke="#FFFFFF" stroke-opacity="0.08" stroke-width="1"/>
42 <circle cx="640" cy="410" r="240" fill="none" stroke="#FFFFFF" stroke-opacity="0.06" stroke-width="1" stroke-dasharray="4 6"/>
43 </g>
44
45 <g id="spoke-lines">
46 <line x1="640" y1="410" x2="640" y2="180" stroke="#5B8DEF" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
47 <line x1="640" y1="410" x2="870" y2="270" stroke="#A26BFA" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
48 <line x1="640" y1="410" x2="870" y2="540" stroke="#3DDDFC" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
49 <line x1="640" y1="410" x2="640" y2="640" stroke="#4ADE80" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
50 <line x1="640" y1="410" x2="410" y2="540" stroke="#3DDDFC" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
51 <line x1="640" y1="410" x2="410" y2="270" stroke="#A26BFA" stroke-opacity="0.4" stroke-width="2" stroke-dasharray="6 6"/>
52 </g>
53
54 <g id="hub">
55 <circle cx="640" cy="410" r="92" fill="#5B8DEF" fill-opacity="0.2"/>
56 <circle cx="640" cy="410" r="78" fill="url(#hubGrad)"/>
57 <circle cx="640" cy="410" r="68" fill="none" stroke="#FFFFFF" stroke-opacity="0.4" stroke-width="1"/>
58 <use data-icon="phosphor-duotone/cube" x="616" y="380" width="48" height="48" fill="#FFFFFF"/>
59 <text x="640" y="455" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="16" font-weight="900" fill="#FFFFFF" text-anchor="middle">CONTEXT</text>
60 <text x="640" y="474" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="600" fill="#E8ECFF" text-anchor="middle" letter-spacing="3">ENGINEERING</text>
61 </g>
62
63 <g id="spoke-retrieval">
64 <rect x="520" y="140" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#5B8DEF" stroke-opacity="0.55" stroke-width="1"/>
65 <rect x="538" y="141" width="204" height="1" fill="url(#glassEdge)"/>
66 <rect x="520" y="164" width="4" height="32" rx="2" fill="#5B8DEF"/>
67 <rect x="540" y="156" width="44" height="44" rx="10" fill="#5B8DEF" fill-opacity="0.2"/>
68 <use data-icon="phosphor-duotone/magnifying-glass" x="548" y="164" width="28" height="28" fill="#5B8DEF"/>
69 <text x="600" y="174" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">检索</text>
70 <text x="600" y="200" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">RAG · 向量召回 · BM25 混排</text>
71 </g>
72
73 <g id="spoke-rerank">
74 <rect x="750" y="230" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#A26BFA" stroke-opacity="0.55" stroke-width="1"/>
75 <rect x="768" y="231" width="204" height="1" fill="url(#glassEdge)"/>
76 <rect x="750" y="254" width="4" height="32" rx="2" fill="#A26BFA"/>
77 <rect x="770" y="246" width="44" height="44" rx="10" fill="#A26BFA" fill-opacity="0.2"/>
78 <use data-icon="phosphor-duotone/funnel" x="778" y="254" width="28" height="28" fill="#A26BFA"/>
79 <text x="830" y="264" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">重排</text>
80 <text x="830" y="290" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">Reranker · Top-K 精筛</text>
81 </g>
82
83 <g id="spoke-truncate">
84 <rect x="750" y="500" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#3DDDFC" stroke-opacity="0.55" stroke-width="1"/>
85 <rect x="768" y="501" width="204" height="1" fill="url(#glassEdge)"/>
86 <rect x="750" y="524" width="4" height="32" rx="2" fill="#3DDDFC"/>
87 <rect x="770" y="516" width="44" height="44" rx="10" fill="#3DDDFC" fill-opacity="0.2"/>
88 <use data-icon="phosphor-duotone/scales" x="778" y="524" width="28" height="28" fill="#3DDDFC"/>
89 <text x="830" y="534" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">截断</text>
90 <text x="830" y="560" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">Token 预算 · 关键信息优先</text>
91 </g>
92
93 <g id="spoke-memory">
94 <rect x="520" y="600" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#4ADE80" stroke-opacity="0.5" stroke-width="1"/>
95 <rect x="538" y="601" width="204" height="1" fill="url(#glassEdge)"/>
96 <rect x="520" y="624" width="4" height="32" rx="2" fill="#4ADE80"/>
97 <rect x="540" y="616" width="44" height="44" rx="10" fill="#4ADE80" fill-opacity="0.2"/>
98 <use data-icon="phosphor-duotone/database" x="548" y="624" width="28" height="28" fill="#4ADE80"/>
99 <text x="600" y="634" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">记忆</text>
100 <text x="600" y="660" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">长 / 短期 · 会话状态</text>
101 </g>
102
103 <g id="spoke-tools">
104 <rect x="290" y="500" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#3DDDFC" stroke-opacity="0.55" stroke-width="1"/>
105 <rect x="308" y="501" width="204" height="1" fill="url(#glassEdge)"/>
106 <rect x="290" y="524" width="4" height="32" rx="2" fill="#3DDDFC"/>
107 <rect x="310" y="516" width="44" height="44" rx="10" fill="#3DDDFC" fill-opacity="0.2"/>
108 <use data-icon="phosphor-duotone/gear" x="318" y="524" width="28" height="28" fill="#3DDDFC"/>
109 <text x="370" y="534" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">工具说明</text>
110 <text x="370" y="560" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">Tool schema · 示例描述</text>
111 </g>
112
113 <g id="spoke-system">
114 <rect x="290" y="230" width="240" height="80" rx="14" fill="url(#spokeGlass)" stroke="#A26BFA" stroke-opacity="0.55" stroke-width="1"/>
115 <rect x="308" y="231" width="204" height="1" fill="url(#glassEdge)"/>
116 <rect x="290" y="254" width="4" height="32" rx="2" fill="#A26BFA"/>
117 <rect x="310" y="246" width="44" height="44" rx="10" fill="#A26BFA" fill-opacity="0.2"/>
118 <use data-icon="phosphor-duotone/code-block" x="318" y="254" width="28" height="28" fill="#A26BFA"/>
119 <text x="370" y="264" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="17" font-weight="800" fill="#E8ECFF">系统提示</text>
120 <text x="370" y="290" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="12" font-weight="500" fill="#A8B0D0">Persona · 输出格式 · 安全</text>
121 </g>
122
123 <g id="footer">
124 <text x="60" y="694" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="13" font-weight="600" fill="#6B7299">上下文工程 · 让 LLM 知道"该看什么"</text>
125 <text x="1220" y="694" font-family="&quot;Microsoft YaHei&quot;, &quot;PingFang SC&quot;, sans-serif" font-size="13" font-weight="600" fill="#6B7299" text-anchor="end">07 / 12</text>
126 </g>
127 </svg>
128
128 lines Plain Text