screenshot-to-code
screenshot-to-code copied to clipboard
Support Azure endpoints
I don't have access to the Azure API so I have no way to test it personally. But feel free to submit a PR.
Going to support https://openrouter.ai in the future
I actually don't think the Azure has the vision model yet.
Looks like they're bringing this to Azure soon: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/gpt-4-turbo-with-vision-on-azure-openai-service/ba-p/3979933
i can support u a azure key. can u support?
Yoh
---Original--- From: "Abi @.> Date: Fri, Nov 17, 2023 21:50 PM To: @.>; Cc: @.@.>; Subject: Re: [abi/screenshot-to-code] can u support azure api (Issue #10)
I don't have access to the Azure API so I have no way to test it personally. But feel free to submit a PR.
Going to support https://openrouter.ai in the future
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Azure has GPT4 access but only in this region
- Sweden Central
- Canada East
- Switzerland North
I'm already testing screenshot-to-code
with AzureOpenAIAPI, needed small help to finish it
Feel free to open a PR
Try this branch in my forked repo.
Close this switch as I haven't integrated the Azure DALLE model yet!
https://github.com/prettybot/screenshot-to-code/tree/chris-azure-version
commit https://github.com/prettybot/screenshot-to-code/commit/bd2c19dc3bc983b73ba3dcb4d5ee37e3cba96ab3
Azure has GPT4 access but only in this region
- Sweden Central
- Canada East
- Switzerland North
I'm already testing
screenshot-to-code
with AzureOpenAIAPI, needed small help to finish it
How can i help you?
Would be good to have a clean PR that allows for switching between OpenAI and Azure. I have Azure access now so can test it.
Would be good to have a clean PR that allows for switching between OpenAI and Azure. I have Azure access now so can test it.
Here the PR: https://github.com/abi/screenshot-to-code/pull/186
@cristianorevil amazing! Will merge it in the next couple of days.
Merging with #261