Hacker News new | ask | show | jobs
Show HN: Generate Knowledge Graphs with LLMs (share.streamlit.io)
3 points by benthecoder 979 days ago
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 Instructor: https://pypi.org/project/instructor/

1 comments

This 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/...

interesting, thanks for sharing! Maybe check out if instructor helps https://jxnl.github.io/instructor/examples/knowledge_graph/

What do you use for the UI?

I will try it out. It looks straightforward.

For UI, I used a tiny tool I wrote: https://github.com/charstorm/linkitall/