CREATE MODEL
Function
Saves the meta information of a large model to LakeFormation. It is invoked by ai_generate in Large Model Inference Functions.
Constraints
It can only be invoked by remote large models.
Syntax
1 2 3 | CREATE MODEL model_name ( remote_model_name = 'remote_model_name',base_url = 'base_url', api_key = 'api_key'[, description = 'description'] ); |
Parameter Description
| Parameter | Description | Value Range |
|---|---|---|
| model_name | Name of the model to be created (it cannot be schema-qualified). It can only be invoked by Aura. | A string, which must comply with the naming convention |
| remote_model_name | Name of the model provided by the model vendor | String |
| base_url | URL provided by the model vendor | A string |
| api_key | Key required for accessing the remote model | A string |
| description | Custom description | The default value is null, and the length cannot exceed 2,048 characters. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot