graphiti-core 0.3.20__py3-none-any.whl → 0.3.21__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.

@@ -66,6 +66,12 @@ async def search(
66
66
  bfs_origin_node_uuids: list[str] | None = None,
67
67
  ) -> SearchResults:
68
68
  start = time()
69
+ if query.strip() == '':
70
+ return SearchResults(
71
+ edges=[],
72
+ nodes=[],
73
+ communities=[],
74
+ )
69
75
  query_vector = await embedder.create(input_data=[query.replace('\n', ' ')])
70
76
 
71
77
  # if group_ids is empty, set it to None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: graphiti-core
3
- Version: 0.3.20
3
+ Version: 0.3.21
4
4
  Summary: A temporal graph building library
5
5
  License: Apache-2.0
6
6
  Author: Paul Paliychuk
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.12
14
14
  Requires-Dist: diskcache (>=5.6.3,<6.0.0)
15
15
  Requires-Dist: neo4j (>=5.23.0,<6.0.0)
16
16
  Requires-Dist: numpy (>=1.0.0)
17
- Requires-Dist: openai (>=1.52.2,<2.0.0)
17
+ Requires-Dist: openai (>=1.53.0,<2.0.0)
18
18
  Requires-Dist: pydantic (>=2.8.2,<3.0.0)
19
19
  Requires-Dist: tenacity (<9.0.0)
20
20
  Description-Content-Type: text/markdown
@@ -38,7 +38,7 @@ graphiti_core/prompts/models.py,sha256=cvx_Bv5RMFUD_5IUawYrbpOKLPHogai7_bm7YXrSz
38
38
  graphiti_core/prompts/summarize_nodes.py,sha256=FLuZpGTABgcxuIDkx_IKH115nHEw0rIaFhcGlWveAMc,2357
39
39
  graphiti_core/py.typed,sha256=vlmmzQOt7bmeQl9L3XJP4W6Ry0iiELepnOrinKz5KQg,79
40
40
  graphiti_core/search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- graphiti_core/search/search.py,sha256=Fz45sXToQ6KN_y2k94kg9UyUZeqsS14jfaGfQ5KGifQ,11176
41
+ graphiti_core/search/search.py,sha256=u512ZK2qPL28SmXDIo_RELq_dTRndo-GUPlSJrQqo5A,11316
42
42
  graphiti_core/search/search_config.py,sha256=UZN8jFA4pBlw2O5N1cuhVRBdTwMLR9N3Oyo6sQ4MDVw,3117
43
43
  graphiti_core/search/search_config_recipes.py,sha256=20jS7veJExDnXA-ovJSUJfyDHKt7GW-nng-eoiT7ATA,5810
44
44
  graphiti_core/search/search_utils.py,sha256=gqBlhnb75srhymQ4_yzb7o019UxtE3e7eHHK9NL6nCc,22916
@@ -51,7 +51,7 @@ graphiti_core/utils/maintenance/graph_data_operations.py,sha256=w66_SLlvPapuG91Y
51
51
  graphiti_core/utils/maintenance/node_operations.py,sha256=h5nlRojbXOGJs-alpv6z6WnZ1UCixVGlAQYBQUqz8Bs,9030
52
52
  graphiti_core/utils/maintenance/temporal_operations.py,sha256=MvaRLWrBlDeYw8CQrKish1xbYcY5ovpfdqA2hSX7v5k,3367
53
53
  graphiti_core/utils/maintenance/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
- graphiti_core-0.3.20.dist-info/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
55
- graphiti_core-0.3.20.dist-info/METADATA,sha256=8blBjJ96r7tU5KvPdExNKHuIgknP-EGuGlXPHW1UlPk,9990
56
- graphiti_core-0.3.20.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
57
- graphiti_core-0.3.20.dist-info/RECORD,,
54
+ graphiti_core-0.3.21.dist-info/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
55
+ graphiti_core-0.3.21.dist-info/METADATA,sha256=dGRf7FLQ0HBD58uYXHMjHzT8uF2dcJG2mPgbyw2CobU,9990
56
+ graphiti_core-0.3.21.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
57
+ graphiti_core-0.3.21.dist-info/RECORD,,