Nice project! I built something extremely similar with a friend in 2022! Back when we only had the GPT-3 API. I built an ontological graph and relation extractor, mental model analysis engine, bunch of stuff, on top of an Elastic DB being filled with live incoming ephemeral data across the web, including messages, comments, posts, articles and more.
I would really love for you to reach out via the email in my bio so we can talk ontology!