Microsoft Azure AI Engineer Associate AI-102 Practice Question

You use the gpt-3.5-turbo model through Azure OpenAI to generate promotional product descriptions. The model's output frequently has an inconsistent tone that is off-brand. You need to apply a prompt engineering technique to ensure the output consistently matches your company's specific style and voice. Which change should you make?

  • Reduce the temperature to 0.2 and lower the max_tokens value.

  • Add a system message containing style guide instructions and an example of the desired output.

  • Configure a stop sequence consisting of two newline characters to force longer responses.

  • Increase the presence_penalty to 1.5 to encourage the model to use new words.

Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot