Skip to content

This project extends the Graph GPT project with different approaches in the type of output and the interaction with the originated graph.

Notifications You must be signed in to change notification settings

cientopolis/RDFGraphGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

RDFGraphGPT 🕸️

This project extends the Graph GPT project with different approaches in the type of output and the interaction with the originated graph.

Natural Language -> RDF -> Graph

Main functionality

  • The way this project works is that you insert any kind of natural language text, in the background we send it to Open AI API with an specific prompt so it turns it to an RDF turtle format, and then it will be graphed using either Graphviz or Cytoscape, you can choose!
  • The RDF archive will be saved in the location you choose, either in a new one or an existent one.

Other Functionalities

  • You can improve the IRIs that chat GPT used by clicking the "Improve RDF" button and inserting the IRIs you want to change and the ones you would want to use. To do this we use another propmt to send it to the API.
  • You can edit the RDF code by hand and save it in your archive by clicking the "Edit the rdf code" button.

SetUp

  1. Run npm install to download required dependencies.
  2. Do the same standing in the "serv" folder.
  3. Make sure you have an OpenAI API key. You will enter this into the web app when running queries.
  4. Run node index.js standing in the "serv" folder, your server should be runing now.
  5. Run npm run start. RDFGraphGPT should open up in a new browser tab.

About

This project extends the Graph GPT project with different approaches in the type of output and the interaction with the originated graph.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published