J.
10 / 100

Multilingual queue

Hola, necesito ayuda con mi factura.

Which language queue fits this message?

Spanish78%
English15%
Language review7%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "message": "Hola, necesito ayuda con mi factura.",
  "account_locale": "en-US"
};

const decision = await evaluateDecision({
  state,
  question: "Which language queue fits this message?",
  options: ["Spanish","English","Language review"],
});

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

Let the application spanish.