genai 0.0.1 copy "genai: ^0.0.1" to clipboard
genai: ^0.0.1 copied to clipboard

A unified Dart/Flutter package for working with multiple Generative AI providers (Google Gemini, OpenAI, Anthropic, Azure OpenAI, Ollama, etc.) using a single request model.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add genai

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

dependencies:
  genai: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:genai/genai.dart';
1
likes
110
points
52
downloads

Publisher

verified publisherapidash.dev

Weekly Downloads

A unified Dart/Flutter package for working with multiple Generative AI providers (Google Gemini, OpenAI, Anthropic, Azure OpenAI, Ollama, etc.) using a single request model.

Repository (GitHub)
View/report issues
Contributing

Topics

#ai #ollama #gemini #claude #openai

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

better_networking, flutter, freezed_annotation, json_annotation, nanoid

More

Packages that depend on genai