-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat: added Microsoft's Azure AI as a provider and cleaned up the list. #836
base: main
Are you sure you want to change the base?
Conversation
shall we wait for the provider refactor? |
Yeah, assuming #832 gets merged, I'll readdress this after with the new structure. And Azure/Microsoft/GitHub has several models by different providers. Namely OpenAI, Cohere, Meta, Mistral, and Phi. It's a bit unclear tbh, and their documentation isn't great. |
thanks for add this function ,but I have some problem, use docker |
delete the node_modules folder and do a |
@aliasfoxkde , I tried to test but the get key long points to github |
You do get an access key through GitHub, but you can also get one through Microsoft. |
OK, I'll test it, thank you |
@thecodacus |
I later re-git cloned and installed it, but it seemed that I couldn't get the Azure AI api key. Where should I set it correctly? One is set in .env, and the other is set directly on the browser. |
thsi PR is not merged yet once its merged you will be able to see the option. for now if you really want to test you can pull this PR. but would not recommend puling from PRs for a non technical user / or anything other than the purpose of testing |
At present, only Github's api key can be used in Azure AI after pulling the test, but it may be because it is free and there are very few tokens, so it timed out immediately. |
Added Azure AI Provider which offers OpenAI GPT-4o model and others through GitHub PAT (Personal Access Token).
As required for adding a new provider, I modified the
models.ts
,constrants.ts
,api-keys.ts
, and.env.example
files.Added Provider: Microsoft's Azure AI
Key Changes
.env.example
constrants.ts
for PROVIDER_LISTOpenAI GPT-4o
,OpenAI GPT-4o mini
,Cohere Command R+
,Mistral Large
,Mistral Nemo
, andMistral Small
Testing
Migration Impact
Future Improvements