perplexity {tidyllm} | R Documentation |
Perplexity Provider Function
Description
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()
Usage
perplexity(..., .called_from = NULL)
Arguments
... |
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.,
|
Value
The result of the requested action, depending on the specific function invoked
(e.g., an updated LLMMessage
object for chat()
).
[Package tidyllm version 0.3.4 Index]