perplexity | R Documentation |
The perplexity()
function acts as a provider interface for interacting with the Perplexity API
through tidyllm
's chat()
verb.
It dynamically routes requests to Perplxeity-specific function. At the moment this is only
perplexity_chat()
perplexity(..., .called_from = NULL)
... |
Parameters to be passed to the appropriate Perplexity-specific function, such as model configuration, input text, or API-specific options. |
.called_from |
An internal argument specifying which action (e.g.,
|
The result of the requested action, depending on the specific function invoked
(e.g., an updated LLMMessage
object for chat()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.