Source code for swarmauri.core.messages.IMessage

from abc import ABC, abstractmethod

[docs] class IMessage(ABC): """ An abstract interface representing a general message structure. This interface defines the basic attributes that all messages should have, including type, name, and content, and requires subclasses to implement representation and formatting methods. """