Source code for swarmauri.experimental.chains.IChainFormatter

from abc import ABC, abstractmethod
from typing import Any
from swarmauri.core.chains.IChainStep import IChainStep

[docs] class IChainFormatter(ABC):
[docs] @abstractmethod def format_output(self, step: IChainStep, output: Any) -> str: """Format the output of a specific chain step.""" pass