dart_openai_plus 1.0.0 copy "dart_openai_plus: ^1.0.0" to clipboard
dart_openai_plus: ^1.0.0 copied to clipboard

An open-source package that allows developers to easily integrate the power of OpenAI's state-of-the-art AI models into their Dart/Flutter applications.

example/README.md

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.
1
likes
150
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

An open-source package that allows developers to easily integrate the power of OpenAI's state-of-the-art AI models into their Dart/Flutter applications.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, fetch_client, http, meta

More

Packages that depend on dart_openai_plus