Find answers from the community

Home
Members
pool.bit
p
pool.bit
Offline, last seen 4 months ago
Joined September 25, 2024
the same query in 0.4x cant get anything in 0.5x , (I have re-index my index file ) just wondering, if there is any default value changed will affect the query ? (the index is in simpleVector, and I create the index and make query use default parameter)
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)
1 comment
L