The groq() function acts as an interface for interacting with the Groq API
through tidyllm's main verbs. Currently, Groq only supports groq_chat()
for chat-based interactions and groq_transcribe() for transcription tasks.
groq(..., .called_from = NULL)The result of the requested action, depending on the specific function invoked
(currently, only an updated LLMMessage object for groq_chat()).
Parameters to be passed to the Groq-specific function, such as model configuration, input text, or API-specific options.
An internal argument that specifies which action (e.g.,
chat) the function is being invoked from.
This argument is automatically managed and should not be modified by the user.
Since groq_transcribe() is unique to Groq and does not have a general verb counterpart,
groq() currently routes messages only to groq_chat() when used with verbs like chat().