input: 
  def run_virtual_assistant(project_id: str, session_id: str, language_code: str = 'en-US') -> None:
      """
      Runs a virtual assistant using Dialogflow to answer a basic set of questions. The assistant
      continuously waits for user input and responds with the fulfillment text from Dialogflow.
  
      >>> run_virtual_assistant('project-id', 'session-id')
      User: What is the weather today?
      Assistant: The weather today is sunny with a high of 75°F.
      User: Tell me a joke.
      Assistant: Why don't scientists trust atoms? Because they make up everything!
      """
      import dialogflow_v2 as dialogflow
  
      session_client = dialogflow.SessionsClient()
      session = session_client.session_path(project_id, session_id)
  
      while True:
          text = input('User: ')
          text_input = dialogflow.types.TextInput(text=text, language_code=language_code)
          query_input = dialogflow.types.QueryInput(text=text_input)
          response = session_client.detect_intent(session=session, query_input=query_input)
  
          print('Assistant:', response.query_result.fulfillment_text)
  
output:     import dialogflow_v2 as dialogflow
  
      session_client = dialogflow.SessionsClient()
      session = session_client.session_path(project_id, session_id)
  
      while True:
          text = input('User: ')
          text_input = dialogflow.types.TextInput(text=text, language_code=language_code)
          query_input = dialogflow.types.QueryInput(text=text_input)
          response = session_client.detect_intent(session=session, query_input=query_input)
  
          print('Assistant:', response.query_result.fulfillment_text)