Base runnable for user prompt or model response sanitization using Model Armor.
Setup:
You must either:
- Have credentials configured for your environment (gcloud, workload
identity , etc...)
- Store the path to a service account JSON file as the
GOOGLE_APPLICATION_CREDENTIALS environment variable.
For more information, see: