This project extends the Graph GPT project with different approaches in the type of output and the interaction with the originated graph.
- 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.
- 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.
- Run npm install to download required dependencies.
- Do the same standing in the "serv" folder.
- Make sure you have an OpenAI API key. You will enter this into the web app when running queries.
- Run node index.js standing in the "serv" folder, your server should be runing now.
- Run npm run start. RDFGraphGPT should open up in a new browser tab.