obsidian-excalidraw-plugin
obsidian-excalidraw-plugin copied to clipboard
FR: Let AI feature support Azure OpenAI
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Using GPT-4 with Vision and DALL·E 3 is very cool with this plugin. But it just support OpenAI now. Could you please extend this feature to Azure OpenAI?
Describe the solution you'd like A clear and concise description of what you want to happen.
Azure OpenAI API is almost as same as OpenAI models. Just some parameters in the header and URL endpoint are different.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
You should add the option to select OpenAI or Azure OpenAI. Then change the API calling. That's it.
Additional context Add any other context or screenshots about the feature request here.
You can find the Azure OpenAI API reference here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions And DALL·E API reference here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#image-generation