diff --git a/docs/docs/how_to/graph_constructing.ipynb b/docs/docs/how_to/graph_constructing.ipynb index d36ca54c8cf24..d036720b674a6 100644 --- a/docs/docs/how_to/graph_constructing.ipynb +++ b/docs/docs/how_to/graph_constructing.ipynb @@ -245,7 +245,7 @@ " allowed_nodes=[\"Person\", \"Country\", \"Organization\"],\n", " allowed_relationships=allowed_relationships,\n", ")\n", - "llm_transformer_tuple = llm_transformer_filtered.convert_to_graph_documents(documents)\n", + "graph_documents_filtered = llm_transformer_tuple.convert_to_graph_documents(documents)\n", "print(f\"Nodes:{graph_documents_filtered[0].nodes}\")\n", "print(f\"Relationships:{graph_documents_filtered[0].relationships}\")" ]