code: # Debug stuff
  import os
  import readline
  print("Current Working Directory:", os.getcwd())
  #env_var = os.getenv('OPENAI_API_KEY')
  #print(env_var)
  
  # Sets llama-index
  import logging
  import sys
  
  logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
  logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
  
  from llama_index import VectorStoreIndex, SimpleDirectoryReader
  
  documents = SimpleDirectoryReader("python/data").load_data()
  index = VectorStoreIndex.from_documents(documents)
  
  query_engine = index.as_query_engine()
  response = query_engine.query("What did the author do growing up?")
  print("---------------------")
  print(response)
  print("---------------------")
  
  
apis: llama_index.VectorStoreIndex.from_documents llama_index.SimpleDirectoryReader
extract_api: [((191, 250), 'logging.basicConfig', 'logging.basicConfig', ([], {'stream': 'sys.stdout', 'level': 'logging.DEBUG'}), '(stream=sys.stdout, level=logging.DEBUG)\n', (210, 250), False, 'import logging\n'), ((459, 501), 'llama_index.VectorStoreIndex.from_documents', 'VectorStoreIndex.from_documents', (['documents'], {}), '(documents)\n', (490, 501), False, 'from llama_index import VectorStoreIndex, SimpleDirectoryReader\n'), ((76, 87), 'os.getcwd', 'os.getcwd', ([], {}), '()\n', (85, 87), False, 'import os\n'), ((282, 322), 'logging.StreamHandler', 'logging.StreamHandler', ([], {'stream': 'sys.stdout'}), '(stream=sys.stdout)\n', (303, 322), False, 'import logging\n'), ((251, 270), 'logging.getLogger', 'logging.getLogger', ([], {}), '()\n', (268, 270), False, 'import logging\n'), ((402, 438), 'llama_index.SimpleDirectoryReader', 'SimpleDirectoryReader', (['"""python/data"""'], {}), "('python/data')\n", (423, 438), False, 'from llama_index import VectorStoreIndex, SimpleDirectoryReader\n')]