code: def set_cache(self, key, value, **kwargs):
      ttl = kwargs.get("ttl", None)
      print_verbose(f"Set Redis Cache: key: {key}\nValue {value}")
      try:
          self.redis_client.set(name=key, value=str(value), ex=ttl)
      except Exception as e:
          # NON blocking - notify users Redis is throwing an exception
          logging.debug(
              "LiteLLM Caching: set() - Got exception from REDIS : ", e
          )
  
imports: import litellm
  import time, logging
  import json, traceback, ast, hashlib
  from typing import Optional, Literal, List, Union, Any
  from openai._models import BaseModel
label_desc: Use image node_id 2 for calling the RedisCache obj's underlying member method code with example usage: obj.set_cache(key, value) without return types