class_docstr: A custom LLM class that integrates LLMs running on the ColossalCloud Platform
class_docstr_tok: ["A","custom","LLM","class","that","integrates","LLMs","running","on","the","ColossalCloud","Platform"]
code: def set_auth_config(self, **kwargs):
      url = get_from_dict_or_env(kwargs, "url", "URL")
      host = get_from_dict_or_env(kwargs, "host", "HOST")
  
      auth_config = {}
      auth_config["endpoint"] = url
      auth_config["Host"] = host
      self.auth_config = auth_config
  
file_path: colossalai/applications/ColossalQA/colossalqa/local/colossalcloud_llm.py
imports: import json
  from typing import Any, List, Mapping, Optional
  import requests
  from langchain.llms.base import LLM
  from langchain.utils import get_from_dict_or_env
label_desc: Use image node_id 4 for calling the ColossalCloudLLM obj's underlying member method code with example usage: obj.set_auth_config() without return types