code: def test_method_create_with_all_params(self, client: OpenAI) -> None:
      embedding = client.embeddings.create(
          input="The quick brown fox jumped over the lazy dog",
          model="text-embedding-ada-002",
          encoding_format="float",
          user="user-1234",
      )
      assert_matches_type(
          CreateEmbeddingResponse, embedding, path=["response"]
      )
  
file_path: openai-python/tests/api_resources/test_embeddings.py
imports: from __future__ import annotations
  import os
  from typing import Any, cast
  import pytest
  from openai import OpenAI, AsyncOpenAI
  from tests.utils import assert_matches_type
  from openai.types import CreateEmbeddingResponse
  from openai._client import OpenAI, AsyncOpenAI
label_desc: Use image node_id 2 for calling the TestEmbeddings obj's underlying member method code with example usage: obj.test_method_create_with_all_params(client) without return types