text_from_dai_response | R Documentation |
text_from_dai_response()
is deprecated; please use get_text()
instead.
text_from_dai_response(
response,
save_to_file = FALSE,
dest_dir = getwd(),
filename = "output"
)
response |
an HTTP response object returned by |
save_to_file |
boolean; whether to save the text as a .txt file |
dest_dir |
folder path for the .txt output file if |
filename |
string to form the stem of the .txt output file |
a string (if save_to_file = FALSE
)
## Not run:
text <- text_from_dai_response(response)
text_from_dai_response(response, save_to_file = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.