code: def setup_class(cls):
      cls.path: str = tempfile.mkdtemp()
      cache_path: str = os.path.join(cls.path, "cache")
      ensure_directory_exists(cache_path)
  
      # Build the cache with real requests and responses
      with SqliteDict(
          os.path.join(cache_path, "cohere.sqlite")
      ) as cache:
          for request, response in REQUESTS_TO_RESPONSES.items():
              cache[request] = response
          cache.commit()
  
      # Requests/responses are already cached. Just write out a fake key to credentials.conf.
      with open(os.path.join(cls.path, "credentials.conf"), "w") as f:
          f.write("cohereApiKey: secret")
  
      service: TokenizerService = get_tokenizer_service(cls.path)
      cls.window_service = WindowServiceFactory.get_window_service(
          "cohere/xlarge-20220609", service
      )
      cls.prompt: str = TEST_PROMPT
      cls.tokenized_prompt: List[str] = TOKENIZED_PROMPT
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/window_services/test_cohere_window_service.py
imports: import os
  import shutil
  import tempfile
  from typing import List
  from sqlitedict import SqliteDict
  from helm.common.general import ensure_directory_exists
  from .test_cohere_window_service_utils import REQUESTS_TO_RESPONSES, TEST_PROMPT, TOKENIZED_PROMPT
  from .tokenizer_service import TokenizerService
  from .window_service_factory import WindowServiceFactory
  from .test_utils import get_tokenizer_service
label_desc: Use image node_id 1 for calling the TestCohereWindowService obj's underlying member method code with example usage: obj.setup_class(cls) without return types