def METHOD_NAME(self, results_data, metadata_fields) -> List[Document]:
    documents = []
    for result in results_data:
        text_content = result[self.text_field]
        metadata = {}
        for field in metadata_fields:
            metadata[field] = result[field]
        document = Document(text_content=text_content, metadata=metadata)
        documents.append(document)
    return documents