Extracts the text OCRed by Document AI (DAI) in an asynchronous processing request.

text_from_dai_file(file)

Arguments

file

filepath of a JSON file obtained using dai_async()

Value

a string

Examples

if (FALSE) { text <- text_from_dai_file("output.json") }