fix indent
This commit is contained in:
parent
c26a58093d
commit
f25520972f
@ -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}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user