QuestionQ33

Snowflake Gen AI & LLM Functions

A Gen AI Specialist is developing an automated content generator in Snowflake that produces customized product descriptions. The descriptions will be based on columns in a products table, including brand, category, and features.

Which Snowflake Cortex LLM function should be used to generate the descriptions?

  • A PARSE_DOCUMENT
  • B EMBED_TEXT_768
  • C SUMMARIZE
  • D COMPLETE
Explanation

SNOWFLAKE.CORTEX.COMPLETE generates an LLM text completion from a prompt, so it can use product attributes such as brand, category, and features to create customized descriptions. EMBED_TEXT_768 produces embeddings, SUMMARIZE condenses supplied text, and PARSE_DOCUMENT extracts document content. Snowflake now identifies AI_COMPLETE as the newer canonical interface, but COMPLETE is the matching function among the listed choices.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!