ai_guardrails 0.4.0
ai_guardrails: ^0.4.0 copied to clipboard
On-device, provider-agnostic input/output safety for Dart & Flutter AI apps: PII redaction, prompt-injection and secret detection, output validation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ai_guardrailsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ai_guardrails: ^0.4.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ai_guardrails/ai_guardrails.dart';