aimprabu's picture
fix(ui): gracefully format dictionary error payloads to prevent TypeError
55a76a3
Raw History Blame Contribute Delete
284 Bytes
from abc import ABC, abstractmethod
class DocumentLoaderBase(ABC):
"""Abstract Base Class defining the document loader adapter contract."""
@abstractmethod
def load(self, source: str) -> str:
"""Load document content and return raw text string."""
pass