Skip to main content

promptguard 0.1.0 copy "promptguard: ^0.1.0" to clipboard
promptguard: ^0.1.0 copied to clipboard

Regression testing for every AI feature in your app. Define prompts and expectations in one YAML file, run them against any provider, and catch silent quality regressions in CI before your users do.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate promptguard

Use it

The package has the following executables:

$ promptguard

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add promptguard

With Flutter:

 $ flutter pub add promptguard

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

dependencies:
  promptguard: ^0.1.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:promptguard/promptguard.dart';
0
likes
140
points
110
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Regression testing for every AI feature in your app. Define prompts and expectations in one YAML file, run them against any provider, and catch silent quality regressions in CI before your users do.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, http, path, yaml

More

Packages that depend on promptguard