phasellm.configurations_utils#

Module Contents#

Functions#

coerce_azure_base_url(→ str)

This function coerces the base URL to the proper format for the Azure OpenAI API. This is used for backwards

phasellm.configurations_utils.coerce_azure_base_url(url: str) str#

This function coerces the base URL to the proper format for the Azure OpenAI API. This is used for backwards compatibility of base_url and api_base arguments. :param url: The url to coerce.

Returns:

The coerced URL.