code: def test_init_with_parameters():
      blob_data = b"some bytes"
      doc = Document(
          content="test text",
          dataframe=pd.DataFrame([0]),
          blob=ByteStream(data=blob_data, mime_type="text/markdown"),
          meta={"text": "test text"},
          score=0.812,
          embedding=[0.1, 0.2, 0.3],
      )
      assert (
          doc.id
          == "ec92455f3f4576d40031163c89b1b4210b34ea1426ee0ff68ebed86cb7ba13f8"
      )
      assert doc.content == "test text"
      assert doc.dataframe is not None
      assert doc.dataframe.equals(pd.DataFrame([0]))
      assert doc.blob.data == blob_data
      assert doc.blob.mime_type == "text/markdown"
      assert doc.meta == {"text": "test text"}
      assert doc.score == 0.812
      assert doc.embedding == [0.1, 0.2, 0.3]
  
imports: import pandas
  import pytest
  from haystack import Document
  from haystack.dataclasses.byte_stream import ByteStream
label_desc: Use image node_id 4 for calling a global function with example usage: test_init_with_parameters() without return types