Learn R Programming

chatAI4R (version 1.3.1)

list_ionet_models: list_ionet_models: Display available LLM models on io.net API

Description

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.

Usage

list_ionet_models(
  category = "all",
  detailed = FALSE,
  api_key = NULL,
  force_refresh = FALSE,
  verbose = FALSE
)

Value

A character vector of model names, or a data frame if detailed=TRUE

Arguments

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.

Author

Satoshi Kume

Details

List Available io.net Models

Examples

Run this code
if (FALSE) {
  # 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)
}

Run the code above in your browser using DataLab