Files
FusionAGI/fusionagi/reasoning/__init__.py
defiQUG c052b07662
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled
Initial commit: add .gitignore and README
2026-02-09 21:51:42 -08:00

57 lines
1.4 KiB
Python

"""Reasoning engine: chain-of-thought, tree-of-thought, and native symbolic reasoning."""
from fusionagi.reasoning.cot import (
build_cot_messages,
run_chain_of_thought,
)
from fusionagi.reasoning.tot import (
run_tree_of_thought,
run_tree_of_thought_detailed,
ThoughtBranch,
ThoughtNode,
ToTResult,
expand_node,
prune_subtree,
merge_subtrees,
)
from fusionagi.reasoning.native import (
NativeReasoningProvider,
analyze_prompt,
produce_head_output,
PromptAnalysis,
)
from fusionagi.reasoning.decomposition import decompose_recursive
from fusionagi.reasoning.multi_path import generate_and_score_parallel
from fusionagi.reasoning.recomposition import recompose, RecomposedResponse
from fusionagi.reasoning.meta_reasoning import (
challenge_assumptions,
detect_contradictions,
revisit_node,
)
__all__ = [
"build_cot_messages",
"run_chain_of_thought",
"run_tree_of_thought",
"run_tree_of_thought_detailed",
"ThoughtBranch",
"ThoughtNode",
"ToTResult",
"expand_node",
"prune_subtree",
"merge_subtrees",
"NativeReasoningProvider",
"analyze_prompt",
"produce_head_output",
"PromptAnalysis",
"decompose_recursive",
"load_context_for_reasoning",
"build_compact_prompt",
"generate_and_score_parallel",
"recompose",
"RecomposedResponse",
"challenge_assumptions",
"detect_contradictions",
"revisit_node",
]