mistralai_dart 0.0.3+2 copy "mistralai_dart: ^0.0.3+2" to clipboard
mistralai_dart: ^0.0.3+2 copied to clipboard

Dart Client for the Mistral AI API (Mistral-7B, Mixtral 8x7B, embeddings, etc.).

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mistralai_dart

With Flutter:

 $ flutter pub add mistralai_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  mistralai_dart: ^0.0.3+2

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:mistralai_dart/mistralai_dart.dart';