hyperDB icon indicating copy to clipboard operation
hyperDB copied to clipboard

openai.Embedding, but this is no longer supported in openai>=1.0.0

Open DariusTans opened this issue 7 months ago • 1 comments

i try to run hyperDB with code for openai 1.35.3 but found this error

APIRemovedInV1:

You tried to access openai.Embedding, 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

DariusTans avatar Jul 01 '24 15:07 DariusTans