Categories:

String & binary functions (Large Language Model)

AI_COMPLETE¶

Note

AI_COMPLETE is the updated version of COMPLETE (SNOWFLAKE.CORTEX). For the latest functionality, use AI_COMPLETE.

Generates a response (completion) using a supported language model. You can provide:

Syntax¶

The syntax for the function depends on the type of input that you provide. For information about the syntax, see the following sections:

Access control requirements¶

Users must use a role that has been granted the SNOWFLAKE.CORTEX_USER database role. See Required privileges for more information on this privilege.

Limitations¶

Snowflake Cortex functions do not support dynamic tables.