github.com/pachyderm/pachyderm@v1.13.4/examples/spouts/EmailSentimentAnalyzer/sentimentalist.json (about)

     1  {
     2      "pipeline": {
     3          "name": "sentimentalist"
     4      },
     5      "description": "A pipeline that sorts the incoming mail by positive and negative sentiment.",
     6      "input": {
     7          "pfs": {
     8              "glob": "/*",
     9              "repo": "imap_spout"
    10          }
    11      },
    12      "transform": {
    13          "cmd": [ "python3", "/sentimentalist.py" ],
    14          "image": "pachyderm/sentimentalist:1.11",
    15          "env": {
    16              "INPUT_REPO": "/pfs/imap_spout",
    17              "NEGATIVES_DIRECTORY": "/pfs/out/negatives",
    18              "POSITIVES_DIRECTORY": "/pfs/out/positives",
    19              "SENTIMENT_HEADER": "X-Sentiment-Rating"
    20          }
    21      }
    22  }