Generates mermaid Class and Entity Relationship Diagrams based on your description, using GPT-3 (text-davinci-003
).
To use it head over to the 💻 MermaidGPT demo, enter your OpenAI API key and start generating diagrams.
Note Your API key is only stored in your browser's LocalStorage. It is not sent anywhere. Nevertheless, you should be careful entering your API key anywhere. It is recommended you understand the source code and then get this project running locally to use it from there.
Before continuing, make sure you have Node.js installed.
- Clone this repository
- Run
npm install
to install the dependencies - Run
npm run dev -- --open
to start the development server and open the app in your browser
You can check out which prompts are used in the source code prompts folder.
If you like the repo please star :)