View source: R/parse_response.R
parse_response | R Documentation |
Takes the raw response from the OpenAI API and extracts the text content from it.
parse_response(raw_responses)
raw_responses |
The raw response object returned by the OpenAI API. |
Returns a character vector containing the text content of the response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.