graphiti-core 0.15.1__tar.gz → 0.16.0__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 (184) hide show
  1. graphiti_core-0.16.0/.github/ISSUE_TEMPLATE/bug_report.md +54 -0
  2. graphiti_core-0.16.0/.github/pull_request_template.md +32 -0
  3. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/cla.yml +1 -1
  4. graphiti_core-0.16.0/.github/workflows/claude-code-review.yml +78 -0
  5. graphiti_core-0.16.0/.github/workflows/claude.yml +64 -0
  6. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/CLAUDE.md +4 -3
  7. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/PKG-INFO +23 -1
  8. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/README.md +22 -0
  9. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/podcast/podcast_runner.py +38 -14
  10. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/quickstart/README.md +23 -0
  11. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/cross_encoder/gemini_reranker_client.py +4 -1
  12. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/gemini.py +17 -5
  13. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/graphiti.py +106 -52
  14. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/gemini_client.py +8 -5
  15. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/dedupe_edges.py +5 -4
  16. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/dedupe_nodes.py +3 -3
  17. graphiti_core-0.16.0/graphiti_core/utils/bulk_utils.py +438 -0
  18. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/edge_operations.py +34 -120
  19. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/node_operations.py +11 -58
  20. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/pyproject.toml +1 -1
  21. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/signatures/version1/cla.json +8 -0
  22. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/uv.lock +1 -1
  23. graphiti_core-0.15.1/graphiti_core/utils/bulk_utils.py +0 -482
  24. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.env.example +0 -0
  25. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/dependabot.yml +0 -0
  26. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/secret_scanning.yml +0 -0
  27. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/codeql.yml +0 -0
  28. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/lint.yml +0 -0
  29. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/mcp-server-docker.yml +0 -0
  30. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/release-graphiti-core.yml +0 -0
  31. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/typecheck.yml +0 -0
  32. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.github/workflows/unit_tests.yml +0 -0
  33. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/.gitignore +0 -0
  34. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/CODE_OF_CONDUCT.md +0 -0
  35. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/CONTRIBUTING.md +0 -0
  36. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/Dockerfile +0 -0
  37. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/LICENSE +0 -0
  38. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/Makefile +0 -0
  39. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/SECURITY.md +0 -0
  40. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/Zep-CLA.md +0 -0
  41. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/conftest.py +0 -0
  42. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/depot.json +0 -0
  43. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/docker-compose.test.yml +0 -0
  44. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/docker-compose.yml +0 -0
  45. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/ellipsis.yaml +0 -0
  46. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/data/manybirds_products.json +0 -0
  47. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/ecommerce/runner.ipynb +0 -0
  48. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/ecommerce/runner.py +0 -0
  49. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/langgraph-agent/agent.ipynb +0 -0
  50. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/langgraph-agent/tinybirds-jess.png +0 -0
  51. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/podcast/podcast_transcript.txt +0 -0
  52. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/podcast/transcript_parser.py +0 -0
  53. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/quickstart/quickstart_falkordb.py +0 -0
  54. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/quickstart/quickstart_neo4j.py +0 -0
  55. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/quickstart/requirements.txt +0 -0
  56. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/wizard_of_oz/parser.py +0 -0
  57. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/wizard_of_oz/runner.py +0 -0
  58. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/examples/wizard_of_oz/woo.txt +0 -0
  59. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/__init__.py +0 -0
  60. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/cross_encoder/__init__.py +0 -0
  61. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/cross_encoder/bge_reranker_client.py +0 -0
  62. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/cross_encoder/client.py +0 -0
  63. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/cross_encoder/openai_reranker_client.py +0 -0
  64. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/driver/__init__.py +0 -0
  65. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/driver/driver.py +0 -0
  66. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/driver/falkordb_driver.py +0 -0
  67. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/driver/neo4j_driver.py +0 -0
  68. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/edges.py +0 -0
  69. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/__init__.py +0 -0
  70. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/azure_openai.py +0 -0
  71. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/client.py +0 -0
  72. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/openai.py +0 -0
  73. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/embedder/voyage.py +0 -0
  74. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/errors.py +0 -0
  75. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/graph_queries.py +0 -0
  76. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/graphiti_types.py +0 -0
  77. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/helpers.py +0 -0
  78. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/__init__.py +0 -0
  79. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/anthropic_client.py +0 -0
  80. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/azure_openai_client.py +0 -0
  81. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/client.py +0 -0
  82. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/config.py +0 -0
  83. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/errors.py +0 -0
  84. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/groq_client.py +0 -0
  85. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/openai_base_client.py +0 -0
  86. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/openai_client.py +0 -0
  87. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/openai_generic_client.py +0 -0
  88. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/llm_client/utils.py +0 -0
  89. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/models/__init__.py +0 -0
  90. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/models/edges/__init__.py +0 -0
  91. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/models/edges/edge_db_queries.py +0 -0
  92. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/models/nodes/__init__.py +0 -0
  93. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/models/nodes/node_db_queries.py +0 -0
  94. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/nodes.py +0 -0
  95. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/__init__.py +0 -0
  96. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/eval.py +0 -0
  97. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/extract_edge_dates.py +0 -0
  98. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/extract_edges.py +0 -0
  99. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/extract_nodes.py +0 -0
  100. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/invalidate_edges.py +0 -0
  101. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/lib.py +0 -0
  102. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/models.py +0 -0
  103. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/prompt_helpers.py +0 -0
  104. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/prompts/summarize_nodes.py +0 -0
  105. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/py.typed +0 -0
  106. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/__init__.py +0 -0
  107. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search.py +0 -0
  108. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search_config.py +0 -0
  109. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search_config_recipes.py +0 -0
  110. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search_filters.py +0 -0
  111. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search_helpers.py +0 -0
  112. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/search/search_utils.py +0 -0
  113. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/telemetry/__init__.py +0 -0
  114. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/telemetry/telemetry.py +0 -0
  115. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/__init__.py +0 -0
  116. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/datetime_utils.py +0 -0
  117. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/__init__.py +0 -0
  118. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/community_operations.py +0 -0
  119. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/graph_data_operations.py +0 -0
  120. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/temporal_operations.py +0 -0
  121. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/maintenance/utils.py +0 -0
  122. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/graphiti_core/utils/ontology_utils/entity_types_utils.py +0 -0
  123. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/images/arxiv-screenshot.png +0 -0
  124. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/images/graphiti-graph-intro.gif +0 -0
  125. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/images/graphiti-intro-slides-stock-2.gif +0 -0
  126. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/images/simple_graph.svg +0 -0
  127. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/.env.example +0 -0
  128. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/.python-version +0 -0
  129. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/Dockerfile +0 -0
  130. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/README.md +0 -0
  131. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/cursor_rules.md +0 -0
  132. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/docker-compose.yml +0 -0
  133. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/graphiti_mcp_server.py +0 -0
  134. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/mcp_config_sse_example.json +0 -0
  135. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/mcp_config_stdio_example.json +0 -0
  136. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/pyproject.toml +0 -0
  137. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/mcp_server/uv.lock +0 -0
  138. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/poetry.lock +0 -0
  139. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/py.typed +0 -0
  140. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/pytest.ini +0 -0
  141. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/.env.example +0 -0
  142. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/Makefile +0 -0
  143. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/README.md +0 -0
  144. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/__init__.py +0 -0
  145. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/config.py +0 -0
  146. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/dto/__init__.py +0 -0
  147. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/dto/common.py +0 -0
  148. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/dto/ingest.py +0 -0
  149. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/dto/retrieve.py +0 -0
  150. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/main.py +0 -0
  151. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/routers/__init__.py +0 -0
  152. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/routers/ingest.py +0 -0
  153. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/routers/retrieve.py +0 -0
  154. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/graph_service/zep_graphiti.py +0 -0
  155. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/pyproject.toml +0 -0
  156. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/server/uv.lock +0 -0
  157. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/cross_encoder/test_bge_reranker_client.py +0 -0
  158. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/cross_encoder/test_gemini_reranker_client.py +0 -0
  159. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/driver/__init__.py +0 -0
  160. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/driver/test_falkordb_driver.py +0 -0
  161. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/embedder/embedder_fixtures.py +0 -0
  162. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/embedder/test_gemini.py +0 -0
  163. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/embedder/test_openai.py +0 -0
  164. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/embedder/test_voyage.py +0 -0
  165. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/data/longmemeval_data/README.md +0 -0
  166. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/data/longmemeval_data/longmemeval_oracle.json +0 -0
  167. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/eval_cli.py +0 -0
  168. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/eval_e2e_graph_building.py +0 -0
  169. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/pytest.ini +0 -0
  170. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/evals/utils.py +0 -0
  171. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/helpers_test.py +0 -0
  172. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/llm_client/test_anthropic_client.py +0 -0
  173. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/llm_client/test_anthropic_client_int.py +0 -0
  174. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/llm_client/test_client.py +0 -0
  175. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/llm_client/test_errors.py +0 -0
  176. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/llm_client/test_gemini_client.py +0 -0
  177. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/test_entity_exclusion_int.py +0 -0
  178. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/test_graphiti_falkordb_int.py +0 -0
  179. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/test_graphiti_int.py +0 -0
  180. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/test_node_falkordb_int.py +0 -0
  181. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/test_node_int.py +0 -0
  182. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/utils/maintenance/test_edge_operations.py +0 -0
  183. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/utils/maintenance/test_temporal_operations_int.py +0 -0
  184. {graphiti_core-0.15.1 → graphiti_core-0.16.0}/tests/utils/search/search_utils_test.py +0 -0
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: Bug Report
3
+ about: Create a report to help us improve Graphiti
4
+ title: '[BUG] '
5
+ labels: bug
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Bug Description
10
+ A clear and concise description of what the bug is.
11
+
12
+ ## Steps to Reproduce
13
+ Provide a minimal code example that reproduces the issue:
14
+
15
+ ```python
16
+ # Your code here
17
+ ```
18
+
19
+ ## Expected Behavior
20
+ A clear and concise description of what you expected to happen.
21
+
22
+ ## Actual Behavior
23
+ A clear and concise description of what actually happened.
24
+
25
+ ## Environment
26
+ - **Graphiti Version**: [e.g. 0.15.1]
27
+ - **Python Version**: [e.g. 3.11.5]
28
+ - **Operating System**: [e.g. macOS 14.0, Ubuntu 22.04]
29
+ - **Database Backend**: [e.g. Neo4j 5.26, FalkorDB 1.1.2]
30
+ - **LLM Provider & Model**: [e.g. OpenAI gpt-4.1, Anthropic claude-4-sonnet, Google gemini-2.5-flash]
31
+
32
+ ## Installation Method
33
+ - [ ] pip install
34
+ - [ ] uv add
35
+ - [ ] Development installation (git clone)
36
+
37
+ ## Error Messages/Traceback
38
+ ```
39
+ Paste the full error message and traceback here
40
+ ```
41
+
42
+ ## Configuration
43
+ ```python
44
+ # Relevant configuration or initialization code
45
+ ```
46
+
47
+ ## Additional Context
48
+ - Does this happen consistently or intermittently?
49
+ - Which component are you using? (core library, REST server, MCP server)
50
+ - Any recent changes to your environment?
51
+ - Related issues or similar problems you've encountered?
52
+
53
+ ## Possible Solution
54
+ If you have ideas about what might be causing the issue or how to fix it, please share them here.
@@ -0,0 +1,32 @@
1
+ ## Summary
2
+ Brief description of the changes in this PR.
3
+
4
+ ## Type of Change
5
+ - [ ] Bug fix
6
+ - [ ] New feature
7
+ - [ ] Performance improvement
8
+ - [ ] Documentation/Tests
9
+
10
+ ## Objective
11
+ **For new features and performance improvements:** Clearly describe the objective and rationale for this change.
12
+
13
+ ## Testing
14
+ - [ ] Unit tests added/updated
15
+ - [ ] Integration tests added/updated
16
+ - [ ] All existing tests pass
17
+
18
+ ## Breaking Changes
19
+ - [ ] This PR contains breaking changes
20
+
21
+ If this is a breaking change, describe:
22
+ - What functionality is affected
23
+ - Migration path for existing users
24
+
25
+ ## Checklist
26
+ - [ ] Code follows project style guidelines (`make lint` passes)
27
+ - [ ] Self-review completed
28
+ - [ ] Documentation updated where necessary
29
+ - [ ] No secrets or sensitive information committed
30
+
31
+ ## Related Issues
32
+ Closes #[issue number]
@@ -28,7 +28,7 @@ jobs:
28
28
  path-to-document: "https://github.com/getzep/graphiti/blob/main/Zep-CLA.md" # e.g. a CLA or a DCO document
29
29
  # branch should not be protected unless a personal PAT is used
30
30
  branch: "main"
31
- allowlist: paul-paliychuk,prasmussen15,danielchalef,dependabot[bot],ellipsis-dev
31
+ allowlist: paul-paliychuk,prasmussen15,danielchalef,dependabot[bot],ellipsis-dev,Claude[bot]
32
32
 
33
33
  # the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
34
34
  #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
@@ -0,0 +1,78 @@
1
+ name: Claude Code Review
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
+ # Optional: Only run on specific file changes
7
+ # paths:
8
+ # - "src/**/*.ts"
9
+ # - "src/**/*.tsx"
10
+ # - "src/**/*.js"
11
+ # - "src/**/*.jsx"
12
+
13
+ jobs:
14
+ claude-review:
15
+ # Optional: Filter by PR author
16
+ # if: |
17
+ # github.event.pull_request.user.login == 'external-contributor' ||
18
+ # github.event.pull_request.user.login == 'new-developer' ||
19
+ # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
20
+
21
+ runs-on: ubuntu-latest
22
+ permissions:
23
+ contents: read
24
+ pull-requests: write
25
+ issues: read
26
+ id-token: write
27
+
28
+ steps:
29
+ - name: Checkout repository
30
+ uses: actions/checkout@v4
31
+ with:
32
+ fetch-depth: 1
33
+
34
+ - name: Run Claude Code Review
35
+ id: claude-review
36
+ uses: anthropics/claude-code-action@beta
37
+ with:
38
+ anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
39
+
40
+ # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
41
+ # model: "claude-opus-4-20250514"
42
+
43
+ # Direct prompt for automated review (no @claude mention needed)
44
+ direct_prompt: |
45
+ Please review this pull request and provide feedback on:
46
+ - Code quality and best practices
47
+ - Potential bugs or issues
48
+ - Performance considerations
49
+ - Security concerns
50
+ - Test coverage
51
+
52
+ Be constructive and helpful in your feedback.
53
+
54
+ # Optional: Use sticky comments to make Claude reuse the same comment on subsequent pushes to the same PR
55
+ # use_sticky_comment: true
56
+
57
+ # Optional: Customize review based on file types
58
+ # direct_prompt: |
59
+ # Review this PR focusing on:
60
+ # - For TypeScript files: Type safety and proper interface usage
61
+ # - For API endpoints: Security, input validation, and error handling
62
+ # - For React components: Performance, accessibility, and best practices
63
+ # - For tests: Coverage, edge cases, and test quality
64
+
65
+ # Optional: Different prompts for different authors
66
+ # direct_prompt: |
67
+ # ${{ github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' &&
68
+ # 'Welcome! Please review this PR from a first-time contributor. Be encouraging and provide detailed explanations for any suggestions.' ||
69
+ # 'Please provide a thorough code review focusing on our coding standards and best practices.' }}
70
+
71
+ # Optional: Add specific tools for running tests or linting
72
+ # allowed_tools: "Bash(npm run test),Bash(npm run lint),Bash(npm run typecheck)"
73
+
74
+ # Optional: Skip review for certain conditions
75
+ # if: |
76
+ # !contains(github.event.pull_request.title, '[skip-review]') &&
77
+ # !contains(github.event.pull_request.title, '[WIP]')
78
+
@@ -0,0 +1,64 @@
1
+ name: Claude Code
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [created]
6
+ pull_request_review_comment:
7
+ types: [created]
8
+ issues:
9
+ types: [opened, assigned]
10
+ pull_request_review:
11
+ types: [submitted]
12
+
13
+ jobs:
14
+ claude:
15
+ if: |
16
+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17
+ (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18
+ (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19
+ (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20
+ runs-on: ubuntu-latest
21
+ permissions:
22
+ contents: read
23
+ pull-requests: write
24
+ issues: write
25
+ id-token: write
26
+ actions: read # Required for Claude to read CI results on PRs
27
+ steps:
28
+ - name: Checkout repository
29
+ uses: actions/checkout@v4
30
+ with:
31
+ fetch-depth: 1
32
+
33
+ - name: Run Claude Code
34
+ id: claude
35
+ uses: anthropics/claude-code-action@beta
36
+ with:
37
+ anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
38
+
39
+ # This is an optional setting that allows Claude to read CI results on PRs
40
+ additional_permissions: |
41
+ actions: read
42
+
43
+ # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
44
+ # model: "claude-opus-4-20250514"
45
+
46
+ # Optional: Customize the trigger phrase (default: @claude)
47
+ # trigger_phrase: "/claude"
48
+
49
+ # Optional: Trigger when specific user is assigned to an issue
50
+ # assignee_trigger: "claude-bot"
51
+
52
+ # Optional: Allow Claude to run specific commands
53
+ # allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
54
+
55
+ # Optional: Add custom instructions for Claude to customize its behavior for your project
56
+ # custom_instructions: |
57
+ # Follow our coding standards
58
+ # Ensure all new code has tests
59
+ # Use TypeScript for new files
60
+
61
+ # Optional: Custom environment variables for Claude
62
+ # claude_env: |
63
+ # NODE_ENV: test
64
+
@@ -24,7 +24,7 @@ uv sync --extra dev
24
24
  # Format code (ruff import sorting + formatting)
25
25
  make format
26
26
 
27
- # Lint code (ruff + mypy type checking)
27
+ # Lint code (ruff + pyright type checking)
28
28
  make lint
29
29
 
30
30
  # Run tests
@@ -111,7 +111,8 @@ docker-compose up
111
111
  - Use Ruff for formatting and linting (configured in pyproject.toml)
112
112
  - Line length: 100 characters
113
113
  - Quote style: single quotes
114
- - Type checking with MyPy is enforced
114
+ - Type checking with Pyright is enforced
115
+ - Main project uses `typeCheckingMode = "basic"`, server uses `typeCheckingMode = "standard"`
115
116
 
116
117
  ### Testing Requirements
117
118
 
@@ -130,4 +131,4 @@ When working with the MCP server, follow the patterns established in `mcp_server
130
131
  - Always search for existing knowledge before adding new information
131
132
  - Use specific entity type filters (`Preference`, `Procedure`, `Requirement`)
132
133
  - Store new information immediately using `add_memory`
133
- - Follow discovered procedures and respect established preferences
134
+ - Follow discovered procedures and respect established preferences
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphiti-core
3
- Version: 0.15.1
3
+ Version: 0.16.0
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
@@ -265,6 +265,28 @@ In addition to the Neo4j and OpenAi-compatible credentials, Graphiti also has a
265
265
  If you are using one of our supported models, such as Anthropic or Voyage models, the necessary environment variables
266
266
  must be set.
267
267
 
268
+ ### Database Configuration
269
+
270
+ `DEFAULT_DATABASE` specifies the database name to use for graph operations. This is particularly important for Neo4j 5+ users:
271
+
272
+ - **Neo4j 5+**: The default database name is `neo4j` (not `default_db`)
273
+ - **Neo4j 4**: The default database name is `default_db`
274
+ - **FalkorDB**: The default graph name is `default_db`
275
+
276
+ If you encounter the error `Graph not found: default_db` when using Neo4j 5, set:
277
+
278
+ ```bash
279
+ export DEFAULT_DATABASE=neo4j
280
+ ```
281
+
282
+ Or add to your `.env` file:
283
+
284
+ ```
285
+ DEFAULT_DATABASE=neo4j
286
+ ```
287
+
288
+ ### Performance Configuration
289
+
268
290
  `USE_PARALLEL_RUNTIME` is an optional boolean variable that can be set to true if you wish
269
291
  to enable Neo4j's parallel runtime feature for several of our search queries.
270
292
  Note that this feature is not supported for Neo4j Community edition or for smaller AuraDB instances,
@@ -213,6 +213,28 @@ In addition to the Neo4j and OpenAi-compatible credentials, Graphiti also has a
213
213
  If you are using one of our supported models, such as Anthropic or Voyage models, the necessary environment variables
214
214
  must be set.
215
215
 
216
+ ### Database Configuration
217
+
218
+ `DEFAULT_DATABASE` specifies the database name to use for graph operations. This is particularly important for Neo4j 5+ users:
219
+
220
+ - **Neo4j 5+**: The default database name is `neo4j` (not `default_db`)
221
+ - **Neo4j 4**: The default database name is `default_db`
222
+ - **FalkorDB**: The default graph name is `default_db`
223
+
224
+ If you encounter the error `Graph not found: default_db` when using Neo4j 5, set:
225
+
226
+ ```bash
227
+ export DEFAULT_DATABASE=neo4j
228
+ ```
229
+
230
+ Or add to your `.env` file:
231
+
232
+ ```
233
+ DEFAULT_DATABASE=neo4j
234
+ ```
235
+
236
+ ### Performance Configuration
237
+
216
238
  `USE_PARALLEL_RUNTIME` is an optional boolean variable that can be set to true if you wish
217
239
  to enable Neo4j's parallel runtime feature for several of our search queries.
218
240
  Note that this feature is not supported for Neo4j Community edition or for smaller AuraDB instances,
@@ -25,6 +25,8 @@ from pydantic import BaseModel, Field
25
25
  from transcript_parser import parse_podcast_messages
26
26
 
27
27
  from graphiti_core import Graphiti
28
+ from graphiti_core.nodes import EpisodeType
29
+ from graphiti_core.utils.bulk_utils import RawEpisode
28
30
  from graphiti_core.utils.maintenance.graph_data_operations import clear_data
29
31
 
30
32
  load_dotenv()
@@ -67,7 +69,7 @@ class IsPresidentOf(BaseModel):
67
69
  """Relationship between a person and the entity they are a president of"""
68
70
 
69
71
 
70
- async def main():
72
+ async def main(use_bulk: bool = False):
71
73
  setup_logging()
72
74
  client = Graphiti(neo4j_uri, neo4j_user, neo4j_password)
73
75
  await clear_data(client.driver)
@@ -75,21 +77,43 @@ async def main():
75
77
  messages = parse_podcast_messages()
76
78
  group_id = str(uuid4())
77
79
 
78
- for i, message in enumerate(messages[3:14]):
79
- episodes = await client.retrieve_episodes(message.actual_timestamp, 3, group_ids=[group_id])
80
- episode_uuids = [episode.uuid for episode in episodes]
81
-
82
- await client.add_episode(
83
- name=f'Message {i}',
84
- episode_body=f'{message.speaker_name} ({message.role}): {message.content}',
85
- reference_time=message.actual_timestamp,
86
- source_description='Podcast Transcript',
80
+ raw_episodes: list[RawEpisode] = []
81
+ for i, message in enumerate(messages[3:7]):
82
+ raw_episodes.append(
83
+ RawEpisode(
84
+ name=f'Message {i}',
85
+ content=f'{message.speaker_name} ({message.role}): {message.content}',
86
+ reference_time=message.actual_timestamp,
87
+ source=EpisodeType.message,
88
+ source_description='Podcast Transcript',
89
+ )
90
+ )
91
+ if use_bulk:
92
+ await client.add_episode_bulk(
93
+ raw_episodes,
87
94
  group_id=group_id,
88
95
  entity_types={'Person': Person},
89
96
  edge_types={'IS_PRESIDENT_OF': IsPresidentOf},
90
97
  edge_type_map={('Person', 'Entity'): ['PRESIDENT_OF']},
91
- previous_episode_uuids=episode_uuids,
92
98
  )
93
-
94
-
95
- asyncio.run(main())
99
+ else:
100
+ for i, message in enumerate(messages[3:14]):
101
+ episodes = await client.retrieve_episodes(
102
+ message.actual_timestamp, 3, group_ids=[group_id]
103
+ )
104
+ episode_uuids = [episode.uuid for episode in episodes]
105
+
106
+ await client.add_episode(
107
+ name=f'Message {i}',
108
+ episode_body=f'{message.speaker_name} ({message.role}): {message.content}',
109
+ reference_time=message.actual_timestamp,
110
+ source_description='Podcast Transcript',
111
+ group_id=group_id,
112
+ entity_types={'Person': Person},
113
+ edge_types={'IS_PRESIDENT_OF': IsPresidentOf},
114
+ edge_type_map={('Person', 'Entity'): ['PRESIDENT_OF']},
115
+ previous_episode_uuids=episode_uuids,
116
+ )
117
+
118
+
119
+ asyncio.run(main(True))
@@ -41,6 +41,9 @@ export NEO4J_PASSWORD=password
41
41
 
42
42
  # Optional FalkorDB connection parameters (defaults shown)
43
43
  export FALKORDB_URI=falkor://localhost:6379
44
+
45
+ # Database configuration (required for Neo4j 5+)
46
+ export DEFAULT_DATABASE=neo4j
44
47
  ```
45
48
 
46
49
  3. Run the example:
@@ -71,6 +74,26 @@ After running this example, you can:
71
74
  4. Try other predefined search recipes from `graphiti_core.search.search_config_recipes`
72
75
  5. Explore the more advanced examples in the other directories
73
76
 
77
+ ## Troubleshooting
78
+
79
+ ### "Graph not found: default_db" Error
80
+
81
+ If you encounter the error `Neo.ClientError.Database.DatabaseNotFound: Graph not found: default_db`, this typically occurs with Neo4j 5+ where the default database name is `neo4j` instead of `default_db`.
82
+
83
+ **Solution:**
84
+ Set the `DEFAULT_DATABASE` environment variable to `neo4j`:
85
+
86
+ ```bash
87
+ export DEFAULT_DATABASE=neo4j
88
+ ```
89
+
90
+ Or add it to your `.env` file:
91
+ ```
92
+ DEFAULT_DATABASE=neo4j
93
+ ```
94
+
95
+ This tells Graphiti to use the correct database name for your Neo4j version.
96
+
74
97
  ## Understanding the Output
75
98
 
76
99
  ### Edge Search Results
@@ -41,6 +41,10 @@ DEFAULT_MODEL = 'gemini-2.5-flash-lite-preview-06-17'
41
41
 
42
42
 
43
43
  class GeminiRerankerClient(CrossEncoderClient):
44
+ """
45
+ Google Gemini Reranker Client
46
+ """
47
+
44
48
  def __init__(
45
49
  self,
46
50
  config: LLMConfig | None = None,
@@ -57,7 +61,6 @@ class GeminiRerankerClient(CrossEncoderClient):
57
61
  config (LLMConfig | None): The configuration for the LLM client, including API key, model, base URL, temperature, and max tokens.
58
62
  client (genai.Client | None): An optional async client instance to use. If not provided, a new genai.Client is created.
59
63
  """
60
-
61
64
  if config is None:
62
65
  config = LLMConfig()
63
66
 
@@ -47,15 +47,27 @@ class GeminiEmbedder(EmbedderClient):
47
47
  Google Gemini Embedder Client
48
48
  """
49
49
 
50
- def __init__(self, config: GeminiEmbedderConfig | None = None):
50
+ def __init__(
51
+ self,
52
+ config: GeminiEmbedderConfig | None = None,
53
+ client: 'genai.Client | None' = None,
54
+ ):
55
+ """
56
+ Initialize the GeminiEmbedder with the provided configuration and client.
57
+
58
+ Args:
59
+ config (GeminiEmbedderConfig | None): The configuration for the GeminiEmbedder, including API key, model, base URL, temperature, and max tokens.
60
+ client (genai.Client | None): An optional async client instance to use. If not provided, a new genai.Client is created.
61
+ """
51
62
  if config is None:
52
63
  config = GeminiEmbedderConfig()
64
+
53
65
  self.config = config
54
66
 
55
- # Configure the Gemini API
56
- self.client = genai.Client(
57
- api_key=config.api_key,
58
- )
67
+ if client is None:
68
+ self.client = genai.Client(api_key=config.api_key)
69
+ else:
70
+ self.client = client
59
71
 
60
72
  async def create(
61
73
  self, input_data: str | list[str] | Iterable[int] | Iterable[Iterable[int]]