code: def test_embeddings_request():
      embeddings.RequestPayload(**{"input": "text"})
      embeddings.RequestPayload(**{"input": ""})
      embeddings.RequestPayload(**{"input": ["prompt"]})
      embeddings.RequestPayload(
          **{"input": "text", "extra": "extra", "another_extra": 1}
      )
  
      with pytest.raises(
          pydantic.ValidationError, match=r"(?i)field required"
      ):
          embeddings.RequestPayload(**{})
  
imports: import pydantic
  import pytest
  from mlflow.gateway.schemas import embeddings
label_desc: Use image node_id 1 for calling a global function with example usage: test_embeddings_request() without return types