class_docstr: Static retrieval service client class.
  It implements the retrieval services interface, has a simple client to do KNN queries.
code: def __init__(
      self,
      tokenizer: TokenizerSpec,
      service_ip: str = None,
      service_port: int = None,
      updatable: bool = False,
  ):
      self.updatable = updatable
      self.tokenizer = tokenizer
      self.service_ip = service_ip
      self.service_port = service_port
  
imports: import abc
  import logging
  import threading
  from typing import List, Union
  import numpy
  import torch
  from nemo.collections.common.tokenizers.tokenizer_spec import TokenizerSpec
  from nemo.collections.nlp.modules.common.megatron.retrieval_services.util import request_data
label_desc: Use image node_id 1 to create a new FaissRetrievalService object from inherited base classes: RetrievalService with example: obj = FaissRetrievalService(tokenizer, service_ip, service_port, updatable)