how to integrate document ai
HI, i am a newbie here.
i am now building a project in flutterflow, and i need a function to send a pdf file (base64 string) to google's Document AI it will extract the data and I want to get back the exact data i need. to be more specific, i need to extract data from quotes like, Client details, Product details, Costs etc...
i tried doing it by myself in buildship but i can't figure it out.
there is a tutorial & template in Rowy so i thought i will do it there and figure it out, but it's not working anymore (the template).
in the comments in the youtube video they say that there is a updated video, but the updated video is using buildship and a google vision template. but, 1: i tried it and it did not work for me. 2: Google vision isn't the the right solution for me, because i need it to be very accurate. Google's Document AI is very accurate and is made for this. i can train there on my own documents.
Please if anyone can help me to solve this. i need this to work urgently.
Thank you very much!
@Buildship
Solution:Jump to solution
@elli - This is still a WIP, but you can give this workflow a try on your end.
21 Replies
Hey @elli, we are looking into this for you.
Thank you so much!!
@Luis are there any updates?
Yep, I’ll share a demo that you can try out shortly
Solution
@elli - This is still a WIP, but you can give this workflow a try on your end.
Here's a short video to setup the requirements in your project: https://jam.dev/c/081b1d15-f9cd-4f17-838e-b13a7fd8668a
Let me know if you have any questions.
Wow, Thanks so much!!
I will check it out.
You guys are amazing!
@Luis How do i use this text file?
So You can copy the contents of the file and in BuildShip you can paste it to create the workflow https://docs.buildship.com/features/copy-paste
Copy & Paste – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Hy @Luis Thanks you so much, I managed to do it, but i am getting the following error:
{
"error": "7 PERMISSION_DENIED: Cloud Document AI API has not been used in project buildship-y9y617 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/documentai.googleapis.com/overview?project=buildship-y9y617 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
But i did enable the permissions like you should in the video.
How can i fix it?
Google Cloud Platform
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.
Oh, and did you grant buildship the permission to access the document ai api. I think i showed that part as well in the recording
i enabled the api and added the service accoiunt. as shown in the video @Luis
that's odd, I'll dm you.
@Luis hi there, i have the same problem, i copied the template above and followed the video, please help.
Hey @Luis ! Your Jam video has been helpful and have done the IAM step, but when copy pasting in the text file contents I only get an error. I have access to the stock node (below)... where confusingly there is no option to input project id or processor id.
I have a feeling that without your help, the document AI node isnt usable by anyone. I'd love to get this going!
thanks
Hey @jak, sorry about that. We've done some internal changes regarding access to the google console which affects how Document AI works/is configured, so for the time being it won't work. @Gaurav Chadha can shed more light on this.
thanks @Luis for the context! @Gaurav Chadha let me know if fixing the Document AI node is on the short term roadmap 👍
Hey @jak, Yes, as mentioned by Luis above currently Due to API and GCP access restrictions, we have temporarily disabled the Document AI API parser, nodes, and extract templates. We plan to bring them back soon, in coming months. Thank you for your patience.
hi
@Luis @Gaurav Chadha Any update on the google document AI with buildship. I'm trying to parse a pdf text such as invoice and return critical data such as price and so on. Any alternate help would be appreciated
HI @Douo#01, We'll be updating this template and will be doing a video on how to connect your own google cloud project using API keys and enable API to connect with BuildShip coming week.
@Gaurav Chadha is there a new video regarding document ai?
For questions related to specific videos or new features, please submit your query via the in-app support button.
Error storing the answer. Please try again.