Skip to content

Commit

Permalink
Change order of cells
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheepsta300 committed Oct 8, 2024
1 parent 1f30d14 commit e5fb363
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/docs/integrations/tools/azure_content_safety.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we can use the `AzureContentSafetyTextTool` combine with a model, using `create_structured_chat_agent`."
"Now we can use the `AzureContentSafetyTextTool` combined with a model, using `create_structured_chat_agent`."
]
},
{
Expand Down Expand Up @@ -198,6 +198,22 @@
"## Invocation"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Input must be in the form of a string (`str`)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"input = \"I hate you\""
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -241,7 +257,6 @@
"metadata": {},
"outputs": [],
"source": [
"input = \"I hate you\"\n",
"agent_executor.invoke(\n",
" {\"input\": f\"Can you check the following text for harmful content : {input}\"}\n",
")"
Expand Down

0 comments on commit e5fb363

Please sign in to comment.