A Python walkthrough that turns email spam detection, support routing, and urgency grading into Noul, Choice, and Score requests, then combines several questions over one state.
Original by ZazenCodesGetting startedYouTubeSource reviewed
Before you dive in
What you’ll find in the original
Read a Noul answer as a numeric probability that Python can threshold directly.
Define Choice criteria as the only permitted labels and inspect the returned probability distribution, not only the winner.
Use Score for an ordered rubric and group multiple independent questions over the same state in one request.
Worth knowing
The examples demonstrate API mechanics on hand-written inputs; they are not an accuracy or production benchmark.