class_docstr: This is an abstract class that represents the interface
  that all logic adapters should implement.
  
  :param search_algorithm_name: The name of the search algorithm that should
      be used to search for close matches to the provided input.
      Defaults to the value of ``Search.name``.
  
  :param maximum_similarity_threshold:
      The maximum amount of similarity between two statement that is required
      before the search process is halted. The search for a matching statement
      will continue until a statement with a greater than or equal similarity
      is found or the search set is exhausted.
      Defaults to 0.95
  
  :param response_selection_method:
        The a response selection method.
        Defaults to ``get_first_response``
  :type response_selection_method: collections.abc.Callable
  
  :param default_response:
        The default response returned by this logic adaper
        if there is no other possible response to return.
  :type default_response: str or list or tuple
class_docstr_tok: ["This","is","an","abstract","class","that","represents","the","interface","that","all","logic","adapters","should","implement",".",":","param","search_algorithm_name",":","The","name","of","the","search","algorithm","that","should","be","used","to","search","for","close","matches","to","the","provided","input",".","Defaults","to","the","value","of","``","Search.name","``",".",":","param","maximum_similarity_threshold",":","The","maximum","amount","of","similarity","between","two","statement","that","is","required","before","the","search","process","is","halted",".","The","search","for","a","matching","statement","will","continue","until","a","statement","with","a","greater","than","or","equal","similarity","is","found","or","the","search","set","is","exhausted",".","Defaults","to","0.95",":","param","response_selection_method",":","The","a","response","selection","method",".","Defaults","to","``","get_first_response","``",":","type","response_selection_method",":","collections.abc.Callable",":","param","default_response",":","The","default","response","returned","by","this","logic","adaper","if","there","is","no","other","possible","response","to","return",".",":","type","default_response",":","str","or","list","or","tuple"]
docstr: Override this method and implement your logic for selecting a response to an input statement.
  
  A confidence value and the selected response statement should be returned.
  The confidence value represents a rating of how accurate the logic adapter
  expects the selected response to be. Confidence scores are used to select
  the best response from multiple logic adapters.
  
  The confidence value should be a number between 0 and 1 where 0 is the
  lowest confidence level and 1 is the highest.
  
  :param statement: An input statement to be processed by the logic adapter.
  :type statement: Statement
  
  :param additional_response_selection_parameters: Parameters to be used when
      filtering results to choose a response from.
  :type additional_response_selection_parameters: dict
  
  :rtype: Statement
docstr_tok: ["Override","this","method","and","implement","your","logic","for","selecting","a","response","to","an","input","statement",".","A","confidence","value","and","the","selected","response","statement","should","be","returned",".","The","confidence","value","represents","a","rating","of","how","accurate","the","logic","adapter","expects","the","selected","response","to","be",".","Confidence","scores","are","used","to","select","the","best","response","from","multiple","logic","adapters",".","The","confidence","value","should","be","a","number","between","0","and","1","where","0","is","the","lowest","confidence","level","and","1","is","the","highest",".",":","param","statement",":","An","input","statement","to","be","processed","by","the","logic","adapter",".",":","type","statement",":","Statement",":","param","additional_response_selection_parameters",":","Parameters","to","be","used","when","filtering","results","to","choose","a","response","from",".",":","type","additional_response_selection_parameters",":","dict",":","rtype",":","Statement"]
code: def process(
      self, statement, additional_response_selection_parameters=None
  ):
      """
      Override this method and implement your logic for selecting a response to an input statement.
  
      A confidence value and the selected response statement should be returned.
      The confidence value represents a rating of how accurate the logic adapter
      expects the selected response to be. Confidence scores are used to select
      the best response from multiple logic adapters.
  
      The confidence value should be a number between 0 and 1 where 0 is the
      lowest confidence level and 1 is the highest.
  
      :param statement: An input statement to be processed by the logic adapter.
      :type statement: Statement
  
      :param additional_response_selection_parameters: Parameters to be used when
          filtering results to choose a response from.
      :type additional_response_selection_parameters: dict
  
      :rtype: Statement
      """
      raise self.AdapterMethodNotImplementedError()
  
file_path: ChatterBot/chatterbot/logic/logic_adapter.py
imports: from chatterbot.adapters import Adapter
  from chatterbot.storage import StorageAdapter
  from chatterbot.search import IndexedTextSearch
  from chatterbot.conversation import Statement
label_desc: Use image node_id 3 for calling the LogicAdapter obj's underlying member method code with example usage: obj.process(statement, additional_response_selection_parameters) without return types