Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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."}
|