def METHOD_NAME():
    processor = initialize_processor()
    record = AirbyteRecordMessage(
        stream="stream1",
        namespace="namespace1",
        data={
            "id": 1,
            "a_complex_field": {"a_nested_field": "a_nested_value"},
            "too_big": "a" * 1000,
            "small": "a",
            "text": "This is the text",
        },
        emitted_at=1234,
    )
    processor.text_fields = ["text"]
    processor.max_metadata_size = 100
    chunks, id_to_delete = processor.process(record)
    assert len(chunks) == 1
    assert chunks[0].page_content == "text: This is the text"
    assert id_to_delete is None
    for chunk in chunks:
        assert len(chunk.metadata) == 3
        assert "a_complex_field" not in chunk.metadata
        assert "too_big" not in chunk.metadata
        assert "small" in chunk.metadata