From 1dfb6a2a44ddf027fac7aee2a8a15edb3a065a5b Mon Sep 17 00:00:00 2001 From: Jimmy Comfort Date: Thu, 6 Apr 2023 15:38:26 -0400 Subject: [PATCH] Update gpt4all example with model param (#2499) I am pretty sure that the documentation here should point to `model` instead of `model_path` based on the documentation here: https://github.com/hwchase17/langchain/blob/master/langchain/llms/gpt4all.py#L26 --- docs/modules/models/llms/integrations/gpt4all.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/models/llms/integrations/gpt4all.ipynb b/docs/modules/models/llms/integrations/gpt4all.ipynb index 997f016b..07c6b0d5 100644 --- a/docs/modules/models/llms/integrations/gpt4all.ipynb +++ b/docs/modules/models/llms/integrations/gpt4all.ipynb @@ -49,7 +49,7 @@ "source": [ "# You'll need to download a compatible model and convert it to ggml.\n", "# See: https://github.com/nomic-ai/gpt4all for more information.\n", - "llm = GPT4All(model_path=\"./models/gpt4all-model.bin\")" + "llm = GPT4All(model=\"./models/gpt4all-model.bin\")" ] }, {