code: def annoy_index_file():
      with tempfile.TemporaryDirectory() as f:
          yield os.path.join(f, "annoy.index")
  
file_path: ivis/tests/data/test_knn.py
imports: import tempfile
  import os
  import pytest
  from annoy import AnnoyIndex
  from scipy.sparse import csr_matrix
  from sklearn import datasets
  import numpy
  from ivis.data.neighbour_retrieval import AnnoyKnnMatrix
  from ivis.data.neighbour_retrieval.knn import build_annoy_index, extract_knn
label_desc: Use image node_id 1 for calling a global function with example usage: annoy_index_file() without return types