getzep / graphiti

Build and query dynamic, temporally-aware Knowledge Graphs
https://help.getzep.com/graphiti
Apache License 2.0
1.4k stars 75 forks source link

add addepisode return object #172

Closed prasmussen15 closed 1 month ago

prasmussen15 commented 1 month ago

[!IMPORTANT] add_episode in graphiti.py now returns an AddEpisodeResults object, encapsulating episode, nodes, and edges, with a new class introduced to support this change.

  • Behavior:
    • add_episode in graphiti.py now returns AddEpisodeResults object containing episode, nodes, and edges.
  • Classes:
    • Introduces AddEpisodeResults class in graphiti.py to encapsulate return data for add_episode.
  • Misc:
    • Adjusts indentation for method parameters in Graphiti class for better readability.
    • Minor formatting change in lucene_sanitize() in helpers.py.

This description was created by Ellipsis for fba8acd6a5fa73b58fc4f5e28c0f90c1c90904cf. It will automatically update as commits are pushed.