MadcowD / ell

A language model programming library.
http://docs.ell.so/
MIT License
5.28k stars 309 forks source link

Just following setup instructions #221

Open sjehan opened 1 month ago

sjehan commented 1 month ago

openai.lib._old_api.APIRemovedInV1:

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.

Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28

A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742

MadcowD commented 1 month ago

Can you provide more info? You should be on version 0.47 or greater..

MadcowD commented 1 month ago

@sjehan hello