Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

261 B
Raw Blame
"""Abstract interface for document cleaner implementations."""

from abc import ABC, abstractmethod


class BaseCleaner(ABC):
    """Interface for clean chunk content."""

    @abstractmethod
    def clean(self, content: str):
        raise NotImplementedError