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

@@ -341,10 +341,10 @@ async def node_fulltext_search(
341
341
 
342
342
  query = (
343
343
  """
344
- CALL db.index.fulltext.queryNodes("node_name_and_summary", $query, {limit: $limit})
345
- YIELD node AS n, score
346
- WHERE n:Entity
347
- """
344
+ CALL db.index.fulltext.queryNodes("node_name_and_summary", $query, {limit: $limit})
345
+ YIELD node AS n, score
346
+ WHERE n:Entity
347
+ """
348
348
  + filter_query
349
349
  + ENTITY_NODE_RETURN
350
350
  + """
@@ -709,10 +709,14 @@ async def get_relevant_nodes(
709
709
  query,
710
710
  query_params,
711
711
  nodes=[
712
- {'uuid': node.uuid, 'name': node.name, 'name_embedding': node.name_embedding}
712
+ {
713
+ 'uuid': node.uuid,
714
+ 'name': lucene_sanitize(node.name),
715
+ 'name_embedding': node.name_embedding,
716
+ }
713
717
  for node in nodes
714
718
  ],
715
- group_id=group_id,
719
+ group_id=lucene_sanitize(group_id),
716
720
  limit=limit,
717
721
  min_score=min_score,
718
722
  database_=DEFAULT_DATABASE,
@@ -102,6 +102,7 @@ async def extract_nodes(
102
102
  'previous_episodes': [ep.content for ep in previous_episodes],
103
103
  'custom_prompt': custom_prompt,
104
104
  'entity_types': entity_types_context,
105
+ 'source_description': episode.source_description,
105
106
  }
106
107
 
107
108
  while entities_missed and reflexion_iterations <= MAX_REFLEXION_ITERATIONS:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: graphiti-core
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: A temporal graph building library
5
5
  License: Apache-2.0
6
6
  Author: Paul Paliychuk
@@ -48,7 +48,7 @@ graphiti_core/search/search_config.py,sha256=VvKg6AB_RPhoe56DBBXHRBXHThAVJ_OLFCy
48
48
  graphiti_core/search/search_config_recipes.py,sha256=4GquRphHhJlpXQhAZOySYnCzBWYoTwxlJj44eTOavZQ,7443
49
49
  graphiti_core/search/search_filters.py,sha256=JkP7NbM4Dor27dne5vAuxbJic12dIJDtWJxNqmVuRec,5884
50
50
  graphiti_core/search/search_helpers.py,sha256=G5Ceaq5Pfgx0Weelqgeylp_pUHwiBnINaUYsDbURJbE,2636
51
- graphiti_core/search/search_utils.py,sha256=94WN65cFn9IeMcYqx_BERs3YPVmFfHB2tAxQyQjgeAI,30955
51
+ graphiti_core/search/search_utils.py,sha256=zFUEQTPXfCQ0nGDbqwLmoiRBb9dW5ajnB4JbRG6wK4M,31068
52
52
  graphiti_core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  graphiti_core/utils/bulk_utils.py,sha256=Z1QzpcopVHxttRmVeYdVDHRjjY7z0cW1wwHB-0yQ6Ng,14820
54
54
  graphiti_core/utils/datetime_utils.py,sha256=Ti-2tnrDFRzBsbfblzsHybsM3jaDLP4-VT2t0VhpIzU,1357
@@ -56,11 +56,11 @@ graphiti_core/utils/maintenance/__init__.py,sha256=vW4H1KyapTl-OOz578uZABYcpND4w
56
56
  graphiti_core/utils/maintenance/community_operations.py,sha256=aLMfQ5l8PkNJY3ugqV6UOMG74aI6L9Zz2zFiLBsnKvM,10155
57
57
  graphiti_core/utils/maintenance/edge_operations.py,sha256=3rstKAv85Hshv3jgbUSU8OBTFmYn4BQYA9bd5ZfDURU,14319
58
58
  graphiti_core/utils/maintenance/graph_data_operations.py,sha256=BIJKc8tbvU4IjWxLgeotw57b1eE3Iw8YtV74j6eo4RQ,7493
59
- graphiti_core/utils/maintenance/node_operations.py,sha256=g2HytAgTcI6-EN9i-GnTtpdm6eYr83p33WUVdmfclss,14909
59
+ graphiti_core/utils/maintenance/node_operations.py,sha256=lhNEobEbEX0RrcqNUt9OpakigXNzHpEbf6EG4vQRB0A,14967
60
60
  graphiti_core/utils/maintenance/temporal_operations.py,sha256=DBCmKZscR6_GxSv0wBK5PNHoyJfuF4RrrFd6yr02x5s,3311
61
61
  graphiti_core/utils/maintenance/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  graphiti_core/utils/ontology_utils/entity_types_utils.py,sha256=QJX5cG0GSSNF_Mm_yrldr69wjVAbN_MxLhOSznz85Hk,1279
63
- graphiti_core-0.11.0.dist-info/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
64
- graphiti_core-0.11.0.dist-info/METADATA,sha256=K5UkaIT3XKjZqfjP5p9i0a4iQZThf--4Y8FjWtUCv4o,15348
65
- graphiti_core-0.11.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
66
- graphiti_core-0.11.0.dist-info/RECORD,,
63
+ graphiti_core-0.11.1.dist-info/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
64
+ graphiti_core-0.11.1.dist-info/METADATA,sha256=89zRcQnilY0HYgjvjTCWIlEs-28-kNPQcEtHU2tJLfk,15348
65
+ graphiti_core-0.11.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
66
+ graphiti_core-0.11.1.dist-info/RECORD,,