Examples / Simple
A meeting trip
One session, two travel options, and one changed fact. Start with a choice, check a yes/no question, then revise the plan using the same options.
Configure a provider, then open
nouli open travel. Type plain text in the form. These
screens replay the saved Jev 1.14 answers from the home-page travel
recording; your live answers and probabilities may differ.
For the shell version, choose a fresh session prefix:
example=meeting
Add context, press Tab for the question, use Shift-Tab to choose the answer type, then enter options and send. Use Form, Answer and Decisions below to inspect the captured screens.
01Choose the cheaper trip
Put the travel facts in Context. Press Tab, write the question, and use Shift-Tab for Choose one. Enter the two options on separate rows. Enter adds another option; press Enter again to send.
nouli 0.5.1 · travel
▄ ▄
╲ ▄ ╱
▄▀████▀▄
▄████████▀▀▀▀ Let's make a decision.
████▀████████
▄█▄▄███ > < ███████▄ Add context below, then ask a question.
███▀██▀█ ▿ ███████▀ /help for a hand · /sessions to pick up
▀▀███▀▀█████████▀▀▀▀██▀
▀▀▀▀▀▀▄▀▀███▀▀▄ ▀▀███
████▀█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀ ██▀██████
▀▀▀▀▀▀▀▀▀
▀▀█████▀▀
▀▀▀
travel › The train costs 40 USD and arrives 30 minutes before the meeting. A
taxi costs 70 USD and also arrives in time. Prefer the cheaper option that
arrives on time.
travel › How should I travel to the meeting?
turn 1 · 1 fact · 1 question
▶ Take the train ████████████████████ 1.00
Take a taxi 0.00
── Context · latest question included ──────────────────────────────────────────
↳ How should I travel to the meeting?
› Add context or drop a file
── Question ─────────────────────────────────────────────────────── [Choose one]
How should I travel to the meeting?
Options · using previous 2
jev-1.14.0 · typesafe Shift-Tab question typenouli --format text new "$example-travel" \
'The train costs 40 USD and arrives 30 minutes before the meeting. A taxi costs 70 USD and also arrives in time. Prefer the cheaper option that arrives on time.' \
-q 'transport: How should I travel to the meeting? [Take the train, Take a taxi]'
Output
turn 1 · 1 fact · 1 question
transport ▶ Take the train ████████████████████ 1.00
Take a taxi 0.00
typesafe/jev-1.14.0 · session 01a18fdc-8d7d-70fa-9388-290a9067c6be · turn 01a18fdc-8d81-77bc-8f5d-178ec51987fb
02Add the cancellation
Add the cancellation in Context, then Tab to a fresh question. Use Shift-Tab to return to Yes / No. The earlier answer stays in context; this question asks whether the train still gets you there.
nouli 0.5.1 · travel
▄ ▄
╲ ▄ ╱
▄▀████▀▄
▄████████▀▀▀▀ Let's make a decision.
████▀████████
▄█▄▄███ > < ███████▄ Add context below, then ask a question.
███▀██▀█ ▿ ███████▀ /help for a hand · /sessions to pick up
▀▀███▀▀█████████▀▀▀▀██▀
▀▀▀▀▀▀▄▀▀███▀▀▄ ▀▀███
████▀█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀ ██▀██████
▀▀▀▀▀▀▀▀▀
▀▀█████▀▀
▀▀▀
travel › The train costs 40 USD and arrives 30 minutes before the meeting. A
taxi costs 70 USD and also arrives in time. Prefer the cheaper option that
arrives on time.
travel › How should I travel to the meeting?
turn 1 · 1 fact · 1 question
▶ Take the train ████████████████████ 1.00
Take a taxi 0.00
travel › The train has been cancelled. The taxi is still available at 70 USD.
travel › Will the train get me to the meeting on time?
turn 2 · 1 fact · 1 question
yes █▊ 0.09
── Context · latest question included ──────────────────────────────────────────
↳ Will the train get me to the meeting on time?
› Add context or drop a file
── Question ───────────────────────────────────────────────────────── [Yes / No]
Tab to add a question
jev-1.14.0 · typesafe Shift-Tab question typenouli --format text add "$example-travel" \
'The train has been cancelled. The taxi is still available at 70 USD.' \
-q 'on_time: Will the train get me to the meeting on time?'
Output
turn 2 · 1 fact · 1 question
on_time yes █▊ 0.09
typesafe/jev-1.14.0 · session 01a18fdc-8d7d-70fa-9388-290a9067c6be · turn 01a18fdc-8d8e-705f-a85f-e224d1f0d69b
03Reconsider with the same options
Switch back to Choose one and write the follow-up. Enter Take the train and Take a taxi as the two options again after changing back from Yes / No. The recorded answer moves to the taxi.
nouli 0.5.1 · travel
████▀████████
▄█▄▄███ > < ███████▄ Add context below, then ask a question.
███▀██▀█ ▿ ███████▀ /help for a hand · /sessions to pick up
▀▀███▀▀█████████▀▀▀▀██▀
▀▀▀▀▀▀▄▀▀███▀▀▄ ▀▀███
████▀█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀ ██▀██████
▀▀▀▀▀▀▀▀▀
▀▀█████▀▀
▀▀▀
travel › The train costs 40 USD and arrives 30 minutes before the meeting. A
taxi costs 70 USD and also arrives in time. Prefer the cheaper option that
arrives on time.
travel › How should I travel to the meeting?
turn 1 · 1 fact · 1 question
▶ Take the train ████████████████████ 1.00
Take a taxi 0.00
travel › The train has been cancelled. The taxi is still available at 70 USD.
travel › Will the train get me to the meeting on time?
turn 2 · 1 fact · 1 question
yes █▊ 0.09
travel › How should I travel to the meeting now?
turn 3 · 0 facts · 1 question
Take the train 0.00
▶ Take a taxi ████████████████████ 1.00
── Context · latest question included ──────────────────────────────────────────
↳ How should I travel to the meeting now?
› Add context or drop a file
── Question ─────────────────────────────────────────────────────── [Choose one]
How should I travel to the meeting now?
Options · using previous 2
jev-1.14.0 · typesafe Shift-Tab question typenouli --format text ask "$example-travel" \
-q 'rebook: How should I travel to the meeting now? [Take the train, Take a taxi]'
Output
turn 3 · 0 facts · 1 question
rebook Take the train 0.00
▶ Take a taxi ████████████████████ 1.00
typesafe/jev-1.14.0 · session 01a18fdc-8d7d-70fa-9388-290a9067c6be · turn 01a18fdc-8d9b-7449-80e2-b242cbdd3859
Go further
For a complex workflow, follow the
food-recall response across several sessions,
or the robot-picking episode through
repeated sensor updates. Use @ to find local files or
exact saved answers when preparing your own next decision.