Skip to main content

All Questions

1 vote
1 answer
569 views

Document AI "400 No valid schema provided for processing" with Cloud Function

I’ve been experiencing an issue with the Google Cloud Document AI API in my Firebase Cloud Function that handles documents uploaded to Google Cloud Storage. The function triggers correctly upon PDF ...
HaZeust's user avatar
  • 13
1 vote
1 answer
211 views

Using Batch Processing Document AI inside the google cloud function

I have a scenario where I am uploading a local file to a Cloud Storage bucket, triggering a Cloud Function (xyz). Within this Cloud Function, I am performing a batch processing task using Google Cloud ...
Manish gupta's user avatar
0 votes
3 answers
1k views

How can I split a PDF in Google cloud storage?

I have a single PDF that I would like to create different PDFs for each of its pages. How would I be able to so without downloading anything locally? I know that Document AI has a file splitting ...
saladass4254's user avatar
0 votes
1 answer
270 views

Permission denied when invoking Document AI v1beta3 from Cloud Function

I'm trying to call to DocumentAI v1beta3 from Cloud Function with the code snippet as follow: client = documentai.DocumentProcessorServiceClient() input_doc = documentai.types.Document( content=...
imationyj's user avatar
  • 145
0 votes
1 answer
730 views

Is there a way to pass credentials programmatically for using Google documentAI without reading from a disk?

I am trying to run the demo code given in PDF parsing of GCP document AI. To run the code, exporting Google credentials as a command line works fine. The problem comes when the code needs to run in ...
sentinel's user avatar