graphiti/graphiti_core
Daniel Chalef a6d63f0c0d
Add text episode type (#46)
Add a new `text` episode type and update the `extract_nodes` function to handle it.

* **EpisodeType Enum:**
  - Add `text` to the `EpisodeType` enum in `graphiti_core/nodes.py`.
  - Update the `from_str` method to handle the `text` episode type.

* **extract_nodes Function:**
  - Update the `extract_nodes` function in `graphiti_core/utils/maintenance/node_operations.py` to handle the `text` episode type.
  - Use the `message` type prompt for both `message` and `text` episodes.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/getzep/graphiti?shareId=XXXX-XXXX-XXXX-XXXX).
2024-08-26 15:51:13 -07:00
..
llm_client Implement retry for LLMClient (#44) 2024-08-26 12:53:16 -07:00
prompts Controlled example (#37) 2024-08-26 10:30:22 -04:00
search Search node centering (#45) 2024-08-26 18:34:57 -04:00
utils Add text episode type (#46) 2024-08-26 15:51:13 -07:00
__init__.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
edges.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
graphiti.py Search node centering (#45) 2024-08-26 18:34:57 -04:00
nodes.py Add text episode type (#46) 2024-08-26 15:51:13 -07:00