Embedding model error

Settings.embed_model = OpenAIEmbedding(model=“text-embedding-ada-002”)
for above code I get below error,
TypeError: deprecated() got an unexpected keyword argument ‘alternative_import’

how do I solve it?