Initial commit: add .gitignore and README
This commit is contained in:
56
fusionagi/reasoning/__init__.py
Normal file
56
fusionagi/reasoning/__init__.py
Normal file
@@ -0,0 +1,56 @@
|
||||
"""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",
|
||||
]
|
||||
Reference in New Issue
Block a user