I highly recommend that you always first understand how the call the endpoints using a REST tool. In doing do it forces you to learn and understand the the request body structure. Once you fully understand this, you can move on to writing code that makes use of the endpoint.
Take what you have learned from the prior lessons and now modify the solution so the user can ask questions about weather or documents.