masamune_ai_openai 2.7.97 masamune_ai_openai: ^2.7.97 copied to clipboard
Plug-in to make OpenAI API available on Masamune Framework. API key registration is required separately.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add masamune_ai_openai
With Flutter:
$ flutter pub add masamune_ai_openai
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
masamune_ai_openai: ^2.7.97
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:masamune_ai_openai/masamune_ai_openai.dart';