You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an issue related to the OpenAI model. The problem arises because the current implementation relies on the outdated OpenAI API schema, which is not supported in versions of the openai library greater than 1.0.0.
The recent versions of the OpenAI API have deprecated the openai.Embedding interface, which the code currently relies on. This results in the following error when attempting to use the feature:
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`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
Are there plans to update this?
The text was updated successfully, but these errors were encountered:
I have encountered an issue related to the OpenAI model. The problem arises because the current implementation relies on the outdated OpenAI API schema, which is not supported in versions of the openai library greater than 1.0.0.
The recent versions of the OpenAI API have deprecated the
openai.Embedding
interface, which the code currently relies on. This results in the following error when attempting to use the feature:Are there plans to update this?
The text was updated successfully, but these errors were encountered: