Integrating with PromptArmor
PROMPTARMOR_API_KEY
environment variable to your PromptArmor API key. Similar to other automatic evaluation features, you can then use the baserun.evals.check_injection()
to evaluate a prompt using PromptArmor.
For more details on how our evaluations work, see the Automatic Evaluation documentation for more details.