LESSON 01 / 08 4 MIN

Give Jev the context

Separate the facts from the judgment you want to make.

Jev turns context into typed decisions. Every request has two parts: state holds the facts, and questions describes the judgments you want Jev to make.

State can be text, an object, or an array. Send the relevant information directly: Jev cannot look up a ticket or a policy from an ID alone. All questions in one request see the same state.

Here, the refund question is already written. Give it a customer message to evaluate. We’ll use the same support workflow throughout this course.

Your challenge

  1. Replace the empty state with a non-empty customer message about a duplicate payment.
  2. Keep the refund question and the openjev model.

request.json

Loading your draft…

Local checks · No API call

Your next decision starts here.

Edit the JSON, then check your work.
Hints are available whenever you need them.

All lessonsLearn it. Try it. Make it work.Next lesson →