How Can I Loop Through All Entities or Community Summaries in GraphRAG ? #1304
-
Hi everyone, In graphrag, can I loop through all entities or community summaries for.. lets say to generate synthetic data, using the entire entity or community summary as a context. Could anyone guide me on how to accomplish this? thankyou |
Beta Was this translation helpful? Give feedback.
Answered by
Adriansdls
Oct 23, 2024
Replies: 1 comment
-
Hi! Yes, you can do that. The parquet files that you get after indexing can be opened in a pandas dataframe. Once in the pandas dataframe you can very easily loop through all entities. Check the local search notebook in the repo, you will find what you need to get started. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
octadion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Yes, you can do that. The parquet files that you get after indexing can be opened in a pandas dataframe. Once in the pandas dataframe you can very easily loop through all entities. Check the local search notebook in the repo, you will find what you need to get started.