Replies: 2 comments
-
|
Working on it here: censeus/hypergraph#10 |
Beta Was this translation helpful? Give feedback.
-
|
The important distinction here is whether you want to constrain only entity extraction or also the allowed relationships and properties in the final graph. Those are related, but they affect different parts of the pipeline and often need different controls. I would start by testing the ontology directly in the extraction prompt so the model reasons inside those boundaries from the beginning. Post-filtering can still help, but it is usually weaker than getting the ontology into the extraction stage itself. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have predefined the ontology, or the structure of knowledge graph. Can I ask graphrag to generate knowledge graph from documents according to my ontology?
The ontology can be provided with text. Can I put it in the input folder and not extract entity from it?
I have also tried to refer to the ontology specification from prompts, but it doesn't seem to work.
I would greatly appreciate any guidance or suggestions on how to approach this problem.
Beta Was this translation helpful? Give feedback.
All reactions