Skip to content

Commit

Permalink
chore: Add comments to episode type
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-paliychuk committed Aug 26, 2024
1 parent 1105902 commit a1300bf
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions graphiti_core/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit a1300bf

Please sign in to comment.