Update GenericGPTapp.py
Browse files- GenericGPTapp.py +1 -1
GenericGPTapp.py
CHANGED
@@ -18,7 +18,7 @@ def chatbot(input):
|
|
18 |
if input:
|
19 |
messages.append({"role": "user", "content": input})
|
20 |
chat = openai.ChatCompletion.create(
|
21 |
-
model="gpt-3.5-turbo", messages=messages
|
22 |
)
|
23 |
reply = chat.choices[0].message.content
|
24 |
messages.append({"role": "assistant", "content": reply})
|
|
|
18 |
if input:
|
19 |
messages.append({"role": "user", "content": input})
|
20 |
chat = openai.ChatCompletion.create(
|
21 |
+
model="gpt-3.5-turbo-instruct", messages=messages
|
22 |
)
|
23 |
reply = chat.choices[0].message.content
|
24 |
messages.append({"role": "assistant", "content": reply})
|