Files
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

27 lines
4.3 KiB
XML

<svg xml:lang="ar" xmlns="http://www.w3.org/2000/svg" viewBox="0 40 900 320" width="900" height="320" style="background:#ffffff">
<defs><marker id="ah" markerWidth="12" markerHeight="8" refX="12" refY="4" orient="auto"><polygon points="0 0, 12 4, 0 8" fill="#333333"/></marker><marker id="ah-light" markerWidth="12" markerHeight="8" refX="12" refY="4" orient="auto"><polygon points="0 0, 12 4, 0 8" fill="#999999"/></marker></defs>
<rect x="30" y="78" width="840" height="96" rx="6" fill="#d0d0d0" stroke="#333333" stroke-width="2"/>
<text x="50" y="100" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold">بادئة ثابتة (لا تتغير بين الجولات)</text>
<rect x="60" y="116" width="380" height="44" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="250" y="138" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">System Prompt (موجّه النظام)</text>
<rect x="460" y="116" width="380" height="44" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="650" y="138" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">Tool Definitions (تعريفات الأدوات)</text>
<rect x="30" y="200" width="840" height="110" rx="6" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="50" y="222" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold">سجل المحادثة / المسار (ينمو مع التفاعل ←)</text>
<rect x="60" y="244" width="140" height="46" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="130.0" y="267" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">user</text>
<line x1="200" y1="267" x2="216" y2="267" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="216" y="244" width="140" height="46" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="286.0" y="267" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">assistant</text>
<line x1="356" y1="267" x2="372" y2="267" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="372" y="244" width="140" height="46" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="442.0" y="267" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">نتيجة الأداة</text>
<line x1="512" y1="267" x2="528" y2="267" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="528" y="244" width="140" height="46" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="598.0" y="267" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">user</text>
<line x1="668" y1="267" x2="684" y2="267" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="684" y="244" width="60" height="46" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="714.0" y="267" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal"></text>
<text x="450" y="344" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal">بنية "البادئة الثابتة + المسار": تثبيت البادئة يفيد KV Cache، ويمكن ضغط المسار</text>
</svg>