llm icon indicating copy to clipboard operation
llm copied to clipboard

Cannot use Azure OpenAI endpoint

Open fabge opened this issue 5 months ago • 2 comments

Since openai version 1.x, the azure endpoint annoyingly uses a different class than the regular OpenAI class, namely AzureOpenAI (see here for the Microsoft Documentation).

With the current release, it is not possible to use the Azure OpenAI api. Would changing the openai_models.py to suit Azure make sense? Or should we implement this as a plugin?

fabge avatar Jan 29 '24 06:01 fabge