Background
You are a user interested in trying a LLM. And somehow you want to receive a formatted output. For example, you want to ask "How old is Joe Doe and is he available for golf tomorrow?" and you don't want to receive useless chitchat but just two values, his age and if he is available.
Now, models running on a system called Ollama permit that (so no problem about the implementation of this), when you specify the format in JSON they return that, - but you as a user don't need to know about Ollama, Json and those technical things...
Question
As a user, what would be a comfortable way to specifying this output format? (Other than writing the Json object- but that is a bit technical and I would prefer to avoid that if possible).
How would a user using a frontend would prefer to enter these two fields (age and availability) for example. Be aware that for the next query I-as another user- might ask another thing "Give me the recipe for burgers" and then I would specify fields like "ingredient" and "quantity".
I am thinking some way to add and remove elements of a list or something, but dont let me interfere with your answer