code: def get_current_weather(location, unit="fahrenheit"):
      """Get the current weather in a given location"""
      if "tokyo" in location.lower():
          return json.dumps(
              {
                  "location": "Tokyo",
                  "temperature": "10",
                  "unit": "celsius",
              }
          )
      elif "san francisco" in location.lower():
          return json.dumps(
              {
                  "location": "San Francisco",
                  "temperature": "72",
                  "unit": "fahrenheit",
              }
          )
      elif "paris" in location.lower():
          return json.dumps(
              {
                  "location": "Paris",
                  "temperature": "22",
                  "unit": "celsius",
              }
          )
      else:
          return json.dumps(
              {"location": location, "temperature": "unknown"}
          )
  
file_path: litellm/litellm/tests/test_function_calling.py
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm import embedding, completion, completion_cost, Timeout
  from litellm import RateLimitError
  import pytest
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: get_current_weather(location, unit) and returns: json, json, json, json