Skip to content

Conversation

@cat-mia
Copy link

@cat-mia cat-mia commented Sep 4, 2024

I have followed the tutorial to build a vector index for my Neo4j instance using OpenAI version 1.42.0.
However, during the embedding process(openai_embeddings.py), I encountered the following message:

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

image
image

I downgraded my OpenAI version to 0.28, which resolved the issue.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant