diff --git a/graphiti_core/nodes.py b/graphiti_core/nodes.py index 72ba024..6a4df2b 100644 --- a/graphiti_core/nodes.py +++ b/graphiti_core/nodes.py @@ -31,6 +31,23 @@ class EpisodeType(Enum): + """ + Enumeration of different types of episodes that can be processed. + + This enum defines the various sources or formats of episodes that the system + can handle. It's used to categorize and potentially handle different types + of input data differently. + + Attributes: + ----------- + message : str + Represents a standard message-type episode. The content for this type + should be formatted as "actor: content". For example, "user: Hello, how are you?" + or "assistant: I'm doing well, thank you for asking." + json : str + Represents an episode containing a JSON string object with structured data. + """ + message = 'message' json = 'json'