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

68 lines
17 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 40 780 690" width="780" height="690" 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="260" y="55" width="260" height="75" rx="6" fill="#999999" stroke="#333333" stroke-width="2" />
<text x="390" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14.68" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold"><tspan x="390" dy="67.92">Thẩm phán (điều khiển</tspan><tspan x="390" dy="15.85">bằng mã)</tspan></text>
<text x="390" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="10.28" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="390" dy="97.25">Trạng thái trò chơi · Kiểm soát</tspan><tspan x="390" dy="11.1">pha · Phân phối thông tin</tspan></text>
<text x="390" y="119.46" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="10.28" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="normal">Night → Day → Vote → Settle</text>
<rect x="40" y="180" width="135" height="155" rx="6" fill="#d0d0d0" stroke="#333333" stroke-width="2" />
<text x="107" y="215.38" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">🐺 Người sói 1</text>
<text x="107" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="107" dy="231.04">Hiển thị: trạng</tspan><tspan x="107" dy="14.04">thái đồng hành</tspan></text>
<text x="107" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="107" dy="259.12">Chiến lược: Ngụy</tspan><tspan x="107" dy="14.04">trang dân làng</tspan></text>
<text x="107" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="107" dy="287.2">Đêm: Chọn mục</tspan><tspan x="107" dy="14.04">tiêu</tspan></text>
<line x1="390" y1="132" x2="107" y2="178" stroke="#999999" stroke-width="2" marker-end="url(#ah-light)" />
<rect x="130" y="315" width="40" height="18" rx="9" fill="#666666" stroke="#333333" stroke-width="2" />
<text x="150.0" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="10" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold"><tspan x="150" dy="318.6">Hiểu</tspan><tspan x="150" dy="10.8">nhau</tspan></text>
<rect x="185" y="180" width="135" height="155" rx="6" fill="#d0d0d0" stroke="#333333" stroke-width="2" />
<text x="252" y="215.38" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">🐺 Người sói 2</text>
<text x="252" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="252" dy="231.04">Hiển thị: trạng</tspan><tspan x="252" dy="14.04">thái đồng hành</tspan></text>
<text x="252" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="252" dy="259.12">Chiến lược: Bảo</tspan><tspan x="252" dy="14.04">vệ thẻ</tspan></text>
<text x="252" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="252" dy="287.2">Đêm: Mục tiêu đàm</tspan><tspan x="252" dy="14.04">phán</tspan></text>
<line x1="390" y1="132" x2="252" y2="178" stroke="#999999" stroke-width="2" marker-end="url(#ah-light)" />
<rect x="275" y="315" width="40" height="18" rx="9" fill="#666666" stroke="#333333" stroke-width="2" />
<text x="295.0" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="10" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold"><tspan x="295" dy="318.6">Hiểu</tspan><tspan x="295" dy="10.8">nhau</tspan></text>
<rect x="330" y="180" width="135" height="155" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2" />
<text x="397" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold"><tspan x="397" dy="206.74">🔮 Nhà tiên</tspan><tspan x="397" dy="17.28">tri</tspan></text>
<text x="397" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="397" dy="239.68">Hiển thị: kết quả</tspan><tspan x="397" dy="14.04">kiểm tra</tspan></text>
<text x="397" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="397" dy="267.76">Chiến lược: Thoát</tspan><tspan x="397" dy="14.04">đúng lúc</tspan></text>
<text x="397" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="397" dy="295.84">Đêm: Kiểm tra 1</tspan><tspan x="397" dy="14.04">Mọi người</tspan></text>
<line x1="390" y1="132" x2="397" y2="178" stroke="#999999" stroke-width="2" marker-end="url(#ah-light)" />
<rect x="410" y="315" width="50" height="18" rx="9" fill="#666666" stroke="#333333" stroke-width="2" />
<text x="435.0" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="10" fill="#ffffff" text-anchor="middle" dominant-baseline="central" font-weight="bold"><tspan x="435" dy="313.2">Kết quả</tspan><tspan x="435" dy="10.8">kiểm</tspan><tspan x="435" dy="10.8">tra</tspan></text>
<rect x="475" y="180" width="135" height="155" rx="6" fill="#f0f0f0" stroke="#333333" stroke-width="2" />
<text x="542" y="215.38" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">🧪 phù thủy</text>
<text x="542" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="542" dy="231.04">Hiển thị: Cái</tspan><tspan x="542" dy="14.04">chết/Cứu hộ</tspan></text>
<text x="542" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="542" dy="259.12">Chiến lược: Bảo</tspan><tspan x="542" dy="14.04">tồn/giải độc</tspan></text>
<text x="542" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="542" dy="287.2">Đêm: Cứu/Đầu độc</tspan><tspan x="542" dy="14.04">1 Người</tspan></text>
<line x1="390" y1="132" x2="542" y2="178" stroke="#999999" stroke-width="2" marker-end="url(#ah-light)" />
<rect x="620" y="180" width="135" height="155" rx="6" fill="#e8e8e8" stroke="#333333" stroke-width="2" />
<text x="687" y="208.36" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">👤 Dân làng ×2</text>
<text x="687" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="687" dy="224.02">Hiển thị: chỉ</tspan><tspan x="687" dy="14.04">thông tin công</tspan><tspan x="687" dy="14.04">khai</tspan></text>
<text x="687" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="687" dy="266.14">Chiến lược: Suy</tspan><tspan x="687" dy="14.04">luận logic</tspan></text>
<text x="687" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="687" dy="294.22">Ngày: Phân tích</tspan><tspan x="687" dy="14.04">bài phát biểu</tspan></text>
<line x1="390" y1="132" x2="687" y2="178" stroke="#999999" stroke-width="2" marker-end="url(#ah-light)" />
<rect x="30" y="355" width="720" height="150" rx="4" fill="#f5f5f5" stroke="#333333" stroke-width="2" />
<text x="390" y="369.06" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16.73" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">Kiểm soát truy cập thông tin: Thẩm phán lọc bối cảnh theo vai trò</text>
<text x="50" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.67" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold"><tspan x="50" dy="366.83">Người</tspan><tspan x="50" dy="13.68">sói:</tspan></text>
<text x="105" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13.04" fill="#666666" text-anchor="start" dominant-baseline="central" font-weight="normal"><tspan x="105" dy="394.39">Tất cả danh tính người sói + những</tspan><tspan x="105" dy="14.08">cuộc thảo luận trong đêm + diễn</tspan><tspan x="105" dy="14.08">thuyết trước công chúng</tspan></text>
<text x="400" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.54" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold"><tspan x="400" dy="384.86">Tiên</tspan><tspan x="400" dy="13.54">tri:</tspan></text>
<text x="460" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.54" fill="#666666" text-anchor="start" dominant-baseline="central" font-weight="normal"><tspan x="460" dy="411.95">Kết quả kiểm tra (chỉ tự kiểm tra) +</tspan><tspan x="460" dy="13.54">bài phát biểu trước công chúng</tspan></text>
<text x="50" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13.04" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold"><tspan x="50" dy="436.64">Phù</tspan><tspan x="50" dy="14.08">thủy:</tspan></text>
<text x="105" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="13.04" fill="#666666" text-anchor="start" dominant-baseline="central" font-weight="normal"><tspan x="105" dy="464.81">Người chết đêm đó + thuốc giải</tspan><tspan x="105" dy="14.08">độc/trạng thái chất độc + bài phát</tspan><tspan x="105" dy="14.08">biểu trước công chúng</tspan></text>
<text x="400" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.54" fill="#333333" text-anchor="start" dominant-baseline="central" font-weight="bold"><tspan x="400" dy="439.03">Dân</tspan><tspan x="400" dy="13.54">làng:</tspan></text>
<text x="460" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.54" fill="#666666" text-anchor="start" dominant-baseline="central" font-weight="normal"><tspan x="460" dy="466.12">Chỉ phát biểu trước công chúng + hồ</tspan><tspan x="460" dy="13.54">sơ biểu quyết (không có thông tin</tspan><tspan x="460" dy="13.54">cá nhân)</tspan></text>
<rect x="30" y="533" width="720" height="155" rx="4" fill="#f0f0f0" stroke="#333333" stroke-width="2" />
<text x="390" y="546.42" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15.61" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">Tương tác bằng giọng nói theo thời gian thực (ASR + LLM + TTS)</text>
<text x="137" y="578.1" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">Thảo luận trong ngày</text>
<text x="137" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="137" dy="594.84">Thẩm phán quản lý trật</tspan><tspan x="137" dy="16.2">tự phát biểu</tspan></text>
<text x="137" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="137" dy="627.24">Nói theo thứ tự chỗ</tspan><tspan x="137" dy="16.2">ngồi</tspan></text>
<text x="312" y="561.6" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.49" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">giai đoạn bỏ phiếu</text>
<text x="312" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="11.71" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="312" dy="588.15">Thu thập phiếu bầu</tspan><tspan x="312" dy="12.65">từ tất cả người chơi</tspan></text>
<text x="312" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="11.71" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="312" dy="651.39">Kiểm phiếu và công</tspan><tspan x="312" dy="12.65">bố kết quả</tspan></text>
<text x="487" y="575.09" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="12.49" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">giai đoạn ban đêm</text>
<text x="487" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="11.71" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="487" dy="613.45">Giám khảo lần lượt</tspan><tspan x="487" dy="12.65">đánh thức các nhân</tspan><tspan x="487" dy="12.65">vật</tspan></text>
<text x="487" y="676.68" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="11.71" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal">Kênh thoại riêng</text>
<text x="662" y="570" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" fill="#333333" text-anchor="middle" dominant-baseline="central" font-weight="bold">người chơi thực sự</text>
<text x="662" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="662" dy="586.74">Phân công vai trò</tspan><tspan x="662" dy="16.2">ngẫu nhiên</tspan></text>
<text x="662" y="0" font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" fill="#666666" text-anchor="middle" dominant-baseline="central" font-weight="normal"><tspan x="662" dy="619.14">Biểu hiện bằng giọng</tspan><tspan x="662" dy="16.2">nói biểu quyết/phát</tspan><tspan x="662" dy="16.2">biểu</tspan></text>
</svg>