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

Fix for APIConnectionError in Lesson 4 Jupyter Notebook #239 #334

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bhaskar0402
Copy link

"This pull request implements a solution for users experiencing APIConnectionError in the first Jupyter notebook of Lesson 4, particularly when using OpenAI's API directly. I've introduced changes that ensure the OpenAI API key is correctly loaded, allowing the OpenAI client to authenticate as expected without relying on Azure OpenAI services. This adjustment is particularly helpful for those who prefer or need to use OpenAI's API directly. For further guidance on switching between OpenAI and Azure OpenAI endpoints with Python, please refer to Microsoft's official documentation." issue #239
Screenshot 2024-03-11 at 3 09 50 PM
Screenshot 2024-03-11 at 3 10 20 PM

Copy link

👋 Thanks for contributing @bhaskar0402! We will review the pull request and get back to you soon.

Copy link

Check Broken URLs

We have automatically detected the following broken URLs in your lessons. Review and fix the paths to resolve this issue.

Check the file paths and associated broken urls inside them. For more details, check our Contributing Guide.

File Full Path Issues
./07-building-chat-applications/python/aoai-assignment.ipynb 1. https://aka.ms/airangers?WT.mc_id=academic-105485-koreyst
./07-building-chat-applications/python/oai-assignment.ipynb 1. https://aka.ms/airangers?WT.mc_id=academic-105485-koreyst

@bhaskar0402
Copy link
Author

@microsoft-github-policy-service agree

Copy link

This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants