genai_primitives 0.2.2 copy "genai_primitives: ^0.2.2" to clipboard
genai_primitives: ^0.2.2 copied to clipboard

A set of primitives for working with generative AI.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add genai_primitives

With Flutter:

 $ flutter pub add genai_primitives

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

dependencies:
  genai_primitives: ^0.2.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:genai_primitives/genai_primitives.dart';
1
likes
160
points
897
downloads

Publisher

verified publisherlabs.flutter.dev

Weekly Downloads

A set of primitives for working with generative AI.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, cross_file, json_schema_builder, meta, mime, path

More

Packages that depend on genai_primitives