Example app showcasing the Mistral AI chat client app.
dart pub get
dart run build_runner build -d
- Add
env.env
file in the root project - Add
MISTRAL_AI_API_KEY=your api key
to the file.
Just use ready to use vscode configurations
flutter run --dart-define-from-file=env.env
or use script that contains above snippet
unix
./tool/flutter_run.sh
you can also pass parameters for flutter run
command to the script
./tool/flutter_run.sh -d chrome
windows
tool\flutter_run.bat
pass parameters to flutter run
like this:
tool\flutter_run.bat -d chrome