Anyscale embeddings wrapper.
Return whether OpenAI API is v1 or more.
Anyscale Embeddings API.
OpenAI embedding models.
To use, you should have the openai python package installed, and the
environment variable OPENAI_API_KEY set with your API key or pass it
as a named parameter to the constructor.