We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82baf37 commit 1b171eeCopy full SHA for 1b171ee
docs/colabs/zenguard_library.ipynb
@@ -199,7 +199,7 @@
199
"id": "pii-detection"
200
},
201
"source": [
202
- "messages = [\"My credit card number is 1234-5679-1234-1234 and my name is John Smith.\"]\n",
+ "message = \"My SSN is 777-55-66 and my name is John Smith.\"\n",
203
"response = zenguard.detect(detectors=[Detector.PII], prompt=message)\n",
204
"if response.get(\"responses\")[0].get(\"common_response\").get(\"is_detected\") is True:\n",
205
" pprint(\"PII detected. ZenGuard: 1, big brother: 0.\")\n",
0 commit comments