Small decisions. Interesting possibilities.Submit contentSubmit

How it uses Jev

Before the chat model answers a new user turn, middleware sends the latest conversation context to Jev with one Choice question about presentation. Jev selects text, a table, a chart, a diagram, a map, a calculator, or another listed presentation. The router maps text and tables to their designated renderers, maps other choices to Open Generative UI, and restricts the available rendering tools accordingly. The chat model still supplies the answer and UI content.

What Jev decides

Conversation presentation routing (illustrative request)Example answers · not a recorded Jev response · Source ↗
Question 1 · visualization
YOUR APP
INSTRUCTION

Select the best presentation for the latest request, respecting requested formats and choosing text when a visual adds no value or required data is missing.

STATE

The latest four nonempty human and assistant messages, with each message text limited to 6000 characters. Jev is asked to select a presentation for the latest user request in that context.

JEV · CHOICE
  1. text
  2. table
  3. bar_chart
  4. line_chart
  5. scatter_plot
  6. distribution
  7. part_to_whole
  8. flowchart
  9. static_diagram
  10. interactive_diagram
  11. animated_route
  12. map
  13. calculator

App workflow

  1. Collect turn context

    Find the latest human turn and build a bounded context from the last four nonempty human and assistant messages.

  2. Choose presentation

    Send that context with the single visualization Choice question to Jev.

  3. Constrain rendering

    Map the selected format to a renderer and remove rendering tools that do not match it.

  4. Generate the answer

    Pass the presentation decision and format-specific instructions to the chat model, which supplies the answer and UI content.

Why it is interesting

The project separates presentation selection from answer generation. Jev makes a bounded choice from criteria that describe when each format helps, while middleware constrains the rendering tools and supplies format-specific instructions to the chat model.