Skip to content

Commit 1b171ee

Browse files
author
Baur
authored
Update zenguard_library.ipynb
1 parent 82baf37 commit 1b171ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/colabs/zenguard_library.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"id": "pii-detection"
200200
},
201201
"source": [
202-
"messages = [\"My credit card number is 1234-5679-1234-1234 and my name is John Smith.\"]\n",
202+
"message = \"My SSN is 777-55-66 and my name is John Smith.\"\n",
203203
"response = zenguard.detect(detectors=[Detector.PII], prompt=message)\n",
204204
"if response.get(\"responses\")[0].get(\"common_response\").get(\"is_detected\") is True:\n",
205205
" pprint(\"PII detected. ZenGuard: 1, big brother: 0.\")\n",

0 commit comments

Comments
 (0)