Hi, I'm using Llama_index Property Graph Index to generate a Knowledge Graph from a document. I use the code below to generate the graph.
Plain Text
index = PropertyGraphIndex.from_documents(
documents,
llm=llm,
embed_model=ollama_embedding,
show_progress=True,
)
I'm trying to get all nodes from the generated KG but can only find how to query a specific topic using retriever. Are there any ways I can retrieve all the nodes and relationships?