mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-23 14:07:58 +00:00
Correct return type
This commit is contained in:
parent
e362e18431
commit
136a5ac30d
@ -173,7 +173,7 @@ class GPT4All():
|
||||
default_prompt_footer: bool = True,
|
||||
verbose: bool = True,
|
||||
streaming: bool = True,
|
||||
**generate_kwargs) -> str:
|
||||
**generate_kwargs) -> dict:
|
||||
"""
|
||||
Format list of message dictionaries into a prompt and call model
|
||||
generate on prompt. Returns a response dictionary with metadata and
|
||||
|
Loading…
Reference in New Issue
Block a user