Table of Contents

Enum ReasoningMode

Namespace
AiDotNet.Reasoning
Assembly
AiDotNet.dll

Available reasoning modes that determine how problems are solved.

public enum ReasoningMode

Fields

Auto = 0

Automatically selects the best reasoning mode based on configuration.

For Beginners: Let the system choose the best approach. This is the recommended default for most users.

ChainOfThought = 1

Linear step-by-step reasoning. Best for straightforward problems.

For Beginners: Like showing your work on a math problem. The AI thinks through the problem one step at a time. Fast and effective for most problems.

SelfConsistency = 3

Solves the problem multiple times and uses majority voting. Best for reliability.

For Beginners: Like asking 5 people to solve the same problem and going with the most common answer. Increases confidence but takes longer.

TreeOfThoughts = 2

Explores multiple reasoning paths in a tree structure. Best for complex problems.

For Beginners: Like exploring a maze by trying multiple paths. The AI considers different approaches and picks the best one. More thorough but uses more compute.

Remarks

For Beginners: Different problems benefit from different thinking approaches. Just like you might use different study strategies for math vs. essay writing, the AI can use different reasoning modes for different types of problems.