Skip to content

Latest commit

 

History

History
 
 

example

Setup

  1. Set your API Key inside the .env.example file :
OPEN_AI_API_KEY=<YOUR_KEY_HERE>
  1. if you're willing to change the environment variable name, then you should change it as well inside the lib/env/env.dart, otherwise if you're not changing it, pass directly to the next step.
  2. Change .env.example file name to .env.
  3. Run dart pub get.
  4. Run dart run build_runner build.
  5. Run the lib/main.dart from your IDE, alternatively, Run dart run lib/main.dart from your command line.
  6. That's it, now run your main.dart and other dart files.