<mxfile host="drawio" agent="study-site"><diagram id="d" name="seq-research-4"><mxGraphModel dx="1400" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1220" pageHeight="957" math="0" shadow="0"><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="title" value="技術調査 フェーズ4(代替): Web に出られないとき、Knowledge Bases に取り込んで社内で引く" style="text;html=1;fontSize=16;align=left;verticalAlign=middle;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="16" y="8" width="1188" height="30" as="geometry" /></mxCell><mxCell id="alib" value="文書係&lt;br&gt;(管理者)" style="shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.user;sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#1E88E5;strokeColor=#ffffff;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;aspect=fixed;" vertex="1" parent="1"><mxGeometry x="111" y="64" width="48" height="48" as="geometry" /></mxCell><mxCell id="as3" value="S3&lt;br&gt;(文書置き場)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;fillColor=#7AA116;" vertex="1" parent="1"><mxGeometry x="297" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="akb" value="Bedrock Knowledge Bases&lt;br&gt;(bedrock-agent / agent-runtime)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;fillColor=#01A88D;" vertex="1" parent="1"><mxGeometry x="487" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="ap" value="調べる人" style="shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.user;sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#1E88E5;strokeColor=#ffffff;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;aspect=fixed;" vertex="1" parent="1"><mxGeometry x="681" y="64" width="48" height="48" as="geometry" /></mxCell><mxCell id="acc" value="Claude Code&lt;br&gt;+ KB 検索の MCP サーバー" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFF2CC;strokeColor=#D6B656;fontSize=11;" vertex="1" parent="1"><mxGeometry x="815" y="64" width="160" height="50" as="geometry" /></mxCell><mxCell id="abr" value="Bedrock&lt;br&gt;(jp. 推論プロファイル)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;fillColor=#01A88D;" vertex="1" parent="1"><mxGeometry x="1057" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="m1" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="196" as="sourcePoint" /><mxPoint x="325" y="196" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t1" value="PutObject(公式文書のオフライン版: PDF / llms.txt、社内の設計書・議事録。取り込み日をメタデータに)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="177" width="558.4" height="15" as="geometry" /></mxCell><mxCell id="n1" value="1" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="185" width="22" height="22" as="geometry" /></mxCell><mxCell id="m2" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="242" as="sourcePoint" /><mxPoint x="515" y="242" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t2" value="StartIngestionJob(データソース = その S3)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="223" width="249.0" height="15" as="geometry" /></mxCell><mxCell id="n2" value="2" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="231" width="22" height="22" as="geometry" /></mxCell><mxCell id="m3" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="288" as="sourcePoint" /><mxPoint x="325" y="288" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t3" value="文書の読み取り" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="341" y="269" width="83" height="15" as="geometry" /></mxCell><mxCell id="n3" value="3" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="314" y="277" width="22" height="22" as="geometry" /></mxCell><mxCell id="m4" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="326" as="sourcePoint" /><mxPoint x="515" y="342" as="targetPoint" /><Array as="points"><mxPoint x="565" y="326" /><mxPoint x="565" y="342" /></Array></mxGeometry></mxCell><mxCell id="t4" value="分割 → 埋め込みモデルでベクトル化 → ベクトルストアへ保存" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=middle;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="575" y="324" width="318.2" height="20" as="geometry" /></mxCell><mxCell id="n4" value="4" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="323" width="22" height="22" as="geometry" /></mxCell><mxCell id="m5" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="380" as="sourcePoint" /><mxPoint x="515" y="380" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t5" value="GetIngestionJob" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="361" width="99.0" height="15" as="geometry" /></mxCell><mxCell id="n5" value="5" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="369" width="22" height="22" as="geometry" /></mxCell><mxCell id="m6" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="426" as="sourcePoint" /><mxPoint x="135" y="426" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t6" value="状態(取り込んだ件数・失敗した文書)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="151" y="407" width="194.4" height="15" as="geometry" /></mxCell><mxCell id="n6" value="6" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="415" width="22" height="22" as="geometry" /></mxCell><mxCell id="m7" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="472" as="sourcePoint" /><mxPoint x="895" y="472" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t7" value="問い" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="721" y="453" width="28" height="15" as="geometry" /></mxCell><mxCell id="n7" value="7" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="694" y="461" width="22" height="22" as="geometry" /></mxCell><mxCell id="m8" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="895" y="533" as="sourcePoint" /><mxPoint x="1085" y="533" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t8" value="推論(問い。WebFetch は閉じているので KB のツールが候補)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="911" y="499" width="285" height="30" as="geometry" /></mxCell><mxCell id="n8" value="8" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="884" y="522" width="22" height="22" as="geometry" /></mxCell><mxCell id="m9" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1085" y="594" as="sourcePoint" /><mxPoint x="895" y="594" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t9" value="「KB を検索せよ」(MCP ツール QueryKnowledgeBases)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="911" y="560" width="285" height="30" as="geometry" /></mxCell><mxCell id="n9" value="9" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="884" y="583" width="22" height="22" as="geometry" /></mxCell><mxCell id="m10" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="895" y="640" as="sourcePoint" /><mxPoint x="515" y="640" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t10" value="Retrieve(bedrock-agent-runtime。問い・knowledgeBaseId・件数)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="531" y="621" width="368.2" height="15" as="geometry" /></mxCell><mxCell id="n10" value="10" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="629" width="22" height="22" as="geometry" /></mxCell><mxCell id="m11" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="686" as="sourcePoint" /><mxPoint x="895" y="686" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t11" value="一致した断片 + 出典(S3 の URI・スコア)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="531" y="667" width="223.4" height="15" as="geometry" /></mxCell><mxCell id="n11" value="11" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="675" width="22" height="22" as="geometry" /></mxCell><mxCell id="m12" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="895" y="732" as="sourcePoint" /><mxPoint x="1085" y="732" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t12" value="推論(断片を添えて)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="911" y="713" width="106.4" height="15" as="geometry" /></mxCell><mxCell id="n12" value="12" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="884" y="721" width="22" height="22" as="geometry" /></mxCell><mxCell id="m13" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1085" y="793" as="sourcePoint" /><mxPoint x="895" y="793" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t13" value="答え + 引用(出典の URI)、または「取り込んだ文書に記載なし」" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="911" y="759" width="285" height="30" as="geometry" /></mxCell><mxCell id="n13" value="13" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="884" y="782" width="22" height="22" as="geometry" /></mxCell><mxCell id="m14" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="895" y="839" as="sourcePoint" /><mxPoint x="705" y="839" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t14" value="答え(出典 = 取り込んだ文書と取り込み日)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="721" y="820" width="224.0" height="15" as="geometry" /></mxCell><mxCell id="n14" value="14" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="694" y="828" width="22" height="22" as="geometry" /></mxCell><mxCell id="note" value="答えられる範囲は 1 で取り込んだ文書まで。鮮度は取り込み日まで。10 の経路は AWS Labs の bedrock-kb-retrieval MCP サーバー(KB に mcp-multirag-kb=true のタグが要る)か aws CLI の bedrock-agent-runtime retrieve。Knowledge Bases は bedrock-agent / agent-runtime 側の機能で Mantle 入口では使えない(構成案)。" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=top;fontColor=#555555;" vertex="1" parent="1"><mxGeometry x="30" y="891" width="1160" height="42" as="geometry" /></mxCell><mxCell id="llib" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="150" as="sourcePoint" /><mxPoint x="135" y="875" as="targetPoint" /></mxGeometry></mxCell><mxCell id="ls3" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="325" y="150" as="sourcePoint" /><mxPoint x="325" y="875" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lkb" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="150" as="sourcePoint" /><mxPoint x="515" y="875" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lp" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="150" as="sourcePoint" /><mxPoint x="705" y="875" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lcc" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="895" y="150" as="sourcePoint" /><mxPoint x="895" y="875" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lbr" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1085" y="150" as="sourcePoint" /><mxPoint x="1085" y="875" as="targetPoint" /></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>