From e05ee9466ace4f172a811f54dd651ed2c6274e24 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