Choosing the output format from a prompt