code: # ENTER YOUR OPENAPI KEY IN OPENAI_API_KEY ENV VAR FIRST
  from llama_index import GPTSimpleVectorIndex, SimpleDirectoryReader, LLMPredictor, download_loader
  
  savePath = f'/{os.path.dirname(__file__)}/indexes/index.json'
  #
  # index = GPTSimpleVectorIndex(documents)#, llm_predictor=llm_predictor)
  
  index = GPTSimpleVectorIndex.load_from_disk(savePath)
  
  
  response = index.query("Summarize the vulnerability CVE-2021-23406", response_mode="tree_summarize")
  print(response)
  print('Sources are ', response.get_formatted_sources())
  
apis: llama_index.GPTSimpleVectorIndex.load_from_disk
extract_api: [((303, 348), 'llama_index.GPTSimpleVectorIndex.load_from_disk', 'GPTSimpleVectorIndex.load_from_disk', (['savePath'], {}), '(savePath)\n', (338, 348), False, 'from llama_index import GPTSimpleVectorIndex, SimpleDirectoryReader, LLMPredictor, download_loader\n')]