mirror of
https://github.com/james-m-jordan/morphik-core.git
synced 2025-05-09 19:32:38 +00:00
10 lines
243 B
Python
10 lines
243 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Dict, Any, List
|
|
|
|
|
|
class BaseParser(ABC):
|
|
@abstractmethod
|
|
def parse(self, content: str, metadata: Dict[str, Any]) -> List[str]:
|
|
"""Parse content into chunks"""
|
|
pass
|