Openai_ex - OpenAI API client library

@rched I haven’t used the Azure service myself, but my understanding is that the parameters are not identical to the OpenAI version. Correct me if I’m wrong, but I believe that the model name is embedded in the URL path, rather than being passed as a parameter.

If that’s the case, then I don’t currently have plans to support it. That could change if there’s a lot of demand for it. But I suspect that it’s more likely that Azure will start using the OpenAI v1 API instead. Then it should just be a matter of setting the base_url to point to azure instead of OpenAI.

1 Like