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.