def embedding_instance():
    """Fixture for creating an OpenAIEmbedding instance."""
    return OpenAIEmbedding(
        api_key="test_api_key",
        mode="similarity",
        model="text-embedding-ada-002",
        max_retries=3,
    )
Fixture for creating an OpenAIEmbedding instance.
llama-index-integrations/embeddings/llama-index-embeddings-openai/tests/test_embeddings_openai.py