R/inspect_output.R
text_from_dai_response.Rd
This function extracts the text element of a json response object returned from dai::dai_sync()
text_from_dai_response(object)
object | a json response object from DAI |
---|
a string.
if (FALSE) { text <- text_from_dai_response(response) }