code: def _results_to_docs(results: Any) -> List[Document]:
      return [doc for doc, _ in _results_to_docs_and_scores(results)]
  
imports: from __future__ import annotations
  import logging
  import uuid
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Tuple, Type
  import numpy
  from langchain.docstore.document import Document
  from langchain.embeddings.base import Embeddings
  from langchain.utils import xor_args
  from langchain.vectorstores.base import VectorStore
  from langchain.vectorstores.utils import maximal_marginal_relevance
label_desc: Use image node_id 1 for calling a global function with example usage: _results_to_docs(results) and returns: unknown