@Rohit Jain With the current implementation of the web app, the chat history contains all messages related to the chat and the prompts would have to simply be extracted from there.
Another option would involve modifying the API (here would be good) that sends the prompts to another service for further processing as required.