From c4933ee12f0f1bfec5929354733c9b2e616ee718 Mon Sep 17 00:00:00 2001 From: Harry Caufield Date: Mon, 16 Oct 2023 18:17:39 -0400 Subject: [PATCH] Repair clinical note generation in CLI This only impacted calls to OpenAI, not local models, but the former wasn't working at all. --- src/ontogpt/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ontogpt/cli.py b/src/ontogpt/cli.py index bd93cb060..17527376f 100644 --- a/src/ontogpt/cli.py +++ b/src/ontogpt/cli.py @@ -1673,7 +1673,7 @@ def clinical_notes( if model_source == "OpenAI": c = OpenAIClient(model=model_name) - results = c.complete(prompt, show_prompt) + results = c.complete(prompt=prompt, show_prompt=show_prompt) elif model_source == "GPT4All": c = set_up_gpt4all_model(modelname=model_name)