PydanticUserError error while importing OpenAIEmbeddings

while i am trying to run the following code: from langchain.embeddings.openai import OpenAIEmbeddings

i am getting long PydanticUserError error with message at the end "PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.

For further information visit Redirecting..."

Appreciate if someone can provide the resolution/fix for this, please ?