Back to Discover

🏣 pizza_order_parser

Parse pizza orders to JSON, provided under the Apache 2.0 license

Prompt

Parse a customer's pizza order into valid JSON: EXAMPLE: I want a small pizza with cheese, tomato sauce, and pepperoni. JSON Response: ``` { "size": "small", "type": "normal", "ingredients": [ ["cheese", "tomato sauce", "peperoni"] ] } ``` EXAMPLE: Can I get a large pizza with tomato sauce, basil and mozzarella JSON Response: ```json { "size": "large", "type": "normal", "ingredients": [ ["tomato sauce", "bazel", "mozzarella"] ] } ``` Now, I would like a large pizza, with the first half cheese and mozzarella. And the other tomato sauce, ham and pineapple. JSON Response: