code: def get_model_response(generator, user_input, max_new_tokens):
      response = generator(user_input, max_new_tokens=max_new_tokens)
      return response
  
file_path: deepspeedexamples/applications/DeepSpeed-Chat/inference/chatbot.py
imports: import argparse
  import re
  import logging
  import transformers
  import os
  import json
  from transformers import pipeline, set_seed
  from transformers import AutoConfig, AutoTokenizer, AutoModelForCausalLM
label_desc: Use image node_id 4 for calling a global function with example usage: get_model_response(generator, user_input, max_new_tokens) and returns: response