Examples
Jev Examples
Each page solves one decision problem with a real request schema, Python, TypeScript, JavaScript, cURL, and labeled example output. Recipes, later, will stitch several decisions into a full workflow.
Route Customer Support TicketsRouting · MixedAssign a ticket to billing, technical, account, or other, and score urgency in the same Jev call.Detect Customer IntentClassification · ChoiceClassify a customer message as refund, rebooking, information, or other with a Choice.Score Inbound LeadsScoring · ScoreRate inbound leads on a situational rubric, then threshold the Score in your CRM code.Score Customer SentimentScoring · ScoreRate message tone on an ordered rubric instead of asking Jev for a happy/sad adjective.Moderate User ContentModeration · MixedScreen a message with Noul hazard checks and a Score for severity, then apply your own pass / review / block rules.Filter RAG PassagesRAG · MixedScore each retrieved passage, then keep, flag, or drop it before a generative model sees it.Route Requests to the Right AI ModelRouting · ChoiceDecide whether a request stays on a cheap path, goes to a writer LLM, or needs a slower reasoner.Classify DocumentsClassification · ChoiceLabel an uploaded file as invoice, contract, resume, policy, or other from a text excerpt.Detect EscalationsSupport · NoulAsk a Noul whether a thread needs a human or a manager now, then threshold P(yes) in code.Select an Agent ToolAgents · MixedPick at most one tool from a closed catalog, and ask a Noul whether any tool should run.