AIF-C01 · Question #248
A company wants to use a large language model (LLM) to generate product descriptions. The company wants to give the model example descriptions that follow a format. Which prompt engineering…
The correct answer is D. Few-shot prompting. Few-shot prompting provides the model with several example product descriptions that follow your desired format, enabling it to learn the pattern and generate new descriptions in the same style without further training.
Question
A company wants to use a large language model (LLM) to generate product descriptions. The company wants to give the model example descriptions that follow a format. Which prompt engineering technique will generate descriptions that match the format?
Options
- AZero-shot prompting
- BChain-of-thought prompting
- COne-shot prompting
- DFew-shot prompting
How the community answered
(34 responses)- A6% (2)
- B3% (1)
- C9% (3)
- D82% (28)
Explanation
Few-shot prompting provides the model with several example product descriptions that follow your desired format, enabling it to learn the pattern and generate new descriptions in the same style without further training.
Topics
Community Discussion
No community discussion yet for this question.