1. Instantiate Client
1. Instantiate Client
Follow the instructions in the Quickstart Guide to setup the SGP Client
2. Define model template
2. Define model template
Before creating a model, you must first create a model template. A model
template serves 2 purposes. First, it provides common scaffolding that is static
across multiple models. Second, it exposes several variables that can be
injected at model creation time to customize the model.
3. Create a model instance
3. Create a model instance
Use the created model template to create a model instance
4. Create a model deployment
4. Create a model deployment
Deploy the created instance
5. Execute the model deployment
5. Execute the model deployment
Execute the model deployment. In this case, we are executing a completion model with a list of prompts.