56 lines
1.5 KiB
Python
56 lines
1.5 KiB
Python
"""
|
|
Research Services Module for ALwrity
|
|
|
|
This module provides research and grounding capabilities for content generation,
|
|
replacing mock research with real-time industry information.
|
|
|
|
Available Services:
|
|
- GoogleSearchService: Real-time industry research using Google Custom Search API
|
|
- ExaService: Competitor discovery and analysis using Exa API
|
|
- TavilyService: AI-powered web search with real-time information
|
|
- Source ranking and credibility assessment
|
|
- Content extraction and insight generation
|
|
|
|
Core Module (v2.0):
|
|
- ResearchEngine: Standalone AI research engine for any content tool
|
|
- ResearchContext: Unified input schema for research requests
|
|
- ParameterOptimizer: AI-driven parameter optimization
|
|
|
|
Author: ALwrity Team
|
|
Version: 2.0
|
|
Last Updated: December 2025
|
|
"""
|
|
|
|
from .google_search_service import GoogleSearchService
|
|
from .exa_service import ExaService
|
|
from .tavily_service import TavilyService
|
|
|
|
# Core Research Engine (v2.0)
|
|
from .core import (
|
|
ResearchEngine,
|
|
ResearchContext,
|
|
ResearchPersonalizationContext,
|
|
ContentType,
|
|
ResearchGoal,
|
|
ResearchDepth,
|
|
ProviderPreference,
|
|
ParameterOptimizer,
|
|
)
|
|
|
|
__all__ = [
|
|
# Legacy services (still used by blog writer)
|
|
"GoogleSearchService",
|
|
"ExaService",
|
|
"TavilyService",
|
|
|
|
# Core Research Engine (v2.0)
|
|
"ResearchEngine",
|
|
"ResearchContext",
|
|
"ResearchPersonalizationContext",
|
|
"ContentType",
|
|
"ResearchGoal",
|
|
"ResearchDepth",
|
|
"ProviderPreference",
|
|
"ParameterOptimizer",
|
|
]
|