ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
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
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
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 280" width="900" height="280" style="background:#ffffff">
|
||||
<style>text{font-family:Arial,'Helvetica Neue',Helvetica,'PingFang SC','Microsoft YaHei',sans-serif}</style>
|
||||
<defs>
|
||||
<marker id="arrow" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto"><polygon points="0 0, 10 3.5, 0 7" fill="#555555" /></marker>
|
||||
</defs>
|
||||
|
||||
|
||||
<text x="200" y="24" font-size="15" fill="#333333" text-anchor="middle" font-weight="bold">Cấp API (góc nhìn nhà phát triển)</text>
|
||||
|
||||
<rect x="20" y="40" width="360" height="220" rx="8" fill="#f8f9fb" stroke="#b0b8c4" stroke-width="1.5" />
|
||||
|
||||
|
||||
<rect x="35" y="55" width="330" height="82" rx="5" fill="#ffffff" stroke="#d0d5dc" stroke-width="1" />
|
||||
<text x="50" y="47.4" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">{</text>
|
||||
<text x="68" y="58.2" font-size="10" fill="#0b7285" font-family="'Courier New',Courier,monospace">"role"</text>
|
||||
<text x="128" y="69" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">:</text>
|
||||
<text x="144" y="79.8" font-size="10" fill="#c92a2a" font-family="'Courier New',Courier,monospace">"system"</text>
|
||||
<text x="224" y="90.6" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">,</text>
|
||||
|
||||
<text x="68" y="101.4" font-size="10" fill="#0b7285" font-family="'Courier New',Courier,monospace">"content"</text>
|
||||
<text x="148" y="112.2" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">:</text>
|
||||
<text x="164" y="0" font-size="10" fill="#c92a2a" font-family="'Courier New',Courier,monospace"><tspan x="164" dy="123">"Bạn là một</tspan><tspan x="164" dy="10.8">trợ lý"</tspan></text>
|
||||
<text x="264" y="144.6" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">}</text>
|
||||
|
||||
|
||||
<rect x="35" y="152" width="330" height="82" rx="5" fill="#ffffff" stroke="#d0d5dc" stroke-width="1" />
|
||||
<text x="50" y="144.4" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">{</text>
|
||||
<text x="68" y="155.2" font-size="10" fill="#0b7285" font-family="'Courier New',Courier,monospace">"role"</text>
|
||||
<text x="128" y="166" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">:</text>
|
||||
<text x="144" y="176.8" font-size="10" fill="#c92a2a" font-family="'Courier New',Courier,monospace">"user"</text>
|
||||
<text x="208" y="187.6" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">,</text>
|
||||
|
||||
<text x="68" y="198.4" font-size="10" fill="#0b7285" font-family="'Courier New',Courier,monospace">"content"</text>
|
||||
<text x="148" y="209.2" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">:</text>
|
||||
<text x="164" y="0" font-size="10" fill="#c92a2a" font-family="'Courier New',Courier,monospace"><tspan x="164" dy="220">"Xin</tspan><tspan x="164" dy="10.8">chào"</tspan></text>
|
||||
<text x="224" y="241.6" font-size="10" fill="#555555" font-family="'Courier New',Courier,monospace">}</text>
|
||||
|
||||
|
||||
<line x1="395" y1="150" x2="455" y2="150" stroke="#555555" stroke-width="2.5" marker-end="url(#arrow)" />
|
||||
|
||||
|
||||
<text x="680" y="24" font-size="15" fill="#333333" text-anchor="middle" font-weight="bold">Cấp mô hình (sau Chat Template)</text>
|
||||
|
||||
<rect x="475" y="40" width="405" height="220" rx="8" fill="#f5faf7" stroke="#8fc5a6" stroke-width="1.5" />
|
||||
|
||||
|
||||
<rect x="490" y="55" width="150" height="22" rx="4" fill="#555555" />
|
||||
<text x="565" y="66" font-size="12" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-family="'Courier New',Courier,monospace"><|im_start|></text>
|
||||
<text x="645" y="66" font-size="14" fill="#333333" dominant-baseline="central">system</text>
|
||||
|
||||
|
||||
<text x="490" y="98" font-size="14" fill="#333333" dominant-baseline="central">Bạn là một trợ lý</text>
|
||||
<rect x="568" y="86" width="120" height="22" rx="4" fill="#999999" />
|
||||
<text x="628" y="97" font-size="12" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-family="'Courier New',Courier,monospace"><|im_end|></text>
|
||||
|
||||
|
||||
<rect x="490" y="118" width="150" height="22" rx="4" fill="#555555" />
|
||||
<text x="565" y="129" font-size="12" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-family="'Courier New',Courier,monospace"><|im_start|></text>
|
||||
<text x="645" y="129" font-size="14" fill="#333333" dominant-baseline="central">user</text>
|
||||
|
||||
|
||||
<text x="490" y="161" font-size="14" fill="#333333" dominant-baseline="central">Xin chào</text>
|
||||
<rect x="530" y="149" width="120" height="22" rx="4" fill="#999999" />
|
||||
<text x="590" y="160" font-size="12" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-family="'Courier New',Courier,monospace"><|im_end|></text>
|
||||
|
||||
|
||||
<rect x="490" y="181" width="150" height="22" rx="4" fill="#555555" />
|
||||
<text x="565" y="192" font-size="12" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-family="'Courier New',Courier,monospace"><|im_start|></text>
|
||||
<text x="645" y="192" font-size="14" fill="#333333" dominant-baseline="central">assistant</text>
|
||||
|
||||
|
||||
<text x="490" y="226" font-size="13" fill="#888888" dominant-baseline="central">(mô hình tạo nội dung từ đây)</text>
|
||||
<line x1="490" y1="234" x2="680" y2="234" stroke="#888888" stroke-width="1" stroke-dasharray="4,3" />
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.2 KiB |
Reference in New Issue
Block a user