// What is Jev, and why use it? // Teaching excerpts; see the explanation and boundaries on the episode page. // One message. Who should help? const team = choice("Who can help?", { payments: "Money problems", tech: "App problems", other: "Neither team fits", }); const result = await client .systemOne({ state: "I paid twice.", questions: { team }, }); // Pick a limit. Ask for help below it. const { choice, probabilities } = result.answers.team; const limit = 0.9; const nextStep = choice === "other" || probabilities[choice] < limit ? "ask a person" : choice;