I then processed the query response, formatted it in a format compatible with that of the database, and made the desired modifications. If the modification is not possible, I send feedback to the user via the chatbot to explain the problem, for example, if a piece of information is missing.