AI Chat with a PDF? How would you implement it in FlutterFlow?

Widgets & Design

Hi, I have seen many apps allowing to chat with a PDF you upload, also made with low-code. How would you implement it in FlutterFlow? I have the PDFViewer and a chatbot which I passed the summary of the extracted text that the user uploads. The summary is made with that text as input and OpenAI API. I was just thinking to put the chatbot floating next to the PDF viewer, but that is not that cool as those chat with the PDF APPs... Is there a better way to do it ?

What have you tried so far?

I just extracted the PDF text, but passing it to openAI is expensive when it is a lot of text from a document. I have also the PDFviewer widget, but cannot even copy text from it.

Did you check FlutterFlow's Documentation for this topic?
No
3
6 replies