Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Could you explain how GraphRAG is currently implemented? #2471

Open
Defozo opened this issue Sep 18, 2024 · 3 comments
Open

[Question]: Could you explain how GraphRAG is currently implemented? #2471

Defozo opened this issue Sep 18, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Defozo
Copy link
Contributor

Defozo commented Sep 18, 2024

Describe your problem

What is being done during file parsing and where is it stored (the knowledge graph)?
What is being done during inferencing?

@Defozo Defozo added the question Further information is requested label Sep 18, 2024
@KevinHuSh
Copy link
Collaborator

During parsing, use LLM to extract entities, replations, comunities, then, every entity/relation/community store in ES.
During inference, use keywords to retrieve related entity/relation/community, then, extract the answer by LLM.

The code is in folder graphrag/.

@Defozo
Copy link
Contributor Author

Defozo commented Sep 18, 2024

Does it currently work with any agent workflow? Eg. with a "General-purpose chatbot"?

@KevinHuSh
Copy link
Collaborator

In agent, you can configure a 'Retrieval' component with a KG knowlegebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants