• This function generates an endpoint URL for (Azure) OpenAI based on the configuration parameters provided.

    Parameters

    Returns undefined | null | string

    The generated (Azure) OpenAI endpoint URL.

    Will throw an error if the necessary parameters for generating the URL are missing.