documents = SimpleDirectoryReader(input_files=["./less_page.pdf"]).load_data()
#if no index, create one
#index = GPTSimpleVectorIndex.from_documents(documents)
openai.api_key = os.getenv("OPENAI_API_KEY")
index = GPTSimpleVectorIndex.load_from_disk("less_page.json")
response = index.query("who is Amanda Rajkumar?")
print(response)