graphiti-core 0.11.0__tar.gz → 0.11.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.
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/PKG-INFO +1 -1
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search_utils.py +16 -9
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/node_operations.py +1 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/pyproject.toml +1 -1
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/LICENSE +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/README.md +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/bge_reranker_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/openai_reranker_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/edges.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/embedder/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/embedder/client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/embedder/gemini.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/embedder/openai.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/embedder/voyage.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/errors.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/graphiti.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/graphiti_types.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/helpers.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/anthropic_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/config.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/errors.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/gemini_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/groq_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/openai_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/openai_generic_client.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/utils.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/models/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/models/edges/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/models/edges/edge_db_queries.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/models/nodes/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/models/nodes/node_db_queries.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/nodes.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/dedupe_edges.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/dedupe_nodes.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/eval.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/extract_edge_dates.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/extract_edges.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/extract_nodes.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/invalidate_edges.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/lib.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/models.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/prompt_helpers.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/prompts/summarize_nodes.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/py.typed +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search_config.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search_config_recipes.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search_filters.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/search/search_helpers.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/bulk_utils.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/datetime_utils.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/__init__.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/community_operations.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/edge_operations.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/graph_data_operations.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/temporal_operations.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/utils.py +0 -0
- {graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/ontology_utils/entity_types_utils.py +0 -0
|
@@ -341,10 +341,10 @@ async def node_fulltext_search(
|
|
|
341
341
|
|
|
342
342
|
query = (
|
|
343
343
|
"""
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
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
|
+ """
|
|
@@ -676,7 +676,7 @@ async def get_relevant_nodes(
|
|
|
676
676
|
WHERE score > $min_score
|
|
677
677
|
WITH node, collect(n)[..$limit] AS top_vector_nodes, collect(n.uuid) AS vector_node_uuids
|
|
678
678
|
|
|
679
|
-
CALL db.index.fulltext.queryNodes("node_name_and_summary",
|
|
679
|
+
CALL db.index.fulltext.queryNodes("node_name_and_summary", node.fulltext_query, {limit: $limit})
|
|
680
680
|
YIELD node AS m
|
|
681
681
|
WHERE m.group_id = $group_id
|
|
682
682
|
WITH node, top_vector_nodes, vector_node_uuids, collect(m) AS fulltext_nodes
|
|
@@ -705,13 +705,20 @@ async def get_relevant_nodes(
|
|
|
705
705
|
"""
|
|
706
706
|
)
|
|
707
707
|
|
|
708
|
+
query_nodes = [
|
|
709
|
+
{
|
|
710
|
+
'uuid': node.uuid,
|
|
711
|
+
'name': node.name,
|
|
712
|
+
'name_embedding': node.name_embedding,
|
|
713
|
+
'fulltext_query': fulltext_query(node.name, [node.group_id]),
|
|
714
|
+
}
|
|
715
|
+
for node in nodes
|
|
716
|
+
]
|
|
717
|
+
|
|
708
718
|
results, _, _ = await driver.execute_query(
|
|
709
719
|
query,
|
|
710
720
|
query_params,
|
|
711
|
-
nodes=
|
|
712
|
-
{'uuid': node.uuid, 'name': node.name, 'name_embedding': node.name_embedding}
|
|
713
|
-
for node in nodes
|
|
714
|
-
],
|
|
721
|
+
nodes=query_nodes,
|
|
715
722
|
group_id=group_id,
|
|
716
723
|
limit=limit,
|
|
717
724
|
min_score=min_score,
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/node_operations.py
RENAMED
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "graphiti-core"
|
|
3
3
|
description = "A temporal graph building library"
|
|
4
|
-
version = "0.11.
|
|
4
|
+
version = "0.11.2"
|
|
5
5
|
authors = [
|
|
6
6
|
{ "name" = "Paul Paliychuk", "email" = "paul@getzep.com" },
|
|
7
7
|
{ "name" = "Preston Rasmussen", "email" = "preston@getzep.com" },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/bge_reranker_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/cross_encoder/openai_reranker_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/llm_client/openai_generic_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/edge_operations.py
RENAMED
|
File without changes
|
|
File without changes
|
{graphiti_core-0.11.0 → graphiti_core-0.11.2}/graphiti_core/utils/maintenance/temporal_operations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|