logan-markewich/llama_index_starter_pack

There seems to be a cache during the Q&A process.

Lufffya opened this issue · 7 comments

image

As shown in the picture, I uploaded a wiki on machine learning and asked a question. However, the reply I received was from my previously uploaded review.txt file, even though I had already deleted it and restarted the project.

image

Then no matter what I ask next, the answer is always the same.

@Lufffya ohhh interesting!

There are two cache files here:
index_name = "./index.json"
pkl_name = "stored_documents.pkl"

They will be saved in the same folder as the flask/index server

Delete those two files and see if it works?

I deleted those two files and asked some questions.
It seems that the problem still exists.

image

image

image

@Lufffya dang, super weird. I'll have to debug this tomorrow. I'll let you know when I find the issue. Thanks for testing though!

Hey @Lufffya I figured it out!

I should have noticed this sooner, but try cloning the latest version of the repo

There was a recent PR (b1e1f7c) that solves the issue you are having

@logan-markewich It worked, thank you very much!!!

Amazing! 🚀