class_docstr: A base class for the Indices encapsulated by the [`RagRetriever`].
class_docstr_tok: ["A","base","class","for","the","Indices","encapsulated","by","the","[","`","RagRetriever","`","]","."]
docstr: Returns a list of dictionaries, containing titles and text of the retrieved documents.
  
  Args:
      doc_ids (`np.ndarray` of shape `(batch_size, n_docs)`):
          A tensor of document indices.
code: def get_doc_dicts(self, doc_ids: np.ndarray) -> List[dict]:
      """
      Returns a list of dictionaries, containing titles and text of the retrieved documents.
  
      Args:
          doc_ids (`np.ndarray` of shape `(batch_size, n_docs)`):
              A tensor of document indices.
      """
      raise NotImplementedError
  
imports: import os
  import pickle
  import time
  from typing import Iterable, List, Optional, Tuple
  import numpy
  from ...tokenization_utils import PreTrainedTokenizer
  from ...tokenization_utils_base import BatchEncoding
  from ...utils import cached_file, is_datasets_available, is_faiss_available, logging, requires_backends
  from .configuration_rag import RagConfig
  from .tokenization_rag import RagTokenizer
label_desc: Use image node_id 1 for calling the Index obj's underlying member method code with example usage: obj.get_doc_dicts(doc_ids) without return types