Updated on 2023-10-23 GMT+08:00

AI Feature Functions

  • db4ai_predict_by_bool (text, VARIADIC "any")

    Description: Obtains a model whose return value is of the Boolean type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: Boolean

  • db4ai_predict_by_float4(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the float4 type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: float

  • db4ai_predict_by_float8(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the float8 type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: float

  • db4ai_predict_by_int32(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the int32 type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: int

  • db4ai_predict_by_int64(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the int64 type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: int

  • db4ai_predict_by_numeric(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the numeric type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: numeric

  • db4ai_predict_by_text(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the character type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: text

  • db4ai_predict_by_float8_array(text, VARIADIC "any")

    Description: Obtains a model whose return value is of the character type for model inference. This function is an internal function. You are advised to use the PREDICT BY syntax for inference.

    Parameter: model name and input column name of the inference task

    Return type: text

  • gs_explain_model(text)

    Description: Obtains the model whose return value is of the character type for text-based model parsing.

    Parameter: model name

    Return type: text