Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Azure endpoints #10

Open
zdjjj opened this issue Nov 17, 2023 · 12 comments
Open

Support Azure endpoints #10

zdjjj opened this issue Nov 17, 2023 · 12 comments
Labels
good first issue Good for newcomers

Comments

@zdjjj
Copy link

zdjjj commented Nov 17, 2023

No description provided.

@abi
Copy link
Owner

abi commented Nov 17, 2023

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

@abi abi added the good first issue Good for newcomers label Nov 17, 2023
@abi abi changed the title can u support azure api Support Azure endpoints Nov 17, 2023
@abi
Copy link
Owner

abi commented Nov 17, 2023

I actually don't think the Azure has the vision model yet.

@thelazyoxymoron
Copy link

@zdjjj
Copy link
Author

zdjjj commented Nov 18, 2023 via email

@zpratikpathak
Copy link

zpratikpathak commented Nov 25, 2023

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

@abi
Copy link
Owner

abi commented Nov 25, 2023

Feel free to open a PR

@prettybot
Copy link

prettybot commented Dec 13, 2023

Try this branch in my forked repo.
Close this switch as I haven't integrated the Azure DALLE model yet!
image

https://github.com/prettybot/screenshot-to-code/tree/chris-azure-version

commit
prettybot@bd2c19d

@cristianorevil
Copy link

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?

@abi
Copy link
Owner

abi commented Dec 13, 2023

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.

@cristianorevil
Copy link

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: #186

@abi
Copy link
Owner

abi commented Dec 14, 2023

@cristianorevil amazing! Will merge it in the next couple of days.

@abi
Copy link
Owner

abi commented May 23, 2024

Merging with #261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants