diff --git a/AI/Neo4j/K3_Start.py b/AI/Neo4j/K3_Start.py index 1951f8e3..84d7bfd3 100644 --- a/AI/Neo4j/K3_Start.py +++ b/AI/Neo4j/K3_Start.py @@ -35,6 +35,8 @@ if __name__ == '__main__': print("-" * 50) try: kg = KnowledgeGraph(block) + # 替换一些特殊符号 + block = block.replace('```neo4j', '').replace('```', '') success, cypher = kg.run() print(cypher) res = executor.execute_cypher_text(cypher)