mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
ab549957fe
* docs: Add documentation for context_window_compression in RunConfig * docs: add Context Compaction feature docs * revert adk-bot changes * revert changes * updated based on review input * final changes --------- Co-authored-by: adk-bot <adk-bot@google.com>
226 lines
8.2 KiB
XML
226 lines
8.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg
|
|
width="915"
|
|
height="200"
|
|
font-family="Roboto-Regular, Roboto, Arial, sans-serif"
|
|
font-size="16px"
|
|
version="1.1"
|
|
id="svg10"
|
|
sodipodi:docname="context-compaction.svg"
|
|
inkscape:version="1.4.2 (ebf0e940, 2025-05-08)"
|
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:svg="http://www.w3.org/2000/svg">
|
|
<sodipodi:namedview
|
|
id="namedview10"
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1.0"
|
|
inkscape:showpageshadow="2"
|
|
inkscape:pageopacity="0.0"
|
|
inkscape:pagecheckerboard="0"
|
|
inkscape:deskcolor="#d1d1d1"
|
|
inkscape:zoom="1.4142136"
|
|
inkscape:cx="429.56736"
|
|
inkscape:cy="152.38151"
|
|
inkscape:window-width="2304"
|
|
inkscape:window-height="1418"
|
|
inkscape:window-x="1447"
|
|
inkscape:window-y="50"
|
|
inkscape:window-maximized="0"
|
|
inkscape:current-layer="svg10"
|
|
showguides="true">
|
|
<sodipodi:guide
|
|
position="913,333"
|
|
orientation="0,-1"
|
|
id="guide1"
|
|
inkscape:locked="false" />
|
|
</sodipodi:namedview>
|
|
<!-- Define colors -->
|
|
<defs
|
|
id="defs1">
|
|
<style
|
|
id="style1">
|
|
.invocation-box { fill: #C5E0B3; }
|
|
.summary-box { fill: #BDD7EE; }
|
|
.box-text { text-anchor: middle; dominant-baseline: middle; fill: #000000; }
|
|
.bracket { fill: none; stroke: #595959; stroke-width: 2; }
|
|
</style>
|
|
</defs>
|
|
<!-- Invocation Boxes -->
|
|
<g
|
|
id="invocations">
|
|
<!-- Invocation #1 -->
|
|
<rect
|
|
x="10"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect1"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="70"
|
|
y="45"
|
|
class="box-text"
|
|
id="text1">Invocation #1</text>
|
|
<!-- Invocation #2 -->
|
|
<rect
|
|
x="140"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect2"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="200"
|
|
y="45"
|
|
class="box-text"
|
|
id="text2">Invocation #2</text>
|
|
<!-- Invocation #3 -->
|
|
<rect
|
|
x="270"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect3"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="330"
|
|
y="45"
|
|
class="box-text"
|
|
id="text3">Invocation #3</text>
|
|
<!-- Invocation #4 -->
|
|
<rect
|
|
x="400"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect4"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="460"
|
|
y="45"
|
|
class="box-text"
|
|
id="text4">Invocation #4</text>
|
|
<!-- Invocation #5 -->
|
|
<rect
|
|
x="530"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect5"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="590"
|
|
y="45"
|
|
class="box-text"
|
|
id="text5">Invocation #5</text>
|
|
<!-- Invocation #6 -->
|
|
<rect
|
|
x="660"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect6"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="720"
|
|
y="45"
|
|
class="box-text"
|
|
id="text6">Invocation #6</text>
|
|
<!-- Invocation #7 -->
|
|
<rect
|
|
x="790"
|
|
y="20"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="invocation-box"
|
|
id="rect7"
|
|
style="stroke:#34a853;stroke-opacity:1;stroke-width:2.66667;stroke-dasharray:none;fill:#a8dab5;fill-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="850"
|
|
y="45"
|
|
class="box-text"
|
|
id="text7">Invocation #7</text>
|
|
</g>
|
|
<!-- Summary Boxes -->
|
|
<g
|
|
id="g10"
|
|
transform="translate(-50.713443,-1.0790095)">
|
|
<g
|
|
id="g2"
|
|
transform="translate(0,10)">
|
|
<rect
|
|
x="244.66391"
|
|
y="121.36793"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="summary-box"
|
|
id="rect8"
|
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#c8dcfb;fill-opacity:1;stroke:#5a9efc;stroke-width:2.66667;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="304.66391"
|
|
y="146.36792"
|
|
class="box-text"
|
|
id="text8">Summary #1</text>
|
|
</g>
|
|
</g>
|
|
<g
|
|
id="g12"
|
|
transform="translate(1.0790094,17.553071)">
|
|
<g
|
|
id="g11">
|
|
<rect
|
|
x="633.5849"
|
|
y="112.73585"
|
|
width="120"
|
|
height="50"
|
|
rx="10"
|
|
class="summary-box"
|
|
id="rect9"
|
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#c8dcfb;fill-opacity:1;stroke:#5a9efc;stroke-width:2.66667;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" />
|
|
<text
|
|
x="693.5849"
|
|
y="137.73586"
|
|
class="box-text"
|
|
id="text9">Summary #2</text>
|
|
</g>
|
|
</g>
|
|
<!-- Brackets -->
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:2.66667;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
|
d="m 8.632075,73.399764 c 0,0 -0.9240254,14.370478 13.435029,14.399029 L 377.68835,88.5059 c 14.22508,0 12.72792,-15.645641 12.72792,-15.645641"
|
|
id="path1"
|
|
sodipodi:nodetypes="cscc" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:3.04285;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
|
d="m 272.10389,94.539623 c 0,0 -1.22567,14.111507 14.28537,14.133957 l 479.49211,0.69408 c 14.62622,0 12.64032,-15.35761 12.64032,-15.35761"
|
|
id="path1-3"
|
|
sodipodi:nodetypes="cscc" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:2.66667;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
|
d="M 254.64623,89.018281 V 123.54658"
|
|
id="path2"
|
|
sodipodi:nodetypes="cc" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:2.66666667;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
|
|
d="m 696.01415,109.91273 v 14.56662"
|
|
id="path2-2"
|
|
sodipodi:nodetypes="cc" />
|
|
</svg>
|