canvas:
  background: '#F4F0E9'
  padding: 28
theme:
  text:
    family: Source Sans Pro
    size: 18
    weight: '600'
    color: '#422D29'
nodes:
  scene:
    shape: composite
    parts:
    - id: docs
      label: Documents
      shape: rectangle
      icon: iso://glyph/table/422D29
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#FFFDF6'
          left: '#CEC5B6'
          right: '#E6DDCE'
        stroke:
          color: '#BAAE9D'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#422D29'
          orient: screen
          boxBg: '#FFFDF6'
          boxBorder: '#BAAE9D'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: -380.0
        wy: -65.0
        wz: 8
    - id: etl
      label: Chunker
      shape: rectangle
      icon: iso://glyph/etl/422D29
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#FFFDF6'
          left: '#CEC5B6'
          right: '#E6DDCE'
        stroke:
          color: '#BAAE9D'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#422D29'
          orient: screen
          boxBg: '#FFFDF6'
          boxBorder: '#BAAE9D'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: -80.0
        wy: -65.0
        wz: 8
    - id: embed
      label: Embeddings
      shape: rectangle
      icon: iso://glyph/vector/47241B
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#F0916F'
          left: '#B34F37'
          right: '#D86B4D'
        stroke:
          color: '#C66045'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#47241B'
          orient: screen
          boxBg: '#F0916F'
          boxBorder: '#C66045'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: 220.0
        wy: -65.0
        wz: 8
    - id: app
      label: App
      shape: rectangle
      icon: iso://glyph/browser/422D29
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#FFFDF6'
          left: '#CEC5B6'
          right: '#E6DDCE'
        stroke:
          color: '#BAAE9D'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#422D29'
          orient: screen
          boxBg: '#FFFDF6'
          boxBorder: '#BAAE9D'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: -380.0
        wy: 355.0
        wz: 8
    - id: retriever
      label: Retriever
      shape: rectangle
      icon: iso://glyph/search/47241B
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#F0916F'
          left: '#B34F37'
          right: '#D86B4D'
        stroke:
          color: '#C66045'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#47241B'
          orient: screen
          boxBg: '#F0916F'
          boxBorder: '#C66045'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: -80.0
        wy: 355.0
        wz: 8
    - id: llm
      label: LLM
      shape: rectangle
      icon: iso://si/openai/23483D
      geom:
        w: 160
        d: 130
        h: 25
      style:
        palette:
          top: '#C6DED8'
          left: '#6F9C91'
          right: '#98BDB1'
        stroke:
          color: '#8EB1A6'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#23483D'
          orient: screen
          boxBg: '#C6DED8'
          boxBorder: '#8EB1A6'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          faceSplit: true
      offset:
        wx: 220.0
        wy: 355.0
        wz: 8
    - id: vector
      label: Vector DB
      shape: cylinder
      icon: iso://glyph/database/23483D
      geom:
        w: 180
        d: 160
        h: 65
      style:
        palette:
          top: '#C6DED8'
          left: '#6F9C91'
          right: '#98BDB1'
        stroke:
          color: '#8EB1A6'
          width: 1.3
        text:
          family: Source Sans Pro
          size: 32
          weight: '600'
          color: '#23483D'
          orient: screen
          boxBg: '#C6DED8'
          boxBorder: '#8EB1A6'
        effects:
          cornerRadius: 9
          dropShadow:
            dx: 0
            dy: 5
            blur: 8
            color: '#00000026'
          backglow:
            color: '#C6DED8'
            radius: 55
            opacity: 0.22
      offset:
        wx: 510.0
        wy: 100.0
        wz: 8
    connectors:
    - from: docs.port-right
      to: etl.port-left
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
    - from: etl.port-right
      to: embed.port-left
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
    - from: embed.port-right
      to: vector.port-back
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
      elbow: xFirst
    - from: app.port-right
      to: retriever.port-left
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
    - from: retriever.port-back
      to: vector.port-front
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
      waypoints:
      - wx: -12.5
        wy: 280
      - wx: 567.5
        wy: 280
    - from: retriever.port-right
      to: llm.port-left
      routing: orthogonal
      arrow: triangle
      stroke:
        color: '#A15F48'
        width: 3.2
