code: def __init__(self, pipeline: Pipeline, config: GenerationConfig):
      self.pipeline = pipeline
      self.config = config
  
file_path: BigDL/python/llm/src/bigdl/llm/ggml/model/chatglm/chatglm_cpp.py
imports: from typing import List
  from pathlib import Path
  from bigdl.llm.libs.chatglm_C import Pipeline, GenerationConfig
label_desc: Use image node_id 1 to create a new ChatGLMContext object  with example: obj = ChatGLMContext(pipeline, config)