<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="eli.ai" agent="eli.ai diagram exporter" version="1">
  <diagram id="document-ingestion-pipeline-feaa5d28" name="Document ingestion pipeline">
    <mxGraphModel dx="1600" dy="1200" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1200" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <object id="1" label="Document ingestion pipeline" schemaVersion="1" diagramId="document-ingestion-pipeline-feaa5d28" canonicalAppearanceKey="tsx:src/app/(docs)/docs/guides/ingest-documents/page.tsx:ingestChart#1" sourceSha256="feaa5d28a6cd761773fe12fd5d7fa73de1736a2f46b71d550876226a17dd0f5f" metadataPayloadSha256="9937cc11041577936fb52acff2618d5261d968fd66a5e44c37ae32d2e96ae212" generationKey="8cdbf50fbae0cbed304c32b678b42c0f0735b47b37807c723370e3927a00ce44" concepts="[&quot;Ingest documents&quot;,&quot;Guides&quot;,&quot;Ingest&quot;]" keywords="[&quot;POST /documents&quot;,&quot;markdown body&quot;,&quot;committed save&quot;,&quot;stored metadata&quot;,&quot;embedding warm-up&quot;,&quot;entity graph grows&quot;,&quot;vault · metadata · chunks · FTS&quot;,&quot;entity + relation extraction&quot;]" application="{&quot;name&quot;:&quot;eli-ai&quot;,&quot;version&quot;:&quot;0.1.0&quot;}" packages="{&quot;mermaid&quot;:&quot;11.16.0&quot;,&quot;mermaidCli&quot;:&quot;11.16.0&quot;,&quot;playwright&quot;:&quot;1.62.1&quot;,&quot;playwrightCore&quot;:&quot;1.62.1&quot;,&quot;puppeteer&quot;:&quot;25.6.0&quot;,&quot;puppeteerCore&quot;:&quot;25.6.0&quot;}" environment="{&quot;architecture&quot;:&quot;x64&quot;,&quot;containerImage&quot;:&quot;playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109&quot;,&quot;node&quot;:&quot;v26.3.1&quot;,&quot;platform&quot;:&quot;linux&quot;,&quot;yarn&quot;:&quot;4.17.1&quot;}" renderer="{&quot;browser&quot;:{&quot;executableSha256&quot;:&quot;0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71&quot;,&quot;name&quot;:&quot;chromium&quot;,&quot;revision&quot;:&quot;1234&quot;,&quot;version&quot;:&quot;151.0.7922.34&quot;},&quot;font&quot;:{&quot;family&quot;:&quot;Eli Diagram Inter Variable&quot;,&quot;fileSha256&quot;:&quot;3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62&quot;,&quot;licenseSha256&quot;:&quot;3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345&quot;},&quot;mermaidConfigSha256&quot;:&quot;68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101&quot;,&quot;themeCssSha256&quot;:&quot;c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033&quot;}" adapterVersions="{&quot;diagramGenerator&quot;:&quot;2&quot;,&quot;drawioFlowchart&quot;:&quot;1&quot;,&quot;drawioGantt&quot;:&quot;1&quot;,&quot;drawioSequence&quot;:&quot;1&quot;,&quot;drawioState&quot;:&quot;1&quot;}" mermaidType="flowchart" direction="LR" generatedAt="2026-08-12T23:38:01.146Z" mermaidSource="flowchart LR&#10;  Post[&quot;POST /documents&lt;br/&gt;markdown body&quot;] --&gt; Sync[&quot;committed save&lt;br/&gt;vault · metadata · chunks · FTS&quot;]&#10;  Sync --&gt; Ready[&quot;201 · stored metadata&quot;]&#10;  Sync -.detached.-&gt; Embed[&quot;embedding warm-up&quot;]&#10;  Sync -.queued.-&gt; Extract[&quot;entity + relation extraction&quot;]&#10;  Extract --&gt; Graph[&quot;entity graph grows&quot;]">
          <mxCell parent="0"/>
        </object>
        <object id="n:Post" label="POST /documentsmarkdown body" mermaidId="Post" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="8" y="98" width="193.546875" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Sync" label="committed savevault · metadata · chunks · FTS" mermaidId="Sync" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="251.546875" y="86" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Ready" label="201 · stored metadata" mermaidId="Ready" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="646.195313" y="8" width="219.1875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Embed" label="embedding warm-up" mermaidId="Embed" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="648.445313" y="110" width="214.6875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Extract" label="entity + relation extraction" mermaidId="Extract" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="628.703125" y="212" width="254.171875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Graph" label="entity graph grows" mermaidId="Graph" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="932.875" y="212" width="197.921875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="e:L_Post_Sync_0" label="" mermaidId="L_Post_Sync_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Post" target="n:Sync" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="201.546875" y="136" as="sourcePoint"/>
              <mxPoint x="251.546875" y="136" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="226.546875" y="136"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Sync_Ready_0" label="" mermaidId="L_Sync_Ready_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Sync" target="n:Ready" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="471.987132" y="86" as="sourcePoint"/>
              <mxPoint x="646.195313" y="34" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="568.125" y="34"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Sync_Embed_0" label="detached" mermaidId="L_Sync_Embed_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Sync" target="n:Embed" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="507.546875" y="136" as="sourcePoint"/>
              <mxPoint x="648.445313" y="136" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="568.125" y="136"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Sync_Extract_0" label="queued" mermaidId="L_Sync_Extract_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Sync" target="n:Extract" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="471.987132" y="186" as="sourcePoint"/>
              <mxPoint x="628.703125" y="238" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="568.125" y="238"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Extract_Graph_0" label="" mermaidId="L_Extract_Graph_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Extract" target="n:Graph" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="882.875" y="238" as="sourcePoint"/>
              <mxPoint x="932.875" y="238" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="907.875" y="238"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
