get_content_safety_endpoint: Get Azure Content Safety Endpoint

View source: R/moderate.R

get_content_safety_endpointR Documentation

Get Azure Content Safety Endpoint

Description

Retrieve the Content Safety endpoint URL from the environment or a provided value.

Usage

get_content_safety_endpoint(endpoint = NULL, required = FALSE)

Arguments

endpoint

Character. Optional endpoint to use instead of environment variable.

required

Logical. If TRUE, throws an error when no endpoint is found.

Value

The endpoint URL string, or NULL if not found and not required.


foundryR documentation built on Sept. 25, 2026, 1:10 a.m.