graphiti-core 0.17.0__py3-none-any.whl → 0.17.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.

@@ -157,7 +157,7 @@ def edge_search_filter_query_constructor(
157
157
  filter_query += created_at_filter
158
158
 
159
159
  if filters.expired_at is not None:
160
- expired_at_filter = 'AND ('
160
+ expired_at_filter = ' AND ('
161
161
  for i, or_list in enumerate(filters.expired_at):
162
162
  for j, date_filter in enumerate(or_list):
163
163
  filter_params['expired_at_' + str(j)] = date_filter.date
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphiti-core
3
- Version: 0.17.0
3
+ Version: 0.17.1
4
4
  Summary: A temporal graph building library
5
5
  Project-URL: Homepage, https://help.getzep.com/graphiti/graphiti/overview
6
6
  Project-URL: Repository, https://github.com/getzep/graphiti
@@ -272,15 +272,46 @@ Database names are configured directly in the driver constructors:
272
272
  - **Neo4j**: Database name defaults to `neo4j` (hardcoded in Neo4jDriver)
273
273
  - **FalkorDB**: Database name defaults to `default_db` (hardcoded in FalkorDriver)
274
274
 
275
- To use a different database name, pass the `database` parameter when creating the driver:
275
+ As of v0.17.0, if you need to customize your database configuration, you can instantiate a database driver and pass it to the Graphiti constructor using the `graph_driver` parameter.
276
+
277
+ #### Neo4j with Custom Database Name
276
278
 
277
279
  ```python
280
+ from graphiti_core import Graphiti
278
281
  from graphiti_core.driver.neo4j_driver import Neo4jDriver
279
282
 
280
- # Use custom database name
281
- driver = Neo4jDriver(uri="bolt://localhost:7687", user="neo4j", password="password", database="my_db")
283
+ # Create a Neo4j driver with custom database name
284
+ driver = Neo4jDriver(
285
+ uri="bolt://localhost:7687",
286
+ user="neo4j",
287
+ password="password",
288
+ database="my_custom_database" # Custom database name
289
+ )
290
+
291
+ # Pass the driver to Graphiti
292
+ graphiti = Graphiti(graph_driver=driver)
293
+ ```
294
+
295
+ #### FalkorDB with Custom Database Name
296
+
297
+ ```python
298
+ from graphiti_core import Graphiti
299
+ from graphiti_core.driver.falkordb_driver import FalkorDriver
300
+
301
+ # Create a FalkorDB driver with custom database name
302
+ driver = FalkorDriver(
303
+ host="localhost",
304
+ port=6379,
305
+ username="falkor_user", # Optional
306
+ password="falkor_password", # Optional
307
+ database="my_custom_graph" # Custom database name
308
+ )
309
+
310
+ # Pass the driver to Graphiti
311
+ graphiti = Graphiti(graph_driver=driver)
282
312
  ```
283
313
 
314
+
284
315
  ### Performance Configuration
285
316
 
286
317
  `USE_PARALLEL_RUNTIME` is an optional boolean variable that can be set to true if you wish
@@ -55,7 +55,7 @@ graphiti_core/search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
55
55
  graphiti_core/search/search.py,sha256=bJCFaNApu5396pXTa-xciu8ORDdRFJqfE3j2ieRVd7Y,15162
56
56
  graphiti_core/search/search_config.py,sha256=VvKg6AB_RPhoe56DBBXHRBXHThAVJ_OLFCyq_yKof-A,3765
57
57
  graphiti_core/search/search_config_recipes.py,sha256=4GquRphHhJlpXQhAZOySYnCzBWYoTwxlJj44eTOavZQ,7443
58
- graphiti_core/search/search_filters.py,sha256=H7Vgob2SvwsG56qiTDXDhI4R4MMY40TVpphY5KHPwYU,6382
58
+ graphiti_core/search/search_filters.py,sha256=cxiFkqB-r7QzVMh8nmujECLhzgsbeCpBHUQqDXnCQ3A,6383
59
59
  graphiti_core/search/search_helpers.py,sha256=G5Ceaq5Pfgx0Weelqgeylp_pUHwiBnINaUYsDbURJbE,2636
60
60
  graphiti_core/search/search_utils.py,sha256=616pGqC95PgW7DljgP5TDybzDKyO6IqrSPEEWQ87Pw0,34026
61
61
  graphiti_core/telemetry/__init__.py,sha256=5kALLDlU9bb2v19CdN7qVANsJWyfnL9E60J6FFgzm3o,226
@@ -71,7 +71,7 @@ graphiti_core/utils/maintenance/node_operations.py,sha256=4jMlmbB3zwK9KzIm2QXRxz
71
71
  graphiti_core/utils/maintenance/temporal_operations.py,sha256=mJkw9xLB4W2BsLfC5POr0r-PHWL9SIfNj_l_xu0B5ug,3410
72
72
  graphiti_core/utils/maintenance/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  graphiti_core/utils/ontology_utils/entity_types_utils.py,sha256=QJX5cG0GSSNF_Mm_yrldr69wjVAbN_MxLhOSznz85Hk,1279
74
- graphiti_core-0.17.0.dist-info/METADATA,sha256=iUp-kxBbaHL3AtcGLLLzOVqBG-vzxCGXzhpQ-knqJKM,22994
75
- graphiti_core-0.17.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
- graphiti_core-0.17.0.dist-info/licenses/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
77
- graphiti_core-0.17.0.dist-info/RECORD,,
74
+ graphiti_core-0.17.1.dist-info/METADATA,sha256=U4lMqT6JebOB4Rcxvlym2Gb3f1U3RexyG4jU2mhY9UU,23791
75
+ graphiti_core-0.17.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
+ graphiti_core-0.17.1.dist-info/licenses/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
77
+ graphiti_core-0.17.1.dist-info/RECORD,,