diff --git a/app/gpt.py b/app/gpt.py index a45505d3..da1b2f42 100644 --- a/app/gpt.py +++ b/app/gpt.py @@ -7,7 +7,7 @@ import openai def answer_question(prompt, user): bots_context = "You are located in zipcode 94549. You are a chatbot written in python and you are answering questions for me" - openai.api_key = os.getenv("OPENAI_API_KEY") + openai.api_key = os.getenv("OPENAI_API_KEY") completion = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[{"role": user, "content": prompt}]