umbertogriffo / rag-chatbot

RAG (Retrieval-augmented generation) ChatBot that provides answers based on contextual information extracted from a collection of Markdown files.
Apache License 2.0
174 stars 35 forks source link

Failing to retrieve model #1

Closed youssef595 closed 1 year ago

youssef595 commented 1 year ago

Tried with laura model, or wizard model but the code returned the error below when it tries to load the models with load_gpt4all function.

ValidationError: 1 validation error for GPT4All root Failed to retrieve model (type=value_error)

youssef595 commented 1 year ago

When calling the model's absolute path, it worked.

umbertogriffo commented 1 year ago

Hi @youssef595, I have updated the code to automatically download the model and link it to the appropriate folder. Please let me know if this resolves your issue.