Uses of Class
com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
Packages that use TreeOfThoughtsExecutor.Builder
Package
Description
Large Reasoning Model (LRM) patterns for advanced reasoning capabilities.
-
Uses of TreeOfThoughtsExecutor.Builder in com.tnsai.reasoning
Methods in com.tnsai.reasoning that return TreeOfThoughtsExecutor.BuilderModifier and TypeMethodDescriptionTreeOfThoughtsExecutor.Builder.beamWidth(int beamWidth) Sets the beam width for beam search (default: 3).TreeOfThoughtsExecutor.Builder.branchingFactor(int branchingFactor) Sets the number of candidate thoughts to generate (default: 3).TreeOfThoughtsExecutor.builder()Creates a new builder for TreeOfThoughtsExecutor.TreeOfThoughtsExecutor.Builder.evaluator(BranchEvaluator evaluator) Sets the branch evaluator.TreeOfThoughtsExecutor.Builder.llm(com.tnsai.llm.LLMClient llm) Sets the LLM client for thought generation.TreeOfThoughtsExecutor.Builder.maxDepth(int maxDepth) Sets the maximum exploration depth (default: 5).TreeOfThoughtsExecutor.Builder.pruneThreshold(double threshold) Sets the score threshold for pruning (default: 0.3).TreeOfThoughtsExecutor.Builder.pruning(PruningStrategy pruning) Sets the pruning strategy (default: BEAM_SEARCH).Sets the exploration timeout (default: 10 minutes).