Free Google Generative-AI-Leader Actual Exam Questions - Question 5 Discussion
about their account balances. They need to ensure that the chatbot can access previous portions of
the conversation with the customer. Which prompting technique should they use?
C/D? Few-shot prompting (C) could help by showing examples that guide responses, but prompt chaining (D) is better for keeping the actual conversation history accessible across turns.
Makes sense to rule out A and B since they don’t deal with context memory. Few-shot (C) gives examples but doesn’t maintain ongoing conversation context like D does. Definitely D here.
Couldn’t it be option C too? Few-shot prompting includes examples in the prompt, which might help the model understand how to handle follow-up questions about account balances. While it doesn’t inherently store past conversation, it could simulate context by showing previous Q&A pairs. This might be simpler than setting up prompt chaining if the platform has limitations. How do you think the difference in technical setup influences the choice here?
I think D makes the most sense here. Prompt chaining can help the chatbot remember previous parts of the conversation by linking prompts together, so it can provide more accurate answers about account balances. The other options don’t really handle context continuity as well.