class_docstr: Provides the common interfaces for retrievers.
  
  Every retriever in this modules must implement the `retrieve` method.
class_docstr_tok: ["Provides","the","common","interfaces","for","retrievers",".","Every","retriever","in","this","modules","must","implement","the","`","retrieve","`","method","."]
code: def __init__(self, opt: Opt):
      self.skip_query_token = opt["skip_retrieval_token"]
  
file_path: ParlAI/parlai/agents/rag/retrieve_api.py
imports: from abc import ABC, abstractmethod
  import requests
  from typing import Any, Dict, List
  from parlai.core.opt import Opt
  from parlai.utils import logging
label_desc: Use image node_id 1 to create a new RetrieverAPI object from inherited base classes: ABC with example: obj = RetrieverAPI(opt)