From a36dbeb9178f0d19b66b0cd4c982e69a6d996874 Mon Sep 17 00:00:00 2001 From: Navraj Chohan Date: Thu, 16 Feb 2023 15:05:13 -0800 Subject: [PATCH] Make Haly an expert in all things --- src/services/openai_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/openai_service.py b/src/services/openai_service.py index 419b7a7..b4bb642 100644 --- a/src/services/openai_service.py +++ b/src/services/openai_service.py @@ -3,11 +3,11 @@ openai.api_key = os.environ["OPENAI_API_KEY"] -base_prompt = "You are a Slack bot named Haly. You are having a conversation with a user.\n\n" +base_prompt = "You are a Slack bot named Haly. You are an expert in everything. You are a consultant. You are having a conversation with a client.\n\n" def run_completion(text): completion = openai.Completion.create( - model="text-davinci-003", prompt=text, max_tokens=1000, temperature=0.7 + model="text-davinci-003", prompt=text, max_tokens=3000, temperature=0.7 ) return completion.choices[0].text