-
Notifications
You must be signed in to change notification settings - Fork 281
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
Add Azure OpenAI support #96
Conversation
thanks @akira-cn! can take a. look at this in a bit |
code looks good to me, just need build to pass to merge |
just about to merge this but looks like we've run into a merge conflict |
Quick note, there probably should be check to remove trailing And if that is there, ai-shell will just output: {
"error": {
"code": "404",
"message": "Resource not found"
}
} Don't ask me how I know 😅 |
Need this feature. Will the conflicts be resolved? |
waiting for the pr |
going to close this out given no activity, feel free to reopen if any updates |
Now you can use Microsoft azure openAI as your ai service.
Set
OPENAI_API_ENDPOINT
to Azure-OpenAI's EndPoints and setAZURE_OPENAI_DEPLOYMENT
to your developmentId.Use your azureApiKey as
OPENAI_KEY
.e.g.
Get more details please follow the instruction here.