Extracts the text OCRed by Document AI (DAI) in a synchronous processing request.

text_from_dai_response(response)

Arguments

response

an HTTP response object returned by dai_sync()

Value

a string

Examples

if (FALSE) { text <- text_from_dai_response(response) }