def create_documents(self, results: Any) -> List[Document]:
        """
        Create documents from the results.

        Args:
            results: Results from the query.

        Returns:
            List of documents.

        """
        documents = []
        for result in zip(
            results["ids"][0],
            results["documents"][0],
            results["embeddings"][0],
            results["metadatas"][0],
        ):
            document = Document(
                id_=result[0],
                text=result[1],
                embedding=result[2],
                metadata=result[3],
            )
            documents.append(document)

        return documents

        Create documents from the results.

        Args:
            results: Results from the query.

        Returns:
            List of documents.

        
llama-index-integrations/readers/llama-index-readers-chroma/llama_index/readers/chroma/base.py