iAmmarTahir / 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.
https://celebrated-kitten-367f1f.netlify.app/
MIT License
154 stars 24 forks source link
chat-gpt gpt-4 knowledge-graph

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

  3. Open your CLI, and run npm install
  4. Then, run npm run to start the project and navigate to localhost:3000
  5. Add your OpenAI API Key
  6. Add your Prompt and hit Generate.
  7. The graph will be populated after few seconds
  8. 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