use fix prompt guards (#303)

This commit is contained in:
Adil Hafeez 2024-11-25 17:16:35 -08:00 committed by GitHub
parent 6f4a57b56d
commit 9c6fcdb771
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 212 additions and 112 deletions

View file

@ -35,6 +35,12 @@ llm_providers:
system_prompt: |
You are a helpful assistant.
prompt_guards:
input_guards:
jailbreak:
on_exception:
message: Looks like you're curious about my abilities, but I can only provide assistance for weather forecasting.
prompt_targets:
- name: weather_forecast
description: Check weather information for a given city.