From 8649926899006446a0586cb369dc278afcbf84d1 Mon Sep 17 00:00:00 2001 From: ein Date: Sat, 24 Sep 2022 18:04:39 -0700 Subject: [PATCH] lower costs on openai --- app/questions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/questions.py b/app/questions.py index 30ac66f5..8effd439 100644 --- a/app/questions.py +++ b/app/questions.py @@ -35,7 +35,7 @@ def open_ai(prompt): openai.api_key = os.getenv("OPENAI_API_KEY") response = openai.Completion.create( - model="text-davinci-002", + model="text-ada-001", prompt=prompt, temperature=0.7, max_tokens=256,