Forum Discussion
Fabric - cant import AzureOpenAI
- Anonymous2 years ago
Hi. I must have chose the wrong type of post. I was not Posting a question but a solution.
I followed the instructions from the github repo and ran into Thais issue. That's why I thought I'd post the solution for others to benefit.
- Anonymous2 years ago
here is the inline code needed at the top of your script
%pip install openai==1.12.0
You might want to take a look at this:
Access Azure OpenAI for Hack Together, for Free!
Let us know if you managed to make it work.
Hi. I must have chose the wrong type of post. I was not Posting a question but a solution.
I followed the instructions from the github repo and ran into Thais issue. That's why I thought I'd post the solution for others to benefit.
- Anonymous2 years agoNot applicable
here is the inline code needed at the top of your script
%pip install openai==1.12.0
- edchuy2 years agoAdvocate V
OK. That's good to know.
- Anonymous2 years agoNot applicable
FYI. If you plan to run a notebook on a schedule or via Rest-API, then you'll have issues as %pip magic is disabled there. Need to create a custom environment with the correct openai dll pre-loaded and use that instead. Makes the startup of the notebook much slower though. instead of 5-10s for getting a running starterpool it will take 1-2 minutes.