View source: R/available.models.R
available.models | R Documentation |
This function sends a request to GenAI database API to retrieve information about available generative AI models.
available.models()
The function utilizes the GenAI database API to fetch the latest information about available Generative AI models. The retrieved data includes details about different models offered by various service providers.
If successful, the function returns a list containing generative AI service providers and their corresponding models. If the function encounters an error, it will halt execution and provide an error message.
GenAI - R Package "GenAI" Documentation
## Not run:
# Assuming there is a GenAI object named 'genai.model' supporting this
# function, please refer to the "Live Demo in Colab" above for real
# examples. The following examples are just some basic guidelines.
all.models = available.models() %>% print()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.