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

View source: R/multiLLMviaionet.R

list_ionet_modelsR Documentation

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
)

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.

Details

List Available io.net Models

Value

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

Author(s)

Satoshi Kume

Examples

## 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)

chatAI4R documentation built on Jan. 10, 2026, 5:07 p.m.