View source: R/multiLLMviaionet.R
| list_ionet_models | R Documentation |
This function returns a list of all available LLM models that can be used with the multiLLMviaionet function. Models are categorized by family/provider. This function will attempt to fetch the current model list from the io.net API.
list_ionet_models(
category = "all",
detailed = FALSE,
api_key = NULL,
force_refresh = FALSE,
verbose = FALSE
)
category |
Optional character string to filter models by category. Options: "llama", "deepseek", "qwen", "phi", "mistral", "specialized", "all". Default is "all". |
detailed |
Logical indicating whether to show detailed model information. Default is FALSE. |
api_key |
Optional API key for fetching current models. Defaults to IONET_API_KEY environment variable. |
force_refresh |
Logical indicating whether to force refresh the model list from API. Default is FALSE. |
verbose |
Logical indicating whether to show detailed fetching information. Default is FALSE. |
List Available io.net Models
A character vector of model names, or a data frame if detailed=TRUE
Satoshi Kume
## Not run:
# List all available models (from API if available)
all_models <- list_ionet_models()
# Force refresh from API
fresh_models <- list_ionet_models(force_refresh = TRUE)
# List only Llama models
llama_models <- list_ionet_models("llama")
# Show detailed information
model_info <- list_ionet_models(detailed = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.