ai_sdk_provider 1.0.0+1 copy "ai_sdk_provider: ^1.0.0+1" to clipboard
ai_sdk_provider: ^1.0.0+1 copied to clipboard

Provider interface specification for the AI SDK Dart port. Defines the LanguageModelV3, EmbeddingModelV2, and ImageModelV3 interfaces that all provider packages must implement.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ai_sdk_provider

With Flutter:

 $ flutter pub add ai_sdk_provider

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

dependencies:
  ai_sdk_provider: ^1.0.0+1

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:ai_sdk_provider/ai_sdk_provider.dart';
0
likes
160
points
24
downloads

Documentation

API reference

Publisher

verified publisherhashstudios.dev

Weekly Downloads

Provider interface specification for the AI SDK Dart port. Defines the LanguageModelV3, EmbeddingModelV2, and ImageModelV3 interfaces that all provider packages must implement.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

meta

More

Packages that depend on ai_sdk_provider