Fix spelling typo in gpt4all.py (#1007)

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
This commit is contained in:
standby24x7 2023-06-19 03:07:46 +09:00 committed by GitHub
parent 42e8049564
commit cdea838671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ DEFAULT_MODEL_DIRECTORY = os.path.join(str(Path.home()), ".cache", "gpt4all").re
class GPT4All():
"""Python API for retrieving and interacting with GPT4All models.
Attribuies:
Attributes:
model: Pointer to underlying C model.
"""
@ -257,7 +257,7 @@ class GPT4All():
default_prompt_header=True,
default_prompt_footer=True) -> str:
"""
Helper method for buildilng a prompt using template from list of messages.
Helper method for building a prompt using template from list of messages.
Args:
messages: List of dictionaries. Each dictionary should have a "role" key