From dd258c14b54764c953f3e7424aa58bc8a2082b3c Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Tue, 2 Jan 2024 04:16:08 -0800 Subject: [PATCH] feat: Make gpt4all work offline. (#1099) --- embedchain/llm/gpt4all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedchain/llm/gpt4all.py b/embedchain/llm/gpt4all.py index 73950bd7..4afddfab 100644 --- a/embedchain/llm/gpt4all.py +++ b/embedchain/llm/gpt4all.py @@ -29,7 +29,7 @@ class GPT4ALLLlm(BaseLlm): "The GPT4All python package is not installed. Please install it with `pip install --upgrade embedchain[opensource]`" # noqa E501 ) from None - return LangchainGPT4All(model=model, allow_download=True) + return LangchainGPT4All(model=model) def _get_answer(self, prompt: str, config: BaseLlmConfig) -> Union[str, Iterable]: if config.model and config.model != self.config.model: