responseParser {perplexR} | R Documentation |
Parse Perplexity API Response
Description
Takes the raw response from the Perplexity API and extracts the text content from it.
Usage
responseParser(raw)
Arguments
raw |
The raw object returned by the Perplexity API. |
Value
Returns a character vector containing the text content of the response.
[Package perplexR version 0.0.3 Index]