Calypso Calypso
Calypso WhatsApp
Answer Library / whatsapp-operations

What is JEV from TypeSafe, and does it affect WhatsApp routing?

JEV is not a TypeSafe standard. Here is what the term usually hides, and how message formats decide who receives a WhatsApp customer message.

Calypso Research

Calypso Research

12 min read··5 sources

Short answer

Jev is TypeSafe AI's decision model, and it can help messaging software decide what should happen next in a conversation. For WhatsApp conversation routing, that means evaluating a customer's message and relevant context, then returning structured decisions your application can use to select a team, prioritize a request, or trigger a human handoff. A customer writes, 'I paid yesterday, but my order still hasn't shipped.' Before anyone drafts a reply, the system needs to decide who owns the problem. That is where Jev fits: between understanding a message and choosing the next step.

What is Jev, and how does it relate to WhatsApp?

Jev evaluates information against questions you define and returns answers that software can act on. TypeSafe AI describes it as a System One model, designed for fast, structured judgments. In a messaging application, those judgments might identify the customer's intent, assess urgency, or determine whether a conversation needs human attention.

Jev can be integrated into a business's WhatsApp workflow through the surrounding application. The messaging integration receives the message, Jev evaluates the supplied context, and application logic applies the routing decision. The same architecture can serve email, SMS, website chat, and other messaging channels.

Jev and JSON have different roles. JSON is a format for representing data. Jev is a model that evaluates it. An application might send conversation context to Jev as JSON, but the format itself neither understands customer intent nor assigns the conversation.

Why conversation routing needs more than a keyword

Customers describe situations in their own words. 'Can I change this?' could mean rescheduling an appointment, exchanging a product, or correcting an invoice. The useful routing signal often comes from the conversation around the message: what was discussed, what remains unresolved, and which team already owns the work.

A practical design uses fixed rules for facts the application already knows, such as account ownership and team availability, and a model for judgments about language. Jev can evaluate whether a message expresses a delivery problem or a billing concern. Your software then combines that judgment with operational rules to choose a destination.

The goal is to spare customers the work of navigating your organization. They should be able to describe the problem and reach someone equipped to solve it.

How Jev can route a WhatsApp conversation

Consider an illustrative message: 'My order hasn't arrived, and I think you've charged me twice.' It contains two issues. Forcing it into a single category could leave half the request unresolved. A better workflow evaluates delivery and billing separately, then assigns one accountable owner while preserving both issues.

  • Receive the message: your WhatsApp integration passes the incoming content to your application.
  • Prepare the context: include the relevant conversation history, current owner, and verified order or account information needed for the decision.
  • Ask focused questions: identify the main intent, check for additional issues, and assess whether human review is needed.
  • Apply routing rules: use the returned answers and uncertainty signals alongside team availability, permissions, and existing ownership.
  • Make the handoff useful: attach the customer's message and relevant context so the receiving person does not have to start again.
  • Update the workflow: record the assignment or move the conversation to the appropriate queue or board stage.

What decisions can Jev make about a message?

Keep intent, urgency, and ownership distinct. A billing question can be routine or urgent; an urgent message can still belong with its existing owner. Those dimensions should inform one another without becoming interchangeable.

  • Choice selects from defined options. Use it to classify the primary request as sales, delivery, billing, appointment management, or another category you define.
  • Score evaluates content against an ordered rubric. Use it to assess urgency with clearly described levels and examples.
  • Noul returns a probability for a yes-or-no question. Use it to evaluate whether the customer is asking for a person or raising an additional issue.
  • Separate questions preserve overlapping needs. A conversation can involve a delivery problem and a refund request without losing either signal.

When should WhatsApp automation hand off to a human?

A routing system needs a defined response to uncertainty. Jev's Choice and Score results include probability distributions and a confidence measure derived from those distributions. Your application can use these signals to decide when to route automatically, request clarification, or send a conversation for review.

Set thresholds using representative conversations and the consequences of a mistake. Assigning a general inquiry to a queue and authorizing a refund require different controls. Confidence is a decision signal, not proof that a classification is correct or permission to execute an action.

For an illustrative WhatsApp workflow, a clear delivery inquiry could enter the order-support queue. An ambiguous 'cancel it' could trigger a clarification step. A request to speak with a person could follow an explicit handoff rule. If evaluation fails or times out, the conversation should remain visible in a staffed fallback queue.

How Jev fits alongside chatbots, AI agents, and shared inboxes

Conversation routing and response generation are separate jobs. Jev can help select the next handler. A database lookup can retrieve an order status, a generative model can draft an explanation, and a human can resolve an exception. Your application coordinates those steps.

This creates a practical division of work: classify the request, choose an appropriate handler, and keep the conversation's ownership visible. A shared inbox or conversation board gives the team a place to act on those decisions.

For board-based messaging workflows, distinguish the topic from the stage. 'Billing' describes what a conversation concerns. 'Waiting for customer' describes what needs to happen next. Evaluate those questions separately, and let workflow rules control when a conversation moves.

Can Jev handle WhatsApp voice notes, images, and multiple languages?

TypeSafe's current documentation describes Jev as accepting text input, including strings and structured JSON. Voice notes require transcription before Jev can evaluate their content. Images and documents need a separate processing step that supplies relevant text or descriptions.

Treat that preprocessing as part of routing quality. An incomplete transcript or misread receipt can change the apparent intent. Preserve access to the original message so a person can review it when the extracted content is unclear.

TypeSafe also identifies English as Jev's strongest language and reports lower accuracy in other languages. Evaluate the languages, abbreviations, and mixed-language messages your customers actually use before relying on automated routing.

How to evaluate Jev for messaging automation

Keep calculations, date comparisons, and permission checks in application code. TypeSafe documents limitations involving numerical precision, irrelevant context, and adversarial input. Use Jev for focused language judgments, and test the complete workflow against the mistakes that matter to your operation.

  • Routing accuracy: did the conversation reach a suitable owner?
  • Missed issues: did the system preserve secondary requests within the same message?
  • Handoff quality: did people receive enough context to continue the conversation?
  • Uncertainty handling: did unclear cases reach clarification or review?
  • Operational impact: did reassignment rates and time to the right team improve?
  • Failure handling: did timeouts and unavailable handlers leave every conversation visible and recoverable?

From message classification to a clear next step

The useful outcome of Jev conversation routing is a message with an owner, a next action, and a path forward when the system is uncertain. A category becomes valuable when it changes how the conversation is handled.

WhatsApp makes the opportunity easy to see: sales questions, appointment changes, and support requests can arrive through the same business number. Jev can help the surrounding software distinguish those needs and guide the handoff. Across messaging channels, the design principle stays the same: use context to interpret the request, rules to control the action, and visible ownership to carry it through.

Sources

Links used to ground claims in this answer.

  • 1

    TypeSafe AI: Jev and structured decision models

    docs.typesafe.aidocs.typesafe.ai/introduction
  • 2

    TypeSafe AI: Intent routing for customer service

    docs.typesafe.aidocs.typesafe.ai/patterns/intent-routing
  • 3

    TypeSafe AI: Confidence and routing thresholds

    docs.typesafe.aidocs.typesafe.ai/confidence
  • 4

    TypeSafe AI: Preparing conversation context and supported inputs

    docs.typesafe.aidocs.typesafe.ai/concepts/state
  • 5

    TypeSafe AI: Documented Jev 1.13 limitations

    docs.typesafe.aidocs.typesafe.ai/model-jaggedness/jev-1.13

Put it into practice

From a useful answer to useful work.

Calypso WhatsApp

Organize customer conversations. Give every question a clear next step.

Calypso Context

Build answers from your own knowledge, with citations readers can follow.