Loading...
ReAct
Combines reasoning with acting through external tool use
๐ฏ 30-Second Overview
Pattern: Interleaved Reasoning and Acting through iterative Thought โ Action โ Observation cycles
Why: Enables dynamic problem-solving with real-time information and tool integration
Key Insight: Think before acting โ Execute tools โ Observe results โ Reason about next step
โก Quick Implementation
๐ Do's & Don'ts
๐ฆ When to Use
Use When
- โข Tasks requiring external data/tools
- โข Multi-step research & investigation
- โข Dynamic problem-solving workflows
- โข Real-time information needs
- โข When environment interaction is key
Avoid When
- โข Simple knowledge-based questions
- โข Tasks solvable with pure reasoning
- โข High-latency sensitive applications
- โข When tools are unreliable/unavailable
- โข Static content generation
๐ Key Metrics
๐ก Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Academic Papers
ReAct: Synergizing Reasoning and Acting in Language Models (Yao et al., 2022)
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022)
Toolformer: Language Models Can Teach Themselves to Use Tools (Schick et al., 2023)
WebGPT: Browser-assisted question-answering with human feedback (Nakano et al., 2021)
Contribute to this collection
Know a great resource? Submit a pull request to add it.
ReAct
Combines reasoning with acting through external tool use
๐ฏ 30-Second Overview
Pattern: Interleaved Reasoning and Acting through iterative Thought โ Action โ Observation cycles
Why: Enables dynamic problem-solving with real-time information and tool integration
Key Insight: Think before acting โ Execute tools โ Observe results โ Reason about next step
โก Quick Implementation
๐ Do's & Don'ts
๐ฆ When to Use
Use When
- โข Tasks requiring external data/tools
- โข Multi-step research & investigation
- โข Dynamic problem-solving workflows
- โข Real-time information needs
- โข When environment interaction is key
Avoid When
- โข Simple knowledge-based questions
- โข Tasks solvable with pure reasoning
- โข High-latency sensitive applications
- โข When tools are unreliable/unavailable
- โข Static content generation
๐ Key Metrics
๐ก Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Academic Papers
ReAct: Synergizing Reasoning and Acting in Language Models (Yao et al., 2022)
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022)
Toolformer: Language Models Can Teach Themselves to Use Tools (Schick et al., 2023)
WebGPT: Browser-assisted question-answering with human feedback (Nakano et al., 2021)
Contribute to this collection
Know a great resource? Submit a pull request to add it.