Overview
TheexplainLogicalFallacy flow provides a clear, detailed explanation of a specific logical fallacy, including its definition and a simple example.
This flow is useful for educational purposes and helping users understand why certain arguments are fallacious.
Function Signature
src/ai/flows/explain-logical-fallacy.ts:23
Input Schema
The name of the logical fallacy to explain (e.g., “Ad Hominem”, “Straw Man”, “False Dichotomy”).
Input Type
Output Schema
A detailed explanation of the logical fallacy, including what it is and a simple example.
Output Type
Example Usage
Common Fallacy Names
You can request explanations for any recognized logical fallacy, including:- Ad Hominem
- Straw Man
- False Dichotomy (False Dilemma)
- Appeal to Authority
- Appeal to Emotion
- Slippery Slope
- Circular Reasoning (Begging the Question)
- Hasty Generalization
- Red Herring
- Tu Quoque (Whataboutism)
- No True Scotsman
- Appeal to Nature
- Bandwagon (Ad Populum)
- Post Hoc Ergo Propter Hoc
- And many more…
Implementation Details
The flow uses an expert prompt to generate clear, educational explanations: Prompt Template (fromsrc/ai/flows/explain-logical-fallacy.ts:33):
- Define the fallacy clearly
- Explain why it’s a logical error
- Provide a concrete, easy-to-understand example
- Use accessible language suitable for general audiences
Use Cases
- Educational Tooltips: Explain fallacies when detected in arguments
- User Guidance: Help users understand why their arguments may be flawed
- Fallacy Library: Build a comprehensive fallacy reference
- Interactive Learning: Create quizzes and learning modules
- Argument Improvement: Provide suggestions for stronger reasoning
Related
- Identify Logical Fallacies Flow
- Fallacy Detection Schema
- Generate Blueprint Flow - includes fallacy detection and explanation
