generative-ai-for-beginners icon indicating copy to clipboard operation
generative-ai-for-beginners copied to clipboard

Pin OpenAI package to 0.28 version or update codebase for openai>=1.0.0

Open indcoder opened this issue 1 year ago • 4 comments

Describe the bug We need to either pin the openai python package to 0.28 or update the Python codebase to work with openai>=1.0.0

image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

indcoder avatar Mar 11 '24 11:03 indcoder

👋 Thanks for contributing @indcoder! We will review the issue and get back to you soon.

github-actions[bot] avatar Mar 11 '24 11:03 github-actions[bot]

Great point @indcoder , before I change this, I wanted to see if you would like to create a PR for this yourself?

koreyspace avatar Mar 12 '24 15:03 koreyspace

Hi @koreyspace . Perhaps we have to split this in two PRs:

  1. Immediate PR so as to not disrupt any ongoing bootcamps: Pin the OpenAI dependency to 0.28 so that existing code does not break.
  2. Detailed PR: Update the requirement to openai>=1.0.0 and verify all the Python across the 18 lessons work with this update. This will also have to be done in conjunction w/ #335

indcoder avatar Mar 13 '24 09:03 indcoder

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

github-actions[bot] avatar May 13 '24 08:05 github-actions[bot]