swarmauri.core.chains.IChainFactory module

class swarmauri.core.chains.IChainFactory.IChainFactory[source]

Bases: ABC

Interface for creating and managing execution chains within the system.

abstract add_chain_step(step)[source]
abstract create_chain(steps=None)[source]
Return type:

IChain

abstract get_chain()[source]
Return type:

IChain

abstract get_chain_steps()[source]
Return type:

List[IChainStep]

abstract get_config(key)[source]
Return type:

Any

abstract get_configs()[source]
Return type:

Dict[str, Any]

abstract remove_chain_step(key)[source]
abstract reset_chain()[source]
abstract set_chain(chain)[source]
abstract set_chain_steps(steps)[source]
abstract set_config(key, value)[source]
abstract set_configs(**configs)[source]