Help Center/ AI DataLake/ Aura reference/ Functions and Operators/ Large Model Inference Functions
Updated on 2026-11-06 GMT+08:00

Large Model Inference Functions

ai_generate(model_name, prompt[, model_hyper_parameter])

Description: Calls the remote model created in CREATE MODEL for inference.

Syntax:

1
ai_generate(model_name, prompt[, model_hyper_parameter])

Input parameters:

  • model_name: name of the created model
  • prompt: prompt sent to the remote model. The value can be CONCAT(prompt_prefix, column_name), a string containing only text, or column_name.
  • model_hyper_parameter: hyperparameter for remote model inference, for example, '{"temperature": 0.3}'

Return value: remote model inference result

Precautions: none