An education provider wants a generative AI model to vary the style and complexity of explanations based on the asker's age range. The application will supply the user's age range. Which approach achieves this with the least development effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Include a role description in the prompt context that tells the model which age range to target for the response..
Why this is the answer
Including a role description in the prompt context is the most efficient approach. This method leverages the generative AI model's existing capabilities to adapt its output based on explicit instructions within the prompt, requiring minimal development effort. The prompt can specify the target age range (e.g., "Explain this to a 5-year-old" or "Explain this to a high school student"), guiding the model to adjust its style and complexity accordingly. Fine-tuning the model would be a time-consuming and resource-intensive process, requiring significant amounts of labeled data for each age range. Chain-of-thought reasoning helps with complex problem-solving but doesn't inherently guide stylistic changes based on an external parameter like age without explicit prompting. Post-processing and summarizing would require developing additional logic and potentially another AI model or complex rules, adding significant development overhead.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed