mirror of
https://github.com/getzep/graphiti.git
synced 2024-09-08 19:13:11 +03:00
Update README.md - init (#64)
* Update README.md - init * Update README.md
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user