J.

Jev Upgrade intent Code Example

Distinguish a buying signal from a general product question.

Can we get SSO for our 200-person team?

Message Can we get SSO for our 200-person team?
Current Plan Free

What follow-up is appropriate?

0% Sales conversation.
Sales conversation 78%
Help article 15%
No follow-up 7%

Let the application sales conversation.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "message": "Can we get SSO for our 200-person team?",
  "current_plan": "Free"
};

const decision = await evaluateDecision({
  state,
  question: "What follow-up is appropriate?",
  options: ["Sales conversation","Help article","No follow-up"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Sales conversation"
    && decision.probability >= 0.85) {
  suggestUpgradeFollowup(decision);
} else {
  queueForReview(decision);
}

This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.