-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Azure OpenAI and OpenAI proxy support #322
Conversation
I've edited the model field labels to indicate whether each field is required or optional. There is a better way to do this, and I am tracking this in a separate issue: #323 |
@klauern @wanbao118 Unfortunately our team does not have an OpenAI proxy or an Azure deployment available to us. Can each of you test this branch to see if this fixes your respective issue? I would recommend testing this branch via Conda:
|
Hello @dlqqq ! I think this works! I haven't tried all of the features, but this seems to indicate that it's using the alternate base API URL correctly: and the logs seem to be showing fine as well: |
I need to integrate the Azure Open AI LLMs into jupyter-ai as well. Any idea of the EDR? Note: I've tried the steps above to test the |
@anammari If you could post the error trace, that would be helpful. We want to improve Windows compatibility, so any leads are appreciated. 🤗 |
Thanks @dlqqq I couldn't log the error in WSL2 (VM crashed unexpectedly while executing the jlpm steps). However I've tried again using Anaconda in Windows, which hasn't given me any errors this time. I've tested the Q&A part and it seems to work. Azure OpenAI credentials entry: Testing Q&A: (Successful) However the magic command has failed with:
Is Azure OpenAI supported in magics? |
Thanks for adding and merging the feature to use AzureOpenAI. I'm still confused on how exactly to get it going. Where should I look for instructions? It's not a supported model in the documentation. |
* implement Azure OpenAI support and model ID labels * pre-commit
* implement Azure OpenAI support and model ID labels * pre-commit
Issues closed
Description
AzureChatOpenAIProvider
class.model_id_label
, which is used to indicate what should be used as the local model ID when using a registry provider."Endpoint name"
"Deployment name"