responseParser {perplexR} | R Documentation |
Takes the raw response from the Perplexity API and extracts the text content from it.
responseParser(raw)
raw |
The raw object returned by the Perplexity API. |
Returns a character vector containing the text content of the response.