muratali016 / Document-ChatGPT

Document based ChatGPT
Apache License 2.0
8 stars 3 forks source link

ValueError: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use `from_documents` instead. #4

Closed MArevaloSA closed 1 year ago

MArevaloSA commented 1 year ago

Hi, I was trying to use this project, but when I was running document_based_chatgpt.py the next error was showed: ValueError: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use "from_documents" instead. I think it is because llama-index version I installed 0.5.23.post1. So I would like to open a PR to solved that.

muratali016 commented 1 year ago

Can you detail the problem, on what line you have faced this and did you try to use what the error says