Hello!,
I followed the README on github.
When I enter the file path /mnt/external and click on the green Index Documents button I get the following errors:
ValueError: not enough values to unpack (expected 2, got 1)
Traceback:
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 121, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 591, in code_to_exec
exec(code, module.dict)
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 345, in
main()
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 244, in main
index_documents(documents_path)
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 94, in index_documents
index.add(np.array(embeddings))
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/faiss/class_wrappers.py", line 227, in replacement_add
n, d = x.shape
^^^^
I am at a total loss on how to trouble shoot this problem.
I am running on an Ubuntu 24.04 virtual machine on a Proxmox server. I followed the README and cloned the repository. Then created a virtual environment. I run local_genai_seaarch.py per the README and everything runs fine. Of course, I can open the streamlit in the browser, etc.
Any and all help would be very much appreciated as this app has great potential and will be extremely useful. Thank you!
Hello!,
I followed the README on github.
When I enter the file path /mnt/external and click on the green Index Documents button I get the following errors:
ValueError: not enough values to unpack (expected 2, got 1)
Traceback:
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 121, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 591, in code_to_exec
exec(code, module.dict)
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 345, in
main()
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 244, in main
index_documents(documents_path)
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/local_genai_search.py", line 94, in index_documents
index.add(np.array(embeddings))
File "/home/fdavidg/Generative-Search-Engine-For-Local-Files/GenAI_Search_Engine/lib/python3.12/site-packages/faiss/class_wrappers.py", line 227, in replacement_add
n, d = x.shape
^^^^
I am at a total loss on how to trouble shoot this problem.
I am running on an Ubuntu 24.04 virtual machine on a Proxmox server. I followed the README and cloned the repository. Then created a virtual environment. I run local_genai_seaarch.py per the README and everything runs fine. Of course, I can open the streamlit in the browser, etc.
Any and all help would be very much appreciated as this app has great potential and will be extremely useful. Thank you!