D3: Chain-of-Thought & ReAct Prompting
Google Cloud Generative Leader exam practice questions · 11 flashcards
Question
What is chain-of-thought (CoT) prompting?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Chain-of-Thought & ReAct Prompting practice questions and answers
- What is chain-of-thought (CoT) prompting?Asking the model to reason step by step before answering.
- When use chain-of-thought?Math, logic, multi-step reasoning and complex analysis.
- Benefit of chain-of-thought?Improves accuracy and makes reasoning visible.
- What is ReAct prompting?Reason + Act: the model alternates reasoning with actions (tool calls) and observations.
- When use ReAct?Tasks requiring external information or tools, like agents answering with live data.
- ReAct cycle?Thought → Action → Observation → repeat until answer.
- CoT vs ReAct?CoT reasons internally; ReAct also acts with tools.
- Which technique underpins many AI agents?ReAct.
- Downside of CoT?Longer outputs, more tokens and latency.
- Solve a multi-step pricing calculation: technique?Chain-of-thought.
- Check live flight status then answer: technique?ReAct.