umbertogriffo / rag-chatbot

RAG (Retrieval-augmented generation) ChatBot that provides answers based on contextual information extracted from a collection of Markdown files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failing to retrieve model

youssef595 opened this issue · comments

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)

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

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.