code: def download_wikipedia_data(
      data_path: str = "../../data/",
      download_path: str = "./",
      file_name: str = "vector_database_wikipedia_articles_embedded",
  ) -> pd.DataFrame:
      data_url = "https://cdn.openai.com/API/examples/data/vector_database_wikipedia_articles_embedded.zip"
  
      csv_file_path = os.path.join(data_path, file_name + ".csv")
      zip_file_path = os.path.join(download_path, file_name + ".zip")
      if os.path.isfile(csv_file_path):
          print("File Downloaded")
      else:
          if os.path.isfile(zip_file_path):
              print("Zip downloaded but not unzipped, unzipping now...")
          else:
              print("File not found, downloading now...")
              # Download the data
              wget.download(data_url, out=download_path)
  
          # Unzip the data
          with zipfile.ZipFile(zip_file_path, "r") as zip_ref:
              zip_ref.extractall(data_path)
  
          # Remove the zip file
          os.remove("vector_database_wikipedia_articles_embedded.zip")
          print(f"File downloaded to {data_path}")
  
file_path: openai-cookbook/examples/vector_databases/redis/nbutils.py
imports: import os
  import wget
  import zipfile
  import numpy
  import pandas
  from ast import literal_eval
label_desc: Use image node_id 1 for calling a global function with example usage: download_wikipedia_data(data_path, download_path, file_name) without return types