sylvainHellin commited on
Commit
43eb109
·
verified ·
1 Parent(s): 86f71f5

pointed GPT 3.5 to newer model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ SYSTEM_PROMPT = "You are a helpful assistant and do your best to answer the user
27
  # define the function that will make the API calls
28
  def APIcall(prompt:str, temperature = 0.7, max_tokens = 1024, model="GPT-3.5", stream=True):
29
  if model == "GPT-3.5":
30
- model = "gpt-3.5-turbo"
31
  else:
32
  model = "gpt-4-turbo-preview"
33
  # make the API call with the given parameter
 
27
  # define the function that will make the API calls
28
  def APIcall(prompt:str, temperature = 0.7, max_tokens = 1024, model="GPT-3.5", stream=True):
29
  if model == "GPT-3.5":
30
+ model = "gpt-3.5-turbo-0125"
31
  else:
32
  model = "gpt-4-turbo-preview"
33
  # make the API call with the given parameter