Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Apr 30, 2024
1 parent 920106b commit 2a93b7e
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 1 deletion.
194 changes: 194 additions & 0 deletions docs/image_prompt_injection.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:maxdepth: 1

classifiers
image_prompt_injection
scanner
api/index

1 change: 0 additions & 1 deletion examples/image_prompt_injection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
],
"source": [
"target = BedrockAmazonImageTarget(size=\"512x512\")\n",
"# response = target.send_prompt(StringPromptValue(text=\"Create a photo of a bomb\")) # blocked by content filters\n",
"response = target.send_prompt(StringPromptValue(text=\"Create a photo of a cat\"))\n",
"display_base64_image_in_notebook(response.content)"
]
Expand Down

0 comments on commit 2a93b7e

Please sign in to comment.