This app allows users to generate JSON data based on input prompt using OpenAI's GPT-3 language model.
The app is designed to use the OpenAI API to generate answers to prompts provided by the user. It utilizes the "openai" package to interface with the API, and requires an API key to be set as an environment variable named "OPENAI_API_KEY".
Create an account at https://platform.openai.com/signup and obtain your API key.
Copy the .env.local.example
file to .env.local
:
cp .env.local.example .env.local
Open the .env.local
file and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
npm i
npm run dev
# or
yarn dev
# or
pnpm dev
Contributions are super welcome! <3
If you would like to contribute, please follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your changes.
- Make your changes and commit them to your branch.
- Push your branch to your forked repository on GitHub.
- Create a pull request from your branch to our repository.
- Wait for a review and approval.
Please also provide a clear and concise description of your changes in the pull request.