{
  "contract": "algal.source-map.v1",
  "sourceDigest": "sha256:375a7a410adc71acdce2e74038ad6f167b0e2f829894395328c4d6e8c73b57ce",
  "manifestDigest": "sha256:69a990085c0a8a3454d5facac5bc41684b107648d1ac0f07a75468a0dd77c323",
  "compilerVersion": "1.3.0",
  "profile": "algal.source.profile.v1",
  "cells": [
    {
      "cellId": "input",
      "role": "input",
      "span": {
        "start": {
          "offset": 0,
          "line": 1,
          "column": 1
        },
        "end": {
          "offset": 19,
          "line": 1,
          "column": 20
        }
      },
      "annotation": {
        "title": "parameters",
        "operation": "input",
        "summary": "route inputs",
        "details": [
          "email: text"
        ]
      }
    },
    {
      "cellId": "b1-intent-decide",
      "role": "decide",
      "span": {
        "start": {
          "offset": 85,
          "line": 4,
          "column": 16
        },
        "end": {
          "offset": 260,
          "line": 9,
          "column": 6
        }
      },
      "annotation": {
        "title": "intent · decide",
        "operation": "decide",
        "summary": "decide \"What does this email need?\" using email",
        "details": [
          "help: Help with a problem",
          "sales: Information before buying",
          "other: Anything else"
        ]
      }
    },
    {
      "cellId": "b1-intent",
      "role": "decision-check",
      "span": {
        "start": {
          "offset": 85,
          "line": 4,
          "column": 16
        },
        "end": {
          "offset": 260,
          "line": 9,
          "column": 6
        }
      },
      "annotation": {
        "title": "intent",
        "operation": "decision-check",
        "summary": "Validate the declared choice, confidence, and every probability before use.",
        "details": [
          "admitted label: help",
          "admitted label: sales",
          "admitted label: other"
        ]
      }
    },
    {
      "cellId": "branch-1-select",
      "role": "branch-selector",
      "span": {
        "start": {
          "offset": 271,
          "line": 11,
          "column": 10
        },
        "end": {
          "offset": 465,
          "line": 15,
          "column": 4
        }
      },
      "annotation": {
        "title": "return · select",
        "operation": "branch-selector",
        "summary": "match intent.value",
        "details": [
          "help => generate \"Draft a helpful support reply.\" using email",
          "sales => generate \"Draft a concise sales reply.\" using email",
          "other => \"Needs a human review.\""
        ]
      }
    },
    {
      "cellId": "branch-1-arm-1-instruction",
      "role": "effect-input",
      "span": {
        "start": {
          "offset": 313,
          "line": 12,
          "column": 22
        },
        "end": {
          "offset": 345,
          "line": 12,
          "column": 54
        }
      },
      "annotation": {
        "title": "return · help · instruction",
        "operation": "effect-input",
        "summary": "\"Draft a helpful support reply.\"",
        "details": []
      }
    },
    {
      "cellId": "branch-1-arm-1",
      "role": "generate",
      "span": {
        "start": {
          "offset": 304,
          "line": 12,
          "column": 13
        },
        "end": {
          "offset": 357,
          "line": 12,
          "column": 66
        }
      },
      "annotation": {
        "title": "return · help",
        "operation": "generate",
        "summary": "generate \"Draft a helpful support reply.\" using email",
        "details": [
          "instruction: \"Draft a helpful support reply.\"",
          "context: email"
        ]
      }
    },
    {
      "cellId": "branch-1-arm-2-instruction",
      "role": "effect-input",
      "span": {
        "start": {
          "offset": 381,
          "line": 13,
          "column": 23
        },
        "end": {
          "offset": 411,
          "line": 13,
          "column": 53
        }
      },
      "annotation": {
        "title": "return · sales · instruction",
        "operation": "effect-input",
        "summary": "\"Draft a concise sales reply.\"",
        "details": []
      }
    },
    {
      "cellId": "branch-1-arm-2",
      "role": "generate",
      "span": {
        "start": {
          "offset": 372,
          "line": 13,
          "column": 14
        },
        "end": {
          "offset": 423,
          "line": 13,
          "column": 65
        }
      },
      "annotation": {
        "title": "return · sales",
        "operation": "generate",
        "summary": "generate \"Draft a concise sales reply.\" using email",
        "details": [
          "instruction: \"Draft a concise sales reply.\"",
          "context: email"
        ]
      }
    },
    {
      "cellId": "branch-1-arm-3",
      "role": "expression",
      "span": {
        "start": {
          "offset": 438,
          "line": 14,
          "column": 14
        },
        "end": {
          "offset": 461,
          "line": 14,
          "column": 37
        }
      },
      "annotation": {
        "title": "return · other",
        "operation": "literal",
        "summary": "\"Needs a human review.\"",
        "details": []
      }
    },
    {
      "cellId": "result",
      "role": "branch-merge",
      "span": {
        "start": {
          "offset": 271,
          "line": 11,
          "column": 10
        },
        "end": {
          "offset": 465,
          "line": 15,
          "column": 4
        }
      },
      "annotation": {
        "title": "return",
        "operation": "branch-merge",
        "summary": "match intent.value",
        "details": [
          "help => generate \"Draft a helpful support reply.\" using email",
          "sales => generate \"Draft a concise sales reply.\" using email",
          "other => \"Needs a human review.\""
        ]
      }
    }
  ]
}
