Learn R Programming

chatAI4R (version 1.3.1)

ionet_models: ionet_models: Retrieve the available model list from io.net API

Description

Convenience wrapper around list_ionet_models() to get the current model list. By default it uses cached data; set force_refresh = TRUE to refetch.

Usage

ionet_models(api_key = NULL, verbose = TRUE, force_refresh = FALSE)

Value

A character vector of model names, or a data frame if detailed=TRUE in the underlying call.

Arguments

api_key

Optional API key for fetching current models. Defaults to IONET_API_KEY environment variable.

verbose

Logical indicating whether to show detailed fetching information. Default is TRUE.

force_refresh

Logical indicating whether to force refresh the model list from API. Default is FALSE.

Details

List io.net Models (simple alias)