Models
Create, Train, and Deploy a Model
Description
The models.get()
and models.create()
methods enable you to get an existing model or create and deploy a new model.
Syntax
Use the models.get()
method to get an existing model:
Or, the create()
method to create and train a new model:
Please note that in the case of LLM models, the parameters can be stored in options
. Here is the syntax to create an OpenAI model:
Alternatively, you can skip options
and define parameters as arguments.
And in the case of time-series model, the additional options are stored in timeseries_options
. Here is the syntax to create a time-series model: