This function generates an endpoint URL for (Azure) OpenAI based on the configuration parameters provided.
The configuration object for the (Azure) endpoint.
The generated (Azure) OpenAI endpoint URL.
Will throw an error if the necessary parameters for generating the URL are missing.
This function generates an endpoint URL for (Azure) OpenAI based on the configuration parameters provided.