Amazon

AIF-C01 practice question 5

AWS Certified AI Practitioner (AIF-C01) · free question 5 of 20

Question

A company is using a pre-trained large language model (LLM) to build a chatbot for product recommendations. The company needs the LLM outputs to be short and written in a specific language. Which solution will align the LLM response quality with the company's expectations?
  • A. Adjust the prompt. Correct
  • B. Choose an LLM of a different size.
  • C. Increase the temperature.
  • D. Increase the Top K value.

Explanation

Adjusting the prompt (Option A) is the correct solution as it allows for specifying the desired length and language of the responses directly within the instructions given to the LLM, aligning its outputs with the company's expectations according to AWS best practices.

Need the theory? Learn it free in the AIF-C01 course on Godlike Academy

Practice the whole free set

Answer all 20 free AIF-C01 questions with instant feedback, or unlock all 436 questions with Learn and Exam modes.