graphiti-core 0.5.0rc1__py3-none-any.whl → 0.5.0rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of graphiti-core might be problematic. Click here for more details.
- graphiti_core/prompts/summarize_nodes.py +5 -0
- {graphiti_core-0.5.0rc1.dist-info → graphiti_core-0.5.0rc2.dist-info}/METADATA +1 -1
- {graphiti_core-0.5.0rc1.dist-info → graphiti_core-0.5.0rc2.dist-info}/RECORD +5 -5
- {graphiti_core-0.5.0rc1.dist-info → graphiti_core-0.5.0rc2.dist-info}/LICENSE +0 -0
- {graphiti_core-0.5.0rc1.dist-info → graphiti_core-0.5.0rc2.dist-info}/WHEEL +0 -0
|
@@ -54,6 +54,8 @@ def summarize_pair(context: dict[str, Any]) -> list[Message]:
|
|
|
54
54
|
role='user',
|
|
55
55
|
content=f"""
|
|
56
56
|
Synthesize the information from the following two summaries into a single succinct summary.
|
|
57
|
+
|
|
58
|
+
Summaries must be under 500 words.
|
|
57
59
|
|
|
58
60
|
Summaries:
|
|
59
61
|
{json.dumps(context['node_summaries'], indent=2)}
|
|
@@ -81,6 +83,8 @@ def summarize_context(context: dict[str, Any]) -> list[Message]:
|
|
|
81
83
|
information from the provided MESSAGES. Your summary should also only contain information relevant to the
|
|
82
84
|
provided ENTITY.
|
|
83
85
|
|
|
86
|
+
Summaries must be under 500 words.
|
|
87
|
+
|
|
84
88
|
<ENTITY>
|
|
85
89
|
{context['node_name']}
|
|
86
90
|
</ENTITY>
|
|
@@ -99,6 +103,7 @@ def summary_description(context: dict[str, Any]) -> list[Message]:
|
|
|
99
103
|
role='user',
|
|
100
104
|
content=f"""
|
|
101
105
|
Create a short one sentence description of the summary that explains what kind of information is summarized.
|
|
106
|
+
Summaries must be under 500 words.
|
|
102
107
|
|
|
103
108
|
Summary:
|
|
104
109
|
{json.dumps(context['summary'], indent=2)}
|
|
@@ -36,7 +36,7 @@ graphiti_core/prompts/invalidate_edges.py,sha256=DV2mEyIhhjc0hdKEMFLQMeG0FiUCkv_
|
|
|
36
36
|
graphiti_core/prompts/lib.py,sha256=oxhlpGEgV15VOLEZiwirxmIJBIdfzfiyL58iyzFDskE,4254
|
|
37
37
|
graphiti_core/prompts/models.py,sha256=cvx_Bv5RMFUD_5IUawYrbpOKLPHogai7_bm7YXrSz84,867
|
|
38
38
|
graphiti_core/prompts/prompt_helpers.py,sha256=-9TABwIcIQUVHcNANx6wIZd-FT2DgYKyGTfx4IGYq2I,64
|
|
39
|
-
graphiti_core/prompts/summarize_nodes.py,sha256=
|
|
39
|
+
graphiti_core/prompts/summarize_nodes.py,sha256=5J_IONG7fHYiQZWnCaUyw7w2zunEaN7V89nEluRP-qY,3461
|
|
40
40
|
graphiti_core/py.typed,sha256=vlmmzQOt7bmeQl9L3XJP4W6Ry0iiELepnOrinKz5KQg,79
|
|
41
41
|
graphiti_core/search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
graphiti_core/search/search.py,sha256=5r7HpIR4cQvwH24YN_DJB6LVNN9hizviE0QXGM6swz8,11984
|
|
@@ -52,7 +52,7 @@ graphiti_core/utils/maintenance/graph_data_operations.py,sha256=w66_SLlvPapuG91Y
|
|
|
52
52
|
graphiti_core/utils/maintenance/node_operations.py,sha256=KREaJeMFGE4RfQ0TAOsA7t50rcH8KZQV4GZhVeAyzUM,12031
|
|
53
53
|
graphiti_core/utils/maintenance/temporal_operations.py,sha256=3fVTVRJ75IfsS7j8DkF0yVbtRf0TAaFKgr0KWvkJK9g,3561
|
|
54
54
|
graphiti_core/utils/maintenance/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
|
-
graphiti_core-0.5.
|
|
56
|
-
graphiti_core-0.5.
|
|
57
|
-
graphiti_core-0.5.
|
|
58
|
-
graphiti_core-0.5.
|
|
55
|
+
graphiti_core-0.5.0rc2.dist-info/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
|
|
56
|
+
graphiti_core-0.5.0rc2.dist-info/METADATA,sha256=ssU0qPF29Ap85qSbFhH4aYYzfSU44VXrtVMkRFnOXt0,10061
|
|
57
|
+
graphiti_core-0.5.0rc2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
58
|
+
graphiti_core-0.5.0rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|