foundry_get_endpoint: Get Azure AI Foundry Endpoint

View source: R/config.R

foundry_get_endpointR Documentation

Get Azure AI Foundry Endpoint

Description

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

Usage

foundry_get_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.

Examples

foundry_get_endpoint("https://example.openai.azure.com/")

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