Update README.md - init (#64)
* Update README.md - init * Update README.md
This commit is contained in:
parent
95eeaa575c
commit
d9f07049bd
1 changed files with 3 additions and 0 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue