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
151 stars 23 forks source link

fetch main error #5

Closed sha1thedon closed 8 months ago

sha1thedon commented 8 months ago

when trying to implement the code i receive this error based on the prompt.main file

Module parse failed: Unexpected token (1:4) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

You are given a prompt. Extrapolate as many relationships as you can from the prompt and generate tuples like (source, relation, target). Make sure there are always source, relation and target in the tuple. | Example: | prompt: John knows React, Golang, and Python. John is good at Software Engineering and Leadership

iAmmarTahir commented 8 months ago

This issue has been fixed.