GPT4All()GPT4All language models.
To use, you should have the gpt4all python package installed, the
pre-trained model file, and the model's config information.
Example:
.. code-block:: python
from langchain_community.llms import GPT4All model = GPT4All(model="./models/gpt4all-model.bin", n_threads=8)
response = model.invoke("Once upon a time, ")