Skip to content

Class swarmauri_core.chains.IChainContextLoader.IChainContextLoader

swarmauri_core.chains.IChainContextLoader.IChainContextLoader

Bases: ABC

load_context abstractmethod

load_context(context_id)

Load the execution context by its identifier.

Source code in swarmauri_core/chains/IChainContextLoader.py
6
7
8
9
@abstractmethod
def load_context(self, context_id: str) -> Dict[str, Any]:
    """Load the execution context by its identifier."""
    pass