QuestionQ43

VerifiedSnowflake Gen AI & LLM Functions

This command is run:

Question Image

This error is returned:

Question Image

What causes this error?

Explanation

SNOWFLAKE.CORTEX.COMPLETE has the signature (model, prompt_or_history [, options]). When an options object is provided, prompt_or_history must be an array of conversation-message objects containing role and content; a single object is not valid for that argument. Snowflake COMPLETE documentation

Learn more

Community Discussion

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