The next step is to ask the user for their response and package this all back up for the API. Nice and simple, we just need to append the dictionary containing the content back to the messages array before the end of the loop.
By
–

The next step is to ask the user for their response and package this all back up for the API. Nice and simple, we just need to append the dictionary containing the content back to the messages array before the end of the loop.