{
  "kind": "drawbly-video",
  "version": 1,
  "title": "RAG pipeline",
  "canvas": [
    1200,
    720
  ],
  "duration": 21,
  "framing": "original",
  "events": [
    {
      "at": 0,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Give the answer some context.",
        "x": 64,
        "y": 48,
        "fontSize": 52,
        "fontFamily": "sans"
      }
    },
    {
      "at": 0,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#667064",
        "text": "RAG pipeline · two separate paths",
        "x": 66,
        "y": 119,
        "fontSize": 27,
        "fontFamily": "sans"
      }
    },
    {
      "at": 1,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#16845d",
        "text": "PREPARE",
        "x": 64,
        "y": 190,
        "fontSize": 24,
        "fontFamily": "sans"
      }
    },
    {
      "at": 1,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Documents",
        "x": 65,
        "y": 243,
        "fontSize": 40,
        "fontFamily": "sans"
      }
    },
    {
      "at": 1,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#667064",
        "text": "your source material",
        "x": 65,
        "y": 298,
        "fontSize": 25,
        "fontFamily": "sans"
      }
    },
    {
      "at": 3,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#16845d",
        "text": "Chunk + index",
        "x": 420,
        "y": 205,
        "fontSize": 26,
        "fontFamily": "sans"
      }
    },
    {
      "at": 3,
      "duration": 1,
      "object": {
        "type": "arrow",
        "color": "#16845d",
        "width": 5,
        "points": [
          [
            316,
            270
          ],
          [
            473,
            256
          ],
          [
            635,
            270
          ]
        ],
        "smooth": false
      }
    },
    {
      "at": 4,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Search index",
        "x": 740,
        "y": 243,
        "fontSize": 40,
        "fontFamily": "sans"
      }
    },
    {
      "at": 4,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#667064",
        "text": "ready to retrieve",
        "x": 740,
        "y": 298,
        "fontSize": 25,
        "fontFamily": "sans"
      }
    },
    {
      "at": 7,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#306ad2",
        "text": "ANSWER",
        "x": 64,
        "y": 367,
        "fontSize": 24,
        "fontFamily": "sans"
      }
    },
    {
      "at": 7,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Question",
        "x": 65,
        "y": 444,
        "fontSize": 36,
        "fontFamily": "sans"
      }
    },
    {
      "at": 8,
      "duration": 1,
      "object": {
        "type": "arrow",
        "color": "#306ad2",
        "width": 5,
        "points": [
          [
            245,
            463
          ],
          [
            310,
            450
          ],
          [
            370,
            463
          ]
        ],
        "smooth": false
      }
    },
    {
      "at": 9,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Retrieve",
        "x": 395,
        "y": 444,
        "fontSize": 36,
        "fontFamily": "sans"
      }
    },
    {
      "at": 10,
      "duration": 1,
      "object": {
        "type": "arrow",
        "color": "#306ad2",
        "width": 5,
        "points": [
          [
            565,
            462
          ],
          [
            620,
            450
          ],
          [
            686,
            462
          ]
        ],
        "smooth": false
      }
    },
    {
      "at": 11,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Model",
        "x": 720,
        "y": 444,
        "fontSize": 36,
        "fontFamily": "sans"
      }
    },
    {
      "at": 12,
      "duration": 1,
      "object": {
        "type": "arrow",
        "color": "#306ad2",
        "width": 5,
        "points": [
          [
            858,
            462
          ],
          [
            910,
            450
          ],
          [
            958,
            462
          ]
        ],
        "smooth": false
      }
    },
    {
      "at": 13,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Answer",
        "x": 982,
        "y": 444,
        "fontSize": 36,
        "fontFamily": "sans"
      }
    },
    {
      "at": 8,
      "duration": 1,
      "object": {
        "type": "arrow",
        "color": "#16845d",
        "width": 5,
        "points": [
          [
            795,
            333
          ],
          [
            650,
            367
          ],
          [
            495,
            418
          ]
        ],
        "smooth": false
      }
    },
    {
      "at": 8,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#16845d",
        "text": "relevant context",
        "x": 400,
        "y": 336,
        "fontSize": 24,
        "fontFamily": "sans"
      }
    },
    {
      "at": 15,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#292d32",
        "text": "Question + retrieved context → model",
        "x": 65,
        "y": 548,
        "fontSize": 32,
        "fontFamily": "sans"
      }
    },
    {
      "at": 15,
      "duration": 0,
      "object": {
        "type": "text",
        "color": "#667064",
        "text": "Review the answer; retrieval is not a correctness guarantee.",
        "x": 65,
        "y": 601,
        "fontSize": 25,
        "fontFamily": "sans"
      }
    }
  ],
  "captions": [
    {
      "at": 0,
      "end": 7,
      "text": "Prepare source material so it can be searched."
    },
    {
      "at": 7,
      "end": 14,
      "text": "A question retrieves relevant context from the index."
    },
    {
      "at": 14,
      "end": 21,
      "text": "The model uses the question and context to generate an answer."
    }
  ]
}
