QuestionQ13

Snowflake Gen AI & LLM Functions

Which parameters in a SNOWFLAKE.CORTEX.COMPLETE function call can be adjusted to control the randomness and diversity of an LLM response?

Choose two
  • A guardrails
  • B max_tokens
  • C response_format
  • D temperature
  • E top_p
Explanation

temperature controls the randomness of generated output, while top_p controls randomness and diversity by restricting the candidate-token probability mass used for sampling.

Learn more

Community Discussion

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