1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Amazon Bedrock

Connected

Exercise

Parameters for product descriptions

RoboChef Labs is preparing product-page text for its new ChefBot Pro Cooking Robot. Using the provided generate_description() function, you experiment with different combinations of temperature, top_p, and max_tokens to try different solutions.

The boto3 and json libraries, and generate_description() function, have been pre-imported.

Instructions

100 XP
  • Set parameters for three configurations, using different values of the parameters for a conservative, balanced, and creative output.