Few-shot chain-of-thought prompting supplies example problems with reasoning steps, then asks a language model to solve a new problem step by step. It improves reasoning over a few-shot baseline, but requires carefully prepared example prompts. section 5.3.2
Use the technique to:
- Elicit an explicit sequence of reasoning statements before the final answer. section 5.3.2
- Guide analysis of large semantic-search result sets that would otherwise overwhelm users. section 5.3.2
- Separate reasoning extraction from answer extraction, which requests only the missing numerical result. section 5.3.2
Hotel recommendation analysis
Provide hotel search results and ask which hotel best matches the query, compare the top three using review quotes, identify recurring themes, summarize strengths and weaknesses, and make an overall recommendation. A resulting analysis selects Grand Hotel du Palais Royal for its Louvre location, nearby food options, cleanliness, and service.


