ThoughtNode<T>

Helpers & Utilities · AiDotNet.RetrievalAugmentedGeneration.Models

Represents a node in the Tree-of-Thoughts reasoning tree.

Constructors

Constructor Summary
ThoughtNode()

Properties

Property Summary
List<Document<T>> RetrievedDocuments { get; set; } Documents retrieved for this thought.
List<ThoughtNode<T>> Children { get; set; } Child nodes branching from this thought.
ThoughtNode<T> Parent { get; set; } Parent node in the tree (null for root).
double EvaluationScore { get; set; } Evaluation score for this thought (0-1, higher is better).
int Depth { get; set; } Depth of this node in the tree (0 = root).
string Thought { get; set; } The reasoning thought or statement at this node.