Guide: List Available Models¶
We offer the following models for public access:
reka-core-20240501
reka-core-20240415
reka-flash-20240226
reka-edge-20240208
The shorthand aliases refer to the following model versions respectively:
model name |
aliased model versions |
---|---|
reka-edge |
reka-edge-20240208 |
reka-flash |
reka-flash-20240226 |
reka-core |
reka-core-20240501 |
“model_name” parameter in API requests can be either a model name or a model version. If model name like “reka-flash” is specified, the latest version is used.
To list all models available to you, you can use reka.list_models()
.
NOTE: The default is currently our flash model
Call the library¶
You can see all models available (that you can then use as a value to model_name
argument) like that
import reka
reka.API_KEY = "your-api-key"
response = reka.list_models()
Giving a response like:
[
"default",
"reka-flash",
"reka-edge"
],