groq_list_models | R Documentation |
List Available Models from the Groq API
groq_list_models(
.api_url = "https://api.groq.com",
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE,
.verbose = FALSE
)
.api_url |
Base URL for the API (default: "https://api.groq.com"). |
.timeout |
Request timeout in seconds (default: 60). |
.max_tries |
Maximum number of retries for the API request (default: 3). |
.dry_run |
Logical; if TRUE, returns the prepared request object without executing it. |
.verbose |
Logical; if TRUE, prints additional information about the request. |
A tibble containing model information (columns include id
, created
, owned_by
, and context_window
),
or NULL if no models are found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.