Quick start

Build questions as values. Enums are Choice and Score domains.

val questions = (
  department = Choice[Team](
    "Which team should handle this?",
    Team.Billing   -> "Payment or subscription issues",
    Team.Technical -> "Bugs or integration problems",
    Team.Sales     -> "Pricing or account questions",
  ),
  urgency = Noul("The message conveys urgency"),
)

SystemOne.evaluate(ticket, questions)

TestTransport scripts HTTP for tests. Transport.live is heddle.

{
  val q = Noul("Is this urgent?")
  Ask[Question[Boolean]].encode(q).keySet
}
Set(value)