class_docstr: Unit tests for the HuggingFaceTextGen LLM class
code: def test_params_setting(self):
      llm = HuggingFaceTextGen(
          inference_server_url="http://127.0.0.1:8080",
          max_new_tokens=1024,
          top_p=0.8,
          typical_p=0.8,
          temperature=1e-3,
          stop_sequences=["\n"],
          seed=0,
          do_sample=False,
          streaming=True,
          timeout=120,
      )
  
      assert llm.client.base_url == "http://127.0.0.1:8080"
      assert llm.max_new_tokens == 1024
      assert llm.top_p == 0.8
      assert llm.temperature == 0.001
      assert llm.stop_sequences == ["\n"]
      assert llm.seed == 0
      assert not llm.do_sample
      assert llm.streaming
      assert llm.timeout == 120
  
file_path: pandas-ai/tests/llms/test_huggingface_text_gen.py
imports: from pandasai.prompts import AbstractPrompt
  from pandasai.llm import HuggingFaceTextGen
label_desc: Use image node_id 2 for calling the TestHuggingFaceTextGen obj's underlying member method code with example usage: obj.test_params_setting() without return types