Spaces:
Runtime error
Runtime error
Cascade Bot
commited on
Commit
·
5ac18f6
1
Parent(s):
05c0fea
fix: update remaining class name references
Browse files- Updated RecursiveReasoning to RecursiveStrategy in unified_engine.py
- Updated AnalogicalReasoning to AnalogicalStrategy in unified_engine.py
- Fixed imports in __init__.py to match actual class names
- reasoning/__init__.py +10 -10
- reasoning/unified_engine.py +4 -4
reasoning/__init__.py
CHANGED
|
@@ -32,8 +32,8 @@ from .base import ReasoningStrategy, StrategyResult
|
|
| 32 |
# Core reasoning strategies
|
| 33 |
from .chain_of_thought import ChainOfThoughtStrategy
|
| 34 |
from .tree_of_thoughts import TreeOfThoughtsStrategy
|
| 35 |
-
from .recursive import
|
| 36 |
-
from .analogical import
|
| 37 |
from .meta_learning import MetaLearningStrategy
|
| 38 |
from .local_llm import LocalLLMStrategy
|
| 39 |
|
|
@@ -41,9 +41,9 @@ from .local_llm import LocalLLMStrategy
|
|
| 41 |
from .multimodal import MultimodalStrategy
|
| 42 |
from .bayesian import BayesianStrategy
|
| 43 |
from .quantum import QuantumStrategy
|
| 44 |
-
from .neurosymbolic import
|
| 45 |
-
from .emergent import
|
| 46 |
-
from .specialized import
|
| 47 |
|
| 48 |
# Domain-specific strategies
|
| 49 |
from .market_analysis import MarketAnalysisStrategy
|
|
@@ -65,8 +65,8 @@ __all__ = [
|
|
| 65 |
# Core reasoning
|
| 66 |
'ChainOfThoughtStrategy',
|
| 67 |
'TreeOfThoughtsStrategy',
|
| 68 |
-
'
|
| 69 |
-
'
|
| 70 |
'MetaLearningStrategy',
|
| 71 |
'LocalLLMStrategy',
|
| 72 |
|
|
@@ -74,9 +74,9 @@ __all__ = [
|
|
| 74 |
'MultimodalStrategy',
|
| 75 |
'BayesianStrategy',
|
| 76 |
'QuantumStrategy',
|
| 77 |
-
'
|
| 78 |
-
'
|
| 79 |
-
'
|
| 80 |
|
| 81 |
# Domain-specific
|
| 82 |
'MarketAnalysisStrategy',
|
|
|
|
| 32 |
# Core reasoning strategies
|
| 33 |
from .chain_of_thought import ChainOfThoughtStrategy
|
| 34 |
from .tree_of_thoughts import TreeOfThoughtsStrategy
|
| 35 |
+
from .recursive import RecursiveStrategy
|
| 36 |
+
from .analogical import AnalogicalStrategy
|
| 37 |
from .meta_learning import MetaLearningStrategy
|
| 38 |
from .local_llm import LocalLLMStrategy
|
| 39 |
|
|
|
|
| 41 |
from .multimodal import MultimodalStrategy
|
| 42 |
from .bayesian import BayesianStrategy
|
| 43 |
from .quantum import QuantumStrategy
|
| 44 |
+
from .neurosymbolic import NeurosymbolicStrategy
|
| 45 |
+
from .emergent import EmergentStrategy
|
| 46 |
+
from .specialized import SpecializedStrategy
|
| 47 |
|
| 48 |
# Domain-specific strategies
|
| 49 |
from .market_analysis import MarketAnalysisStrategy
|
|
|
|
| 65 |
# Core reasoning
|
| 66 |
'ChainOfThoughtStrategy',
|
| 67 |
'TreeOfThoughtsStrategy',
|
| 68 |
+
'RecursiveStrategy',
|
| 69 |
+
'AnalogicalStrategy',
|
| 70 |
'MetaLearningStrategy',
|
| 71 |
'LocalLLMStrategy',
|
| 72 |
|
|
|
|
| 74 |
'MultimodalStrategy',
|
| 75 |
'BayesianStrategy',
|
| 76 |
'QuantumStrategy',
|
| 77 |
+
'NeurosymbolicStrategy',
|
| 78 |
+
'EmergentStrategy',
|
| 79 |
+
'SpecializedStrategy',
|
| 80 |
|
| 81 |
# Domain-specific
|
| 82 |
'MarketAnalysisStrategy',
|
reasoning/unified_engine.py
CHANGED
|
@@ -15,8 +15,8 @@ from .groq_strategy import GroqStrategy
|
|
| 15 |
from .chain_of_thought import ChainOfThoughtStrategy
|
| 16 |
from .tree_of_thoughts import TreeOfThoughtsStrategy
|
| 17 |
from .meta_learning import MetaLearningStrategy
|
| 18 |
-
from .recursive import
|
| 19 |
-
from .analogical import
|
| 20 |
from .local_llm import LocalLLMStrategy
|
| 21 |
from .agentic import (
|
| 22 |
TaskDecompositionStrategy,
|
|
@@ -100,8 +100,8 @@ class UnifiedReasoningEngine:
|
|
| 100 |
StrategyType.CHAIN_OF_THOUGHT: ChainOfThoughtStrategy(),
|
| 101 |
StrategyType.TREE_OF_THOUGHTS: TreeOfThoughtsStrategy(),
|
| 102 |
StrategyType.META_LEARNING: MetaLearningStrategy(),
|
| 103 |
-
StrategyType.RECURSIVE:
|
| 104 |
-
StrategyType.ANALOGICAL:
|
| 105 |
StrategyType.LOCAL_LLM: LocalLLMStrategy(),
|
| 106 |
|
| 107 |
# Agentic strategies
|
|
|
|
| 15 |
from .chain_of_thought import ChainOfThoughtStrategy
|
| 16 |
from .tree_of_thoughts import TreeOfThoughtsStrategy
|
| 17 |
from .meta_learning import MetaLearningStrategy
|
| 18 |
+
from .recursive import RecursiveStrategy
|
| 19 |
+
from .analogical import AnalogicalStrategy
|
| 20 |
from .local_llm import LocalLLMStrategy
|
| 21 |
from .agentic import (
|
| 22 |
TaskDecompositionStrategy,
|
|
|
|
| 100 |
StrategyType.CHAIN_OF_THOUGHT: ChainOfThoughtStrategy(),
|
| 101 |
StrategyType.TREE_OF_THOUGHTS: TreeOfThoughtsStrategy(),
|
| 102 |
StrategyType.META_LEARNING: MetaLearningStrategy(),
|
| 103 |
+
StrategyType.RECURSIVE: RecursiveStrategy(),
|
| 104 |
+
StrategyType.ANALOGICAL: AnalogicalStrategy(),
|
| 105 |
StrategyType.LOCAL_LLM: LocalLLMStrategy(),
|
| 106 |
|
| 107 |
# Agentic strategies
|