https://github.com/doemser/ai-data-generata
OpenAI-powered JSON data generator.
https://github.com/doemser/ai-data-generata
ai chatbot data generator json-api mockdata nextjs openai react reactjs
Last synced: 10 days ago
JSON representation
OpenAI-powered JSON data generator.
- Host: GitHub
- URL: https://github.com/doemser/ai-data-generata
- Owner: doemser
- License: isc
- Created: 2023-04-04T17:05:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-07T21:10:07.000Z (about 2 years ago)
- Last Synced: 2025-03-28T14:11:09.282Z (28 days ago)
- Topics: ai, chatbot, data, generator, json-api, mockdata, nextjs, openai, react, reactjs
- Language: TypeScript
- Homepage:
- Size: 1.13 MB
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI Data Generata
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".
---
## Getting Started
### Add your 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`:
```shell
cp .env.local.example .env.local
```Open the `.env.local` file and add your OpenAI API key:
```shell
OPENAI_API_KEY=your_api_key_here```
### Do not forget to:
```bash
npm i
```### Run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```---
## Contribute to this project
Contributions are super welcome! <3
If you would like to contribute, please follow these steps:
1. Fork the repository on GitHub.
2. Clone your forked repository to your local machine.
3. Create a new branch for your changes.
4. Make your changes and commit them to your branch.
5. Push your branch to your forked repository on GitHub.
6. Create a pull request from your branch to our repository.
7. Wait for a review and approval.Please also provide a clear and concise description of your changes in the pull request.