code: def main(args):
      question = args.question
      model_path = args.model_path
      model_family = args.model_family
      n_threads = args.thread_num
      template = """{question}"""
  
      prompt = PromptTemplate(
          template=template, input_variables=["question"]
      )
  
      # Callbacks support token-wise streaming
      callback_manager = CallbackManager(
          [StreamingStdOutCallbackHandler()]
      )
  
      model_family_to_llm = {
          "llama": LlamaLLM,
          "gptneox": GptneoxLLM,
          "bloom": BloomLLM,
          "starcoder": StarcoderLLM,
          "chatglm": ChatGLMLLM,
      }
  
      if model_family in model_family_to_llm:
          langchain_llm = model_family_to_llm[model_family]
      else:
          raise ValueError(f"Unknown model family: {model_family}")
  
      # Verbose is required to pass to the callback manager
      llm = langchain_llm(
          model_path=model_path,
          n_threads=n_threads,
          callback_manager=callback_manager,
          verbose=True,
      )
  
      llm_chain = LLMChain(prompt=prompt, llm=llm)
  
      llm_chain.run(question)
  
imports: import argparse
  from bigdl.llm.langchain.llms import *
  from langchain import PromptTemplate, LLMChain
  from langchain.callbacks.manager import CallbackManager
  from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types