2 ms·
Show HN: Generate Knowledge Graphs with LLMs
I created an app that lets you generate knowledge graphs about any topic. It uses OpenAI GPT-3.5 and instructor to generate knowledge graphs.
Feel free to try it and provide any feedback! The UI still needs some work, but this is just a prototype.
Code: https://github.com/benthecoder/pansophy https://github.com/benthecoder/pansophy
Instructor: https://pypi.org/project/instructor/ https://pypi.org/project/instructor/
- graphitout 3y agoThis is very interesting. I am working on a similar project related to generating dependency graphs (basically only type of connection is A depends on B). I tried to get the common chatbots to generate the data in the form of dependencies, but I didn't have much luck. Example graph (hand written): https://charstorm.github.io/class-11-12-india/class11/maths/sets_relations_functions/ https://charstorm.github.io/class-11-12-india/class11/maths/...
- benthecoder 3y agointeresting, thanks for sharing! Maybe check out if instructor helps https://jxnl.github.io/instructor/examples/knowledge_graph/ https://jxnl.github.io/instructor/examples/knowledge_graph/ What do you use for the UI?
- graphitout 3y agoI will try it out. It looks straightforward. For UI, I used a tiny tool I wrote: https://github.com/charstorm/linkitall/ https://github.com/charstorm/linkitall/