swarmauri.core.swarms.ISwarmConfigurationExporter module

class swarmauri.core.swarms.ISwarmConfigurationExporter.ISwarmConfigurationExporter[source]

Bases: ABC

abstract to_dict()[source]

Serializes the swarm configuration to a dictionary.

Returns:

The serialized configuration as a dictionary.

Return type:

Dict

abstract to_json()[source]

Serializes the swarm configuration to a JSON string.

Returns:

The serialized configuration as a JSON string.

Return type:

str

abstract to_pickle()[source]

Serializes the swarm configuration to a Pickle byte stream.

Returns:

The serialized configuration as a Pickle byte stream.

Return type:

bytes