Pash1986 commited on
Commit
3a2cf77
1 Parent(s): fb20337

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def get_restaurants(search, location, meters):
55
 
56
 
57
  chat_response = openai_client.chat.completions.create(
58
- model="gpt-4",
59
  messages=[
60
  {"role": "system", "content": "You are a helpful restaurant assistant. You will get a context if the context is not relevat to the user query please address that and not provide by default the restaurants as is."},
61
  { "role": "user", "content": f"Find me the 2 best restaurant and why based on {search} and {restaurant_docs}. explain trades offs and why I should go to each one. You can mention the third option as a possible alternative."}
 
55
 
56
 
57
  chat_response = openai_client.chat.completions.create(
58
+ model="gpt-3.5-turbo",
59
  messages=[
60
  {"role": "system", "content": "You are a helpful restaurant assistant. You will get a context if the context is not relevat to the user query please address that and not provide by default the restaurants as is."},
61
  { "role": "user", "content": f"Find me the 2 best restaurant and why based on {search} and {restaurant_docs}. explain trades offs and why I should go to each one. You can mention the third option as a possible alternative."}