def METHOD_NAME(self, results: List[dict]):
    try:
        documents = []
        for doc in results['matches']:
            documents.append(
                Document(
                    text_content=doc['metadata'][self.text_field],
                    metadata=doc['metadata'],
                )
            )
        return documents
    except Exception as err:
        raise err