morphik-core/core/planner/base_planner.py
2024-11-16 01:48:15 -05:00

10 lines
244 B
Python

from abc import ABC, abstractmethod
from typing import Dict, Any
class BasePlanner(ABC):
@abstractmethod
def plan_retrieval(self, query: str, **kwargs) -> Dict[str, Any]:
"""Create execution plan for retrieval"""
pass