fadliaulawi commited on
Commit
e372013
·
1 Parent(s): c70f5c3

Update model with gpt4o

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -113,7 +113,7 @@ def generateRecommendation(background, question):
113
  }
114
  ],
115
  # model="llama-3.1-70b-versatile",
116
- model="gpt-3.5-turbo",
117
  )
118
  recommendation = chat_completion.choices[0].message.content.strip()
119
 
@@ -129,7 +129,7 @@ def generateRoles(background, question):
129
  }
130
  ],
131
  # model="llama-3.1-70b-versatile",
132
- model="gpt-3.5-turbo",
133
  )
134
  roles = chat_completion.choices[0].message.content.strip()
135
 
@@ -145,7 +145,7 @@ def generateRisk(role, background, question):
145
  }
146
  ],
147
  # model="llama-3.1-70b-versatile",
148
- model="gpt-3.5-turbo",
149
  )
150
  risk = chat_completion.choices[0].message.content.strip()
151
 
 
113
  }
114
  ],
115
  # model="llama-3.1-70b-versatile",
116
+ model="gpt-4o",
117
  )
118
  recommendation = chat_completion.choices[0].message.content.strip()
119
 
 
129
  }
130
  ],
131
  # model="llama-3.1-70b-versatile",
132
+ model="gpt-4o",
133
  )
134
  roles = chat_completion.choices[0].message.content.strip()
135
 
 
145
  }
146
  ],
147
  # model="llama-3.1-70b-versatile",
148
+ model="gpt-4o",
149
  )
150
  risk = chat_completion.choices[0].message.content.strip()
151