Hi, has anyone tried to augment ChatGPT with a knowledge graph?
c
Clay Smith
07/06/2023, 2:24 AM
Been experimenting with this at a very basic level: I created an embedding index of node names in the graph, then do a similar search on an input to get a list of nodes.
From there… I can do graph stuff, like find neighbors of nodes, etc
All that (relevant nodes/node neighbors) becomes context for the prompt
h
Hao Sun
07/06/2023, 3:27 PM
ah cool! Did you just use an open source knowledge graph like KBpedia?
c
Clay Smith
07/06/2023, 4:26 PM
Just built a really basic one using the networkx python lib, will take a look at KBpedia!