Queries to the Google Cloud Services (GCS) Document AI API about the status of a previously submitted asynchronous job and emits a sound notification when the job is complete.
dai_notify(response, loc = "eu", token = dai_token(), sound = 2)
a HTTP response object generated by
dai_async()
A two-letter region code; "eu" or "us"
An authentication token generated by dai_auth()
or
another auth function
A number from 1 to 10 for the Beepr sound selection (https://www.r-project.org/nosvn/pandoc/beepr.html).
no return value, called for side effects
if (FALSE) { # \dontrun{
response <- dai_async(myfiles)
dai_notify(response)
} # }