ai_broker 0.5.1
ai_broker: ^0.5.1 copied to clipboard
Provider-agnostic Dart broker for Claude, OpenAI, Gemini, and Google Translate. Chat, embed, translate, plus a RAG CLI over a local SQLite vector store.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate ai_brokerUse it
The package has the following executables:
$ ai_broker
$ aib
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ai_brokerWith Flutter:
$ flutter pub add ai_brokerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ai_broker: ^0.5.1Alternatively, 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:ai_broker/ai_broker.dart';