class_docstr: Unit tests for the GooglePalm LLM class
code: def test_validations(self, prompt):
      with pytest.raises(
          ValueError,
          match=re.escape(
              "temperature must be in the range [0.0, 1.0]"
          ),
      ):
          GooglePalm(api_key="test", temperature=-1).call(
              prompt, "World"
          )
  
      with pytest.raises(
          ValueError,
          match=re.escape(
              "temperature must be in the range [0.0, 1.0]"
          ),
      ):
          GooglePalm(api_key="test", temperature=1.1).call(
              prompt, "World"
          )
  
      with pytest.raises(
          ValueError,
          match=re.escape("top_p must be in the range [0.0, 1.0]"),
      ):
          GooglePalm(api_key="test", top_p=-1).call(prompt, "World")
  
      with pytest.raises(
          ValueError,
          match=re.escape("top_p must be in the range [0.0, 1.0]"),
      ):
          GooglePalm(api_key="test", top_p=1.1).call(prompt, "World")
  
      with pytest.raises(
          ValueError,
          match=re.escape("top_k must be in the range [0.0, 100.0]"),
      ):
          GooglePalm(api_key="test", top_k=-100).call(prompt, "World")
  
      with pytest.raises(
          ValueError,
          match=re.escape("top_k must be in the range [0.0, 100.0]"),
      ):
          GooglePalm(api_key="test", top_k=110).call(prompt, "World")
  
      with pytest.raises(
          ValueError,
          match=re.escape(
              "max_output_tokens must be greater than zero"
          ),
      ):
          GooglePalm(api_key="test", max_output_tokens=0).call(
              prompt, "World"
          )
  
      with pytest.raises(
          ValueError, match=re.escape("model is required.")
      ):
          GooglePalm(api_key="test", model="").call(prompt, "World")
  
file_path: pandas-ai/tests/llms/test_google_palm.py
imports: import re
  import pytest
  from google import generativeai
  from pandasai.exceptions import APIKeyNotFoundError
  from pandasai.llm import GooglePalm
  from pandasai.prompts import AbstractPrompt
label_desc: Use image node_id 5 for calling the TestGooglePalm obj's underlying member method code with example usage: obj.test_validations(prompt) without return types