Spaces:
Sleeping
Sleeping
File size: 209 Bytes
63105da |
1 2 3 4 5 6 7 8 |
from abc import ABC, abstractmethod
from typing import List, Dict
class SplitterBase(ABC):
@abstractmethod
def chunk(self, text: str, chunk_size: int, overlap: int) -> List[Dict]:
pass
|