From 136a5ac30de3c3ec18e66d1257cb15c1de74139a Mon Sep 17 00:00:00 2001 From: Konstantin Gukov Date: Thu, 25 May 2023 17:53:48 +0200 Subject: [PATCH] Correct return type --- gpt4all-bindings/python/gpt4all/gpt4all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/gpt4all/gpt4all.py b/gpt4all-bindings/python/gpt4all/gpt4all.py index 73f0194f..767b4837 100644 --- a/gpt4all-bindings/python/gpt4all/gpt4all.py +++ b/gpt4all-bindings/python/gpt4all/gpt4all.py @@ -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