dart_openai 8.0.0 copy "dart_openai: ^8.0.0" to clipboard
dart_openai: ^8.0.0 copied to clipboard

Unofficial Dart & Flutter SDK for the OpenAI API. Typed clients for Responses, Chat, Realtime, Videos, Batch, Fine-tuning, Vector Stores and more.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_openai

With Flutter:

 $ flutter pub add dart_openai

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

dependencies:
  dart_openai: ^8.0.0

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:dart_openai/dart_openai.dart';
575
likes
160
points
17.6k
downloads

Documentation

Documentation
API reference

Publisher

verified publishergwhyyy.com

Weekly Downloads

Unofficial Dart & Flutter SDK for the OpenAI API. Typed clients for Responses, Chat, Realtime, Videos, Batch, Fine-tuning, Vector Stores and more.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, fetch_client, http, http_parser, meta

More

Packages that depend on dart_openai