Upload Documents from Chatbot

Hello everyone, I am completely new to this RASA Open source. I wanted to create a form in chatbot which can accept some text inputs and with the text input, I want the user to upload the document in the chatbot also. Is there a way to do it?

Yes @pranavppatil. You wanted to created a front end interface and in the form you needed to create a payload which will trigger the frontend functionality to upload the document. I have created bot through which user can upload images but the process is same.



1 Like

Thanks for the reply. Can I get a sample snippet of how you trigger frontend functionality from form

It agains depends on the tech stack you are using… I have used JS for this and the code I can’t share in the public domains due to NDA. But the idea is to check for payload type and add document selection widget automatically.