Find answers from the community

D
Dieter
Offline, last seen 3 months ago
Joined September 25, 2024
I make a copy of a docx-file with windows exlorer, then I read it into documents via SimpleDirectoryReader.
I want to compare whether both files are the same.
  1. if I compare document.get_content they are equal
  2. but the document.hash of both are different.
When I ask Bing Chat what is part of generating the hash, it replies only the content.
  • What is really used for buildung the hash?
  • where is this documented?
I used llama_index 0.7.4
Many thanks for help
4 comments
L
D
Hi, I am a beginner in llama_index. When I use SubQuestionQueryEngine.from_defaults(query_engine_tools=query_engine_tools) and add verbose=False to avoid output I get the error message 'free variable 'colors' referenced before assignment in enclosing scope':
How can I avoid this. Thanks
7 comments
L
D