QuestionQ53

VerifiedSnowflake Gen AI & LLM Functions

A Gen AI Specialist needs to determine whether feedback from a recent survey was generally positive, negative, or neutral. The Specialist wants the assessment reported as either a floating-point number from –1 to +1 (inclusive) or an object with a categories field.

Which statements will produce the desired results?

Choose two
Explanation

SNOWFLAKE.CORTEX.SENTIMENT returns an overall sentiment score as a floating-point number from -1 to 1, where values near 1 are positive, values near -1 are negative, and values near 0 can be treated as neutral. SNOWFLAKE.CORTEX.ENTITY_SENTIMENT returns an OBJECT containing a categories field with category sentiment results.

Learn more

Community Discussion

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