class_docstr: Allows for an HTTP endpoint to be used to parse messages.
class_docstr_tok: ["Allows","for","an","HTTP","endpoint","to","be","used","to","parse","messages","."]
docstr: Initializes a `RasaNLUHttpInterpreter`.
docstr_tok: ["Initializes","a","`","RasaNLUHttpInterpreter","`","."]
code: def __init__(
      self, endpoint_config: Optional[EndpointConfig] = None
  ) -> None:
      """Initializes a `RasaNLUHttpInterpreter`."""
      self.session = aiohttp.ClientSession()
      if endpoint_config:
          self.endpoint_config = endpoint_config
      else:
          self.endpoint_config = EndpointConfig(
              constants.DEFAULT_SERVER_URL
          )
  
file_path: rasa/rasa/core/http_interpreter.py
imports: import aiohttp
  import copy
  import logging
  import structlog
  from typing import Text, Dict, Any, Optional
  from rasa.core import constants
  from rasa.core.channels import UserMessage
  from rasa.shared.nlu.constants import INTENT_NAME_KEY
  from rasa.utils.endpoints import EndpointConfig
label_desc: Use image node_id 1 to create a new RasaNLUHttpInterpreter object  with example: obj = RasaNLUHttpInterpreter(endpoint_config)