News for hackers. Stuff that matters.
Re:Show HN: GPT-grap. A simple, GPT-3 text to entity-relatio... by motyar on Sunday March 05, 2023 @02:18AM (#35027589)
Any live demo? we can try.

I can't find what prompt was used in code.

Re:Show HN: GPT-grap. A simple, GPT-3 text to entity-relatio... by mrsernine on Sunday March 05, 2023 @06:34AM (#35028688)
I'm afraid this is a desktop application so there's no live demo right now. But yeah maybe I could set something up so it can be demoed online.

There are binaries you can use for windows and linux, you need an OpenAI api key though:

https://github.com/achousa/gpt-graph/releases

As for the prompt you can find it in: scr/config/prompts.js

https://github.com/achousa/gpt-graph/blob/main/src/config/pr...

Re:Show HN: GPT-grap. A simple, GPT-3 text to entity-relatio... by motyar on Monday March 06, 2023 @06:32AM (#35039807)
Thanks a lot.

I don't know much but tried to make a web based version of this with very basic functionality.

https://twitter.com/motyar/status/1632699003061108737

Re:Show HN: GPT-grap. A simple, GPT-3 text to entity-relatio... by mrsernine on Monday March 06, 2023 @07:02PM (#35049692)
It's amazing how the model is capable of identifying concepts as nodes in the graph, and linking them together. It means it's also useful for concept maps, apart from simply NER.

I've set up a little online demo, however due to browser sandboxing, it's lacking the "load file" functionality. The application loads as a static asset, and API Key get's stored solely in your browser local storage.

https://gpt-graph.loca.lt/

Re:Show HN: GPT-grap. A simple, GPT-3 text to entity-relatio... by motyar on Tuesday March 07, 2023 @11:42PM (#35065344)
Just tried it, Super cool.