Contents:
SDK:
Examples:
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