available.models {GenAI} | R Documentation |
Get Supported Generative AI Models
Description
This function sends a request to GenAI database API to retrieve information about available generative AI models.
Usage
available.models()
Details
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.
Value
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.
See Also
GenAI - R Package "GenAI" Documentation
Examples
## 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)
[Package GenAI version 0.2.0 Index]