I am new to Rasa. I am looking to create a bot that will be used to collect documents from the end-user. Is there a way to create rasa bots that are able to collect documents from the user.
Hi @p11abhijeetc,
welcome to the Rasa community! Where should your bot upload the document? How would you imagine the flow to go? Would you like to drag and drop things in the UI and then it should automatically upload things?
I have a similar requirement to what exactly you have posted. The user needs to upload a document, which then file goes into external site for a validation. The validation results needs to be sent to user. Please help me in resolving this issue.
For uploading: you could send the user a link where to upload the file For notifications for the validation result: I’d look into External Events
I need help in same thing , I have a bot for leave application , so if the sick leave exceeds 2 days i need the pdf or doc from user , for that the bot should utter a button or link which opens a browser to select the file from user dextop .
I am using rasa web-chat for doc
Thank you
@Aashay1 How about generating the PDF as a custom action, uploading it to some storage and sending the link to the user?
I want the users document to be uploaded and save in the folder or database in the form actione .
So, when the sick leave exceeds more then 2 days the employee is suppose to submit the document that i want to achive in the bot , I am a fresher in this , so can you please share some link or an example of how to do this will be very helpfull .
Thank you Aashay Bane
@Aashay1 Unfortunately I don’t have an example at hand
I want the users document to be uploaded and save in the folder or database in the form actione .
I would argue that the PDF shouldn’t be saved within your custom action server but in an external storage resource (such as S3 bucket). Hence, I think it should be enough if the custom action server provides the details for the upload (simplest option would be an upload link).
I am trying the same but no luck yet !
I have created a flask app which uploads the document , No in my form action Once the bot uttrs the link for uploading the document I want the bot to stop predicting and once the document is uploaded the conservation should resume , Can you guide me through this !!
Can you sketch the rough workflow? At which point does your flask app come in?