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

66 lines
10 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 40 820 560" width="820" height="560" 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>
<text x="410" y="58" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal">검색당 평균 약 52K 문자를 반환 → 전략마다 다른 방식으로 처리</text>
<rect x="30" y="75" width="130" height="26" rx="13" fill="#999999" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="88.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">① 압축 없음</text>
<rect x="30" y="105" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="125" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">그대로 유지</text>
<line x1="152" y1="125" x2="165" y2="125" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="105" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="125" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">원문 전체를 컨텍스트에 삽입</text>
<line x1="500" y1="125" x2="513" y2="125" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="105" width="275" height="40" rx="4" fill="#ffffff" stroke="#333333" stroke-width="2"/>
<text x="653" y="125" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">166K tok · 102.1% · 실패</text>
<rect x="30" y="153" width="130" height="26" rx="13" fill="#999999" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="166.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">② 개별 요약</text>
<rect x="30" y="183" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="203" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">독립 요약</text>
<line x1="152" y1="203" x2="165" y2="203" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="183" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="203" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">결과마다 2~3문단 요약을 따로 생성</text>
<line x1="500" y1="203" x2="513" y2="203" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="183" width="275" height="40" rx="4" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="653" y="203" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">277K tok · 10.9% · 12회</text>
<rect x="30" y="231" width="130" height="26" rx="13" fill="#999999" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="244.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">③ 통합 요약</text>
<rect x="30" y="261" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="281" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">병합 요약</text>
<line x1="152" y1="281" x2="165" y2="281" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="261" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="281" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">모든 결과를 연결한 뒤 한 번에 요약</text>
<line x1="500" y1="281" x2="513" y2="281" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="261" width="275" height="40" rx="4" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="653" y="281" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">93K tok · 4.3% · 10회</text>
<rect x="30" y="309" width="130" height="26" rx="13" fill="#666666" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="322.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">④ 컨텍스트 인식</text>
<rect x="30" y="339" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="359" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">지능형 압축</text>
<line x1="152" y1="359" x2="165" y2="359" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="339" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="359" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">Given query + context → 질의에 맞게 압축</text>
<line x1="500" y1="359" x2="513" y2="359" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="339" width="275" height="40" rx="4" fill="#d0d0d0" stroke="#333333" stroke-width="2"/>
<text x="653" y="359" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">40K tok · 3.0% · 7회</text>
<rect x="30" y="387" width="130" height="26" rx="13" fill="#999999" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="400.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">⑤ 인식+인용</text>
<rect x="30" y="417" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="437" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">지능형+추적</text>
<line x1="152" y1="437" x2="165" y2="437" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="417" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="437" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">콘텐츠 압축 + URL 인용 마커 보존</text>
<line x1="500" y1="437" x2="513" y2="437" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="417" width="275" height="40" rx="4" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="653" y="437" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">223K tok · 4.1% · 10회</text>
<rect x="30" y="465" width="130" height="26" rx="13" fill="#999999" stroke="#333333" stroke-width="2"/>
<text x="95.0" y="478.0" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold">⑥ 적응형 창</text>
<rect x="30" y="495" width="120" height="40" rx="4" fill="#e8e8e8" stroke="#333333" stroke-width="2"/>
<text x="90" y="515" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">지연 압축</text>
<line x1="152" y1="515" x2="165" y2="515" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="168" y="495" width="330" height="40" rx="4" fill="#f5f5f5" stroke="#999999" stroke-width="2"/>
<text x="333" y="515" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">창이 80% 미만이면 원문 유지, 넘으면 일괄 압축</text>
<line x1="500" y1="515" x2="513" y2="515" stroke="#333333" stroke-width="2" marker-end="url(#ah)"/>
<rect x="516" y="495" width="275" height="40" rx="4" fill="#f0f0f0" stroke="#333333" stroke-width="2"/>
<text x="653" y="515" font-family="'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif" font-size="14" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="normal">175K tok · 102.4% · 7회</text>
</svg>