QuestionQ20

Fundamentals of gen AI

A development team is configuring a generative AI model for a customer-facing application and wants to make sure the generated content is appropriate and harmless. What is the main function of the safety settings parameter in a generative AI model?

  • A To filter out potentially harmful or inappropriate content from the model’s output based on the desired level of filtering.
  • B To limit the maximum text length that the model generates by ensuring concise responses.
  • C To determine the number of tokens the model can process at once by influencing the complexity and length of inputs and outputs.
  • D To control the creativity and randomness of the model’s output by adjusting the diversity of word choices.
Explanation

Safety settings configure content-filtering thresholds for harm categories, allowing potentially harmful or inappropriate model responses to be blocked according to the selected filtering level.

Learn more

Community Discussion

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