code: from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
  
  documents = SimpleDirectoryReader("./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(response)
apis: llama_index.core.VectorStoreIndex.from_documents llama_index.core.SimpleDirectoryReader
extract_api: [((134, 176), 'llama_index.core.VectorStoreIndex.from_documents', 'VectorStoreIndex.from_documents', (['documents'], {}), '(documents)\n', (165, 176), False, 'from llama_index.core import VectorStoreIndex, SimpleDirectoryReader\n'), ((82, 113), 'llama_index.core.SimpleDirectoryReader', 'SimpleDirectoryReader', (['"""./data"""'], {}), "('./data')\n", (103, 113), False, 'from llama_index.core import VectorStoreIndex, SimpleDirectoryReader\n')]