A user with privilege can import a model that meets the database-side model specifications into the database by executing the import subcommand of the pgx_aimodel_tool command. The user who imports the model becomes the owner of that model.
The imported model name and metadata can be checked by executing pgx_get_model_metadata function.
For the model name of the model to be imported with this function, use the following characters. Including characters other than the following may result in failure to load or call the API.
Alphanumeric (A-Z, a-z, 0-9)
Underscore (_)
Hyphen (-)
Dot (.)
However, the following usages are not allowed.
Dots cannot be used at the beginning or end. It may be mistaken for a hidden/special name.
Consecutive dots (..) cannot be used as they may cause path interpretation issues.
The same model name cannot be used within an instance.
See
For details on the pgx_aimodel_tool command, refer to "pgx_aimodel_tool" in the Reference.