KnowledgeGraphGPT

Transform plain text into a visually stunning Knowledge Graph with GPT-4 (latest preview)! It converts text into RDF tuples, and highlights the most frequent connections with a vibrant color-coding system. Download the results as a convenient JSON file for easy integration into your own projects.

154
24
JavaScript

Knowledge Graph GPT


Transform plain text into a visually stunning knowledge graph with GPT-4 technology! This app converts text into RDF tuples and colors them based on frequency, creating a dynamic and informative representation of your data. Download the resultant RDF Tuples as a JSON file for easy integration and analysis.

https://user-images.githubusercontent.com/41549829/216787182-2f29cd77-22cd-42aa-b587-d455ce8b370d.mov


Required Verisons

  1. npm >= v7.19.1
  2. node >= v14.17.4

How to run

  1. Open your CLI, and run npm install
  2. Then, run npm run to start the project and navigate to localhost:3000
  3. Add your OpenAI API Key
  4. Add your Prompt and hit Generate.
  5. The graph will be populated after few seconds
  6. Click on Export JSON to save the generated tuples in RDF format (Semantic tuples)

Note: This project is inspired from https://github.com/varunshenoy/GraphGPT