From 16e079dcf2059dfa473e4cb8558fbbdf79216a73 Mon Sep 17 00:00:00 2001 From: galshubeli Date: Sun, 1 Sep 2024 17:27:55 +0300 Subject: [PATCH 1/2] fix relations upsert --- .../graph_stores/falkordb/falkordb_property_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/llama_index/graph_stores/falkordb/falkordb_property_graph.py b/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/llama_index/graph_stores/falkordb/falkordb_property_graph.py index cf163a319e48e..1597712aa411a 100644 --- a/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/llama_index/graph_stores/falkordb/falkordb_property_graph.py +++ b/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/llama_index/graph_stores/falkordb/falkordb_property_graph.py @@ -251,7 +251,7 @@ def upsert_relations(self, relations: List[Relation]) -> None: MERGE (target {{id: $data.target_id}}) ON CREATE SET target:Chunk WITH source, target - CREATE (source)-[r:{param["label"]}]->(target) + CREATE (source)-[r:`{param["label"]}`]->(target) SET r += $data.properties RETURN count(*) """, From 6976125794f5a255648648acf6e1674616c52510 Mon Sep 17 00:00:00 2001 From: galshubeli Date: Mon, 2 Sep 2024 14:03:47 +0300 Subject: [PATCH 2/2] bump version --- .../llama-index-graph-stores-falkordb/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/pyproject.toml b/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/pyproject.toml index 26ebc55c134b4..64b6882df47b2 100644 --- a/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/pyproject.toml +++ b/llama-index-integrations/graph_stores/llama-index-graph-stores-falkordb/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-graph-stores-falkordb" readme = "README.md" -version = "0.2.0" +version = "0.2.1" [tool.poetry.dependencies] python = ">=3.8.1,<4.0"