Open
Description
Self Checks
- I have searched for existing issues search for existing issues, including closed ones.
- I confirm that I am using English to submit this report (Language Policy).
- Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- Please do not modify this template :) and fill in all the required fields.
Describe your problem
The file uploaded to my knowledge base shows that it has been parsing continuously, causing me to be unable to start the Q&A. Upon checking the logs, there were no errors reported, only a warning log. I suspect it may be due to the inability to find term.freq. Have any brothers encountered this problem.
Warning log:
2025-03-13 11:09:30,259 WARNING 9652 Load term.freq FAIL!
2025-03-13 11:09:30,269 WARNING 9652 Load term.freq FAIL!
Related code snippet: termw_eight.py file. Checked that there is no term.freq file in the rag/res directory
fnm = os.path.join(get_project_base_directory(), "rag/res")
try:
self.df = load_dict(os.path.join(fnm, "term.freq"))
except Exception:
logging.warning("Load term.freq FAIL!")