Pash1986 commited on
Commit
9925f78
1 Parent(s): 4f1a803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,8 +57,8 @@ def get_restaurants(search, location, meters):
57
  chat_response = openai_client.chat.completions.create(
58
  model="gpt-4o",
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."}
62
  ]
63
  )
64
 
 
57
  chat_response = openai_client.chat.completions.create(
58
  model="gpt-4o",
59
  messages=[
60
+ {"role": "system", "content": "You are a helpful restaurant assistant. Answer shortly and quickly. 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}. Shortly explain trades offs and why I should go to each one. You can mention the third option as a possible alternative in one sentence."}
62
  ]
63
  )
64