Discover expert insights from an Infosys Certified Applied Generative AI Professional on the key tactics to make prompting more effective, including delimiters, structured output, tone specification, and temperature settings. Boost your generative AI prompting skills with these proven techniques.
Table of Contents
Question
Which of the following tactics can be chosen to make the prompting more effective?
A. Use delimiters
B. Ask for structured output
C. Specify the intended tone of the text
D. Set model’s temperature parameter
Answer
A. Use delimiters
B. Ask for structured output
C. Specify the intended tone of the text
D. Set model’s temperature parameter
Explanation
According to the correct answer provided, all of the listed tactics – using delimiters, asking for structured output, specifying intended tone, and setting the model’s temperature parameter – can be effective ways to improve prompting for generative AI models. Let’s look at each one in more detail:
A. Use delimiters: Delimiters are special characters or sequences used to clearly indicate distinct parts of the prompt, like the instruction, input, and output. For example, using “<<” and “>>” to enclose instructions. This helps the model better understand the prompt structure and what is being asked of it.
B. Ask for structured output: Requesting output in a specific structured format, like JSON, XML, HTML etc., gives the model clear guidance on how to format its response. This is especially useful when you need the generated text to fit a particular schema or be easily parsable.
C. Specify the intended tone of the text: Providing guidance on the desired tone (e.g. formal, casual, humorous) helps steer the model to generate text matching that style. Being clear about tone ensures the output aligns with your intended use case and audience.
D. Set model’s temperature parameter: Temperature is a setting (usually between 0 and 1) that controls the “creativity” of the generated text. Lower temperature makes output more focused and deterministic, while higher values make it more diverse and random. Adjusting temperature lets you dial in the right balance of creativity vs. coherence for your application.
The key is that these tactics provide additional clarity and guidance to the model through the prompt. Being specific about what you want – both in terms of the output content and format – enables the model to generate more relevant and useful results. Effective prompting is essential for getting the most out of generative AI capabilities.
Infosys Certified Applied Generative AI Professional certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Infosys Certified Applied Generative AI Professional exam and earn Infosys Certified Applied Generative AI Professional certification.