docs/how_to/graph_constructing/ #28661
Replies: 4 comments 5 replies
-
We have tested if LLMGraphTransformer is able to construct a Knowledge Graph of quality comparable to WikiData on 1200 random Wikipedia pages. These are our results: The querying process needs to be aware of hierarchy of types such as ‘Organization’ -> ‘Educational_institution’. There are also nodes that end up without any type and are marked as ‘Entity’ . The post processing needs to look at the nodes that are of this type and categorize them into suitable types. The node types do have exponential count distribution with a long tail of node types that do have 1 or few nodes. The node type ‘Document’ includes references to source data with relation type ‘mentions’. The nodes such as person do have attribute ‘id’ with a person's name as well as optional attributes such as ‘role’ . If you are interested in more details you can see it at: https://www.dynocortex.com/news-and-blog/good-kg-created-by-ai/ |
Beta Was this translation helpful? Give feedback.
-
If I want to further use the constructed knowledge graph as an external knowledge base, retrieve relevant subgraph information through RAG technology in response to user questions, how should I do it? |
Beta Was this translation helpful? Give feedback.
-
docs/how_to/graph_constructing/
In this guide we'll go over the basic ways of constructing a knowledge graph based on unstructured text. The constructured graph can then be used as knowledge base in a RAG application.
https://python.langchain.com/docs/how_to/graph_constructing/
Beta Was this translation helpful? Give feedback.
All reactions