From d9f07049bd5732379285cfc3822117ca001381fb Mon Sep 17 00:00:00 2001 From: Daniel Chalef <131175+danielchalef@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:42:09 -0700 Subject: [PATCH] Update README.md - init (#64) * Update README.md - init * Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3c98389f..f6d252db 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,9 @@ from datetime import datetime # Initialize Graphiti graphiti = Graphiti("bolt://localhost:7687", "neo4j", "password") +# Initialize the graph database with graphiti's indices. This only needs to be done once. +graphiti.build_indices_and_constraints() + # Add episodes episodes = [ "Kamala Harris is the Attorney General of California. She was previously "