Simple app that draws bar, column, line and area charts with the help of OpenAI API
Follow these steps to run the project:
- Clone the repository:
git clone https://github.com/cem256/chart_gpt.git
-
Obtain an API key from OpenAI API.
-
Create a
.env
file in theenv
folder located at the root of the project, and add your API key:
BEARER = 'YOUR_API_KEY_GOES_HERE'
- Execute the following command in your project's root folder to generate required files:
flutter pub run build_runner build --delete-conflicting-outputs
And you are good to go. Run your project as you usually do.