nananie143's picture
Upload folder using huggingface_hub
dcb2a99 verified
raw
history blame
542 Bytes
"""Base class for all reasoning strategies."""
from typing import Dict, Any
class ReasoningStrategy:
"""Base class for reasoning strategies."""
async def reason(self, query: str, context: Dict[str, Any]) -> Dict[str, Any]:
"""Apply reasoning strategy to query with context.
Args:
query: The query to reason about
context: Additional context for reasoning
Returns:
Dictionary containing reasoning results
"""
raise NotImplementedError