morphic icon indicating copy to clipboard operation
morphic copied to clipboard

Azure OpenAI support

Open TheodorosGalanos opened this issue 10 months ago • 4 comments

Would it be very difficult to add azure openai support to the package?

TheodorosGalanos avatar Apr 09 '24 23:04 TheodorosGalanos

The Azure OpenAI Provider is currently not included in the AI Core Provider, so a custom provider needs to be implemented:

https://sdk.vercel.ai/docs/ai-core/custom-provider

There is also a possibility that it’ll be supported on the SDK side.

miurla avatar Apr 10 '24 13:04 miurla

https://sdk.vercel.ai/docs/guides/providers/azure-openai

It seems that it is already supported.

Beckjiang avatar Apr 14 '24 17:04 Beckjiang

https://sdk.vercel.ai/docs/ai-core

The ai core provider is not supported.

miurla avatar Apr 14 '24 19:04 miurla

https://sdk.vercel.ai/providers/ai-sdk-providers/azure

Supported in the latest version.

miurla avatar Jun 22 '24 02:06 miurla

I can take over this issue, it seems a very small adaptation at the lib/utils/index.ts file.

SzilvasiPeter avatar Sep 02 '24 08:09 SzilvasiPeter

Thank you.SzilvasiPeter Please fix!

istrategy avatar Sep 02 '24 08:09 istrategy