{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.",
  "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
  "choices": [
    "Help",
    "Question",
    "Feedback",
    "Other",
    "Review"
  ],
  "actions": {
    "Help": {
      "action": "preview_jev_chat_reading_intent",
      "payload": {
        "decision": "Help"
      },
      "pending": true
    },
    "Question": {
      "action": "preview_jev_chat_reading_intent",
      "payload": {
        "decision": "Question"
      },
      "pending": true
    },
    "Feedback": {
      "action": "preview_jev_chat_reading_intent",
      "payload": {
        "decision": "Feedback"
      },
      "pending": true
    },
    "Other": {
      "action": "preview_jev_chat_reading_intent",
      "payload": {
        "decision": "Other"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_chat_reading_intent",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "A direct viewer question",
      "expected": "Question",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"Which editor are you using?\",\n    \"thread\": \"The host is showing a coding setup.\"\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Answering a shortcut question",
      "expected": "Help",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"Press Ctrl+Shift+P to open the command palette.\",\n    \"thread\": \"The host just asked how to open the command palette.\"\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Readability suggestion",
      "expected": "Feedback",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"Please make the code font a little bigger; the last row is hard to read.\",\n    \"thread\": \"The host is displaying code.\"\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "A greeting",
      "expected": "Other",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"Hello from the rainy coast!\",\n    \"thread\": \"General chat.\"\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Two equal purposes",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"What editor is this? Also, please increase the font size.\",\n    \"thread\": \"The two clauses are equally central.\"\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Unresolved reply",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Classify the communicative role of a stream-chat message for a reading filter, using the supplied thread context.\",\n  \"evidence\": {\n    \"message\": \"That one.\",\n    \"thread\": null\n  }\n}",
        "question": "Choose the message reading intent. Help means it supplies a practical answer to a current question. Question means it asks for information and is not just a rhetorical suggestion. Feedback means it suggests or evaluates a change to the stream. Other means none of those. Review takes precedence for missing context or two equally central intents. Classify the message purpose, not toxicity, safety or whether it should be removed.",
        "choices": [
          "Help",
          "Question",
          "Feedback",
          "Other",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
