Spaces:
Runtime error
Runtime error
Cascade Bot
commited on
Commit
·
2625442
1
Parent(s):
ccf96e3
fix: update venture strategy imports
Browse files- Fixed imports in venture_api.py to separate venture strategies from venture types
- Added __all__ to venture_strategies.py and venture_types.py
- Fixed ImportError for AIInfrastructureStrategy and other venture type strategies
- api/venture_api.py +3 -0
- reasoning/venture_strategies.py +15 -0
- reasoning/venture_types.py +11 -0
api/venture_api.py
CHANGED
|
@@ -8,6 +8,9 @@ from datetime import datetime
|
|
| 8 |
from reasoning.venture_strategies import (
|
| 9 |
AIStartupStrategy, SaaSVentureStrategy, AutomationVentureStrategy,
|
| 10 |
DataVentureStrategy, APIVentureStrategy, MarketplaceVentureStrategy,
|
|
|
|
|
|
|
|
|
|
| 11 |
AIInfrastructureStrategy, AIConsultingStrategy, AIProductStrategy,
|
| 12 |
FinTechStrategy, HealthTechStrategy, EdTechStrategy,
|
| 13 |
BlockchainStrategy, AIMarketplaceStrategy
|
|
|
|
| 8 |
from reasoning.venture_strategies import (
|
| 9 |
AIStartupStrategy, SaaSVentureStrategy, AutomationVentureStrategy,
|
| 10 |
DataVentureStrategy, APIVentureStrategy, MarketplaceVentureStrategy,
|
| 11 |
+
VentureStrategy
|
| 12 |
+
)
|
| 13 |
+
from reasoning.venture_types import (
|
| 14 |
AIInfrastructureStrategy, AIConsultingStrategy, AIProductStrategy,
|
| 15 |
FinTechStrategy, HealthTechStrategy, EdTechStrategy,
|
| 16 |
BlockchainStrategy, AIMarketplaceStrategy
|
reasoning/venture_strategies.py
CHANGED
|
@@ -11,6 +11,21 @@ from collections import defaultdict
|
|
| 11 |
|
| 12 |
from .base import ReasoningStrategy
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
class VentureType(Enum):
|
| 15 |
"""Types of business ventures."""
|
| 16 |
AI_STARTUP = "ai_startup"
|
|
|
|
| 11 |
|
| 12 |
from .base import ReasoningStrategy
|
| 13 |
|
| 14 |
+
__all__ = [
|
| 15 |
+
'VentureType',
|
| 16 |
+
'RevenueStream',
|
| 17 |
+
'VentureMetrics',
|
| 18 |
+
'MarketOpportunity',
|
| 19 |
+
'AIStartupStrategy',
|
| 20 |
+
'SaaSVentureStrategy',
|
| 21 |
+
'AutomationVentureStrategy',
|
| 22 |
+
'DataVentureStrategy',
|
| 23 |
+
'APIVentureStrategy',
|
| 24 |
+
'MarketplaceVentureStrategy',
|
| 25 |
+
'VenturePortfolioStrategy',
|
| 26 |
+
'VentureStrategy'
|
| 27 |
+
]
|
| 28 |
+
|
| 29 |
class VentureType(Enum):
|
| 30 |
"""Types of business ventures."""
|
| 31 |
AI_STARTUP = "ai_startup"
|
reasoning/venture_types.py
CHANGED
|
@@ -11,6 +11,17 @@ from collections import defaultdict
|
|
| 11 |
|
| 12 |
from .base import ReasoningStrategy
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
class AIInfrastructureStrategy(ReasoningStrategy):
|
| 15 |
"""
|
| 16 |
AI infrastructure venture strategy that:
|
|
|
|
| 11 |
|
| 12 |
from .base import ReasoningStrategy
|
| 13 |
|
| 14 |
+
__all__ = [
|
| 15 |
+
'AIInfrastructureStrategy',
|
| 16 |
+
'AIConsultingStrategy',
|
| 17 |
+
'AIProductStrategy',
|
| 18 |
+
'FinTechStrategy',
|
| 19 |
+
'HealthTechStrategy',
|
| 20 |
+
'EdTechStrategy',
|
| 21 |
+
'BlockchainStrategy',
|
| 22 |
+
'AIMarketplaceStrategy'
|
| 23 |
+
]
|
| 24 |
+
|
| 25 |
class AIInfrastructureStrategy(ReasoningStrategy):
|
| 26 |
"""
|
| 27 |
AI infrastructure venture strategy that:
|