graphiti-core 0.9.0__tar.gz → 0.9.2__tar.gz

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.

Files changed (64) hide show
  1. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/PKG-INFO +1 -1
  2. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/edges.py +9 -9
  3. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/openai_client.py +2 -0
  4. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/nodes.py +9 -9
  5. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/pyproject.toml +2 -1
  6. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/LICENSE +0 -0
  7. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/README.md +0 -0
  8. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/__init__.py +0 -0
  9. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/cross_encoder/__init__.py +0 -0
  10. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/cross_encoder/bge_reranker_client.py +0 -0
  11. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/cross_encoder/client.py +0 -0
  12. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/cross_encoder/openai_reranker_client.py +0 -0
  13. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/embedder/__init__.py +0 -0
  14. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/embedder/client.py +0 -0
  15. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/embedder/gemini.py +0 -0
  16. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/embedder/openai.py +0 -0
  17. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/embedder/voyage.py +0 -0
  18. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/errors.py +0 -0
  19. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/graphiti.py +0 -0
  20. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/helpers.py +0 -0
  21. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/__init__.py +0 -0
  22. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/anthropic_client.py +0 -0
  23. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/client.py +0 -0
  24. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/config.py +0 -0
  25. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/errors.py +0 -0
  26. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/gemini_client.py +0 -0
  27. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/groq_client.py +0 -0
  28. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/openai_generic_client.py +0 -0
  29. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/llm_client/utils.py +0 -0
  30. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/models/__init__.py +0 -0
  31. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/models/edges/__init__.py +0 -0
  32. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/models/edges/edge_db_queries.py +0 -0
  33. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/models/nodes/__init__.py +0 -0
  34. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/models/nodes/node_db_queries.py +0 -0
  35. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/__init__.py +0 -0
  36. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/dedupe_edges.py +0 -0
  37. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/dedupe_nodes.py +0 -0
  38. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/eval.py +0 -0
  39. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/extract_edge_dates.py +0 -0
  40. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/extract_edges.py +0 -0
  41. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/extract_nodes.py +0 -0
  42. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/invalidate_edges.py +0 -0
  43. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/lib.py +0 -0
  44. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/models.py +0 -0
  45. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/prompt_helpers.py +0 -0
  46. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/prompts/summarize_nodes.py +0 -0
  47. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/py.typed +0 -0
  48. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/__init__.py +0 -0
  49. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/search.py +0 -0
  50. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/search_config.py +0 -0
  51. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/search_config_recipes.py +0 -0
  52. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/search_filters.py +0 -0
  53. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/search/search_utils.py +0 -0
  54. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/__init__.py +0 -0
  55. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/bulk_utils.py +0 -0
  56. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/datetime_utils.py +0 -0
  57. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/__init__.py +0 -0
  58. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/community_operations.py +0 -0
  59. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/edge_operations.py +0 -0
  60. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/graph_data_operations.py +0 -0
  61. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/node_operations.py +0 -0
  62. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/temporal_operations.py +0 -0
  63. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/maintenance/utils.py +0 -0
  64. {graphiti_core-0.9.0 → graphiti_core-0.9.2}/graphiti_core/utils/ontology_utils/entity_types_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: graphiti-core
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: A temporal graph building library
5
5
  License: Apache-2.0
6
6
  Author: Paul Paliychuk
@@ -143,9 +143,9 @@ class EpisodicEdge(Edge):
143
143
  driver: AsyncDriver,
144
144
  group_ids: list[str],
145
145
  limit: int | None = None,
146
- created_at: datetime | None = None,
146
+ uuid_cursor: str | None = None,
147
147
  ):
148
- cursor_query: LiteralString = 'AND e.created_at < $created_at' if created_at else ''
148
+ cursor_query: LiteralString = 'AND e.uuid < $uuid' if uuid_cursor else ''
149
149
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
150
150
 
151
151
  records, _, _ = await driver.execute_query(
@@ -165,7 +165,7 @@ class EpisodicEdge(Edge):
165
165
  """
166
166
  + limit_query,
167
167
  group_ids=group_ids,
168
- created_at=created_at,
168
+ uuid=uuid_cursor,
169
169
  limit=limit,
170
170
  database_=DEFAULT_DATABASE,
171
171
  routing_='r',
@@ -297,9 +297,9 @@ class EntityEdge(Edge):
297
297
  driver: AsyncDriver,
298
298
  group_ids: list[str],
299
299
  limit: int | None = None,
300
- created_at: datetime | None = None,
300
+ uuid_cursor: str | None = None,
301
301
  ):
302
- cursor_query: LiteralString = 'AND e.created_at < $created_at' if created_at else ''
302
+ cursor_query: LiteralString = 'AND e.uuid < $uuid' if uuid_cursor else ''
303
303
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
304
304
 
305
305
  records, _, _ = await driver.execute_query(
@@ -326,7 +326,7 @@ class EntityEdge(Edge):
326
326
  """
327
327
  + limit_query,
328
328
  group_ids=group_ids,
329
- created_at=created_at,
329
+ uuid=uuid_cursor,
330
330
  limit=limit,
331
331
  database_=DEFAULT_DATABASE,
332
332
  routing_='r',
@@ -430,9 +430,9 @@ class CommunityEdge(Edge):
430
430
  driver: AsyncDriver,
431
431
  group_ids: list[str],
432
432
  limit: int | None = None,
433
- created_at: datetime | None = None,
433
+ uuid_cursor: str | None = None,
434
434
  ):
435
- cursor_query: LiteralString = 'AND e.created_at < $created_at' if created_at else ''
435
+ cursor_query: LiteralString = 'AND e.uuid < $uuid' if uuid_cursor else ''
436
436
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
437
437
 
438
438
  records, _, _ = await driver.execute_query(
@@ -452,7 +452,7 @@ class CommunityEdge(Edge):
452
452
  """
453
453
  + limit_query,
454
454
  group_ids=group_ids,
455
- created_at=created_at,
455
+ uuid=uuid_cursor,
456
456
  limit=limit,
457
457
  database_=DEFAULT_DATABASE,
458
458
  routing_='r',
@@ -87,6 +87,8 @@ class OpenAIClient(LLMClient):
87
87
  else:
88
88
  self.client = client
89
89
 
90
+ self.max_tokens = max_tokens
91
+
90
92
  async def _generate_response(
91
93
  self,
92
94
  messages: list[Message],
@@ -216,9 +216,9 @@ class EpisodicNode(Node):
216
216
  driver: AsyncDriver,
217
217
  group_ids: list[str],
218
218
  limit: int | None = None,
219
- created_at: datetime | None = None,
219
+ uuid_cursor: str | None = None,
220
220
  ):
221
- cursor_query: LiteralString = 'AND e.created_at < $created_at' if created_at else ''
221
+ cursor_query: LiteralString = 'AND e.uuid < $uuid' if uuid_cursor else ''
222
222
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
223
223
 
224
224
  records, _, _ = await driver.execute_query(
@@ -241,7 +241,7 @@ class EpisodicNode(Node):
241
241
  """
242
242
  + limit_query,
243
243
  group_ids=group_ids,
244
- created_at=created_at,
244
+ uuid=uuid_cursor,
245
245
  limit=limit,
246
246
  database_=DEFAULT_DATABASE,
247
247
  routing_='r',
@@ -348,9 +348,9 @@ class EntityNode(Node):
348
348
  driver: AsyncDriver,
349
349
  group_ids: list[str],
350
350
  limit: int | None = None,
351
- created_at: datetime | None = None,
351
+ uuid_cursor: str | None = None,
352
352
  ):
353
- cursor_query: LiteralString = 'AND n.created_at < $created_at' if created_at else ''
353
+ cursor_query: LiteralString = 'AND n.uuid < $uuid' if uuid_cursor else ''
354
354
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
355
355
 
356
356
  records, _, _ = await driver.execute_query(
@@ -372,7 +372,7 @@ class EntityNode(Node):
372
372
  """
373
373
  + limit_query,
374
374
  group_ids=group_ids,
375
- created_at=created_at,
375
+ uuid=uuid_cursor,
376
376
  limit=limit,
377
377
  database_=DEFAULT_DATABASE,
378
378
  routing_='r',
@@ -465,9 +465,9 @@ class CommunityNode(Node):
465
465
  driver: AsyncDriver,
466
466
  group_ids: list[str],
467
467
  limit: int | None = None,
468
- created_at: datetime | None = None,
468
+ uuid_cursor: str | None = None,
469
469
  ):
470
- cursor_query: LiteralString = 'AND n.created_at < $created_at' if created_at else ''
470
+ cursor_query: LiteralString = 'AND n.uuid < $uuid' if uuid_cursor else ''
471
471
  limit_query: LiteralString = 'LIMIT $limit' if limit is not None else ''
472
472
 
473
473
  records, _, _ = await driver.execute_query(
@@ -487,7 +487,7 @@ class CommunityNode(Node):
487
487
  """
488
488
  + limit_query,
489
489
  group_ids=group_ids,
490
- created_at=created_at,
490
+ uuid=uuid_cursor,
491
491
  limit=limit,
492
492
  database_=DEFAULT_DATABASE,
493
493
  routing_='r',
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "graphiti-core"
3
- version = "0.9.0"
3
+ version = "0.9.2"
4
4
  description = "A temporal graph building library"
5
5
  authors = [
6
6
  "Paul Paliychuk <paul@getzep.com>",
@@ -31,6 +31,7 @@ google-genai = ["google-genai"]
31
31
  mypy = "^1.11.1"
32
32
  groq = ">=0.9,<0.12"
33
33
  anthropic = "~0.49.0"
34
+ google-genai = ">=0.8.0"
34
35
  ipykernel = "^6.29.5"
35
36
  jupyterlab = "^4.2.4"
36
37
  diskcache-stubs = "^5.6.3.6.20240818"
File without changes
File without changes