| foundry_set_content_safety_endpoint | R Documentation |
Set the base endpoint URL for your Azure Content Safety resource.
foundry_set_content_safety_endpoint(endpoint, store = FALSE)
endpoint |
Character string containing the endpoint URL. Example: the endpoint URL from your Content Safety resource. |
store |
Logical. If |
Invisibly returns TRUE if endpoint was set successfully.
withr::with_envvar(c(AZURE_CONTENT_SAFETY_ENDPOINT = NA_character_), {
foundry_set_content_safety_endpoint(
"https://example.cognitiveservices.azure.com"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.