def node_embeddings() -> list[TextNode]:
    """Return a list of TextNodes with embeddings."""
    return [
        TextNode(
            text="foo",
            id_="f8e7dee2-63b6-42f1-8b60-2d46710c1971",
            relationships={NodeRelationship.SOURCE: RelatedNodeInfo(node_id="test-0")},
            metadata={
                "theme": "Mystery",
                "location": 11,
            },
            embedding=text_to_embedding("foo"),
        ),
        TextNode(
            text="bar",
            id_="8dde1fbc-2522-4ca2-aedf-5dcb2966d1c6",
            relationships={NodeRelationship.SOURCE: RelatedNodeInfo(node_id="test-0")},
            metadata={
                "theme": "Friendship",
                "location": 121,
            },
            embedding=text_to_embedding("bar"),
        ),
        TextNode(
            text="baz",
            id_="e4991349-d00b-485c-a481-f61695f2b5ae",
            relationships={NodeRelationship.SOURCE: RelatedNodeInfo(node_id="test-2")},
            metadata={
                "theme": "Friendship",
                "location": 111,
                "doc_id": "b27abe0a-593b-4b6a-8e3c-1d72889d10eb",
            },
            embedding=text_to_embedding("baz"),
        ),
    ]
Return a list of TextNodes with embeddings.
llama-index-integrations/vector_stores/llama-index-vector-stores-tidbvector/tests/test_vector_stores_tidbvector.py