mojuss commited on
Commit
9d7f4a7
1 Parent(s): c6b8aa5

Update GenericGPTapp.py

Browse files
Files changed (1) hide show
  1. 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})