from abc import ABC, abstractmethod | |
class IChunkGenerator(ABC): | |
def chunk_text(self, text: str,words: int=100) -> list: | |
"""Splits the text into smaller chunks.""" | |
pass |
from abc import ABC, abstractmethod | |
class IChunkGenerator(ABC): | |
def chunk_text(self, text: str,words: int=100) -> list: | |
"""Splits the text into smaller chunks.""" | |
pass |