Spaces:
Runtime error
Runtime error
venkat-srinivasan-nexusflow
commited on
Commit
β’
ab37a24
1
Parent(s):
7ff240f
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ FUNCTIONS = [
|
|
91 |
explanation_function=lambda result: f"Fetched {len(result)} reviews!",
|
92 |
),
|
93 |
Function(
|
94 |
-
name="
|
95 |
short_description="The provided query does not relate to locations, reviews, or recommendations.",
|
96 |
description_function=lambda user_query : "Irrelevant query detected.",
|
97 |
explanation_function = lambda user_query : "Irrelevant query detected."
|
|
|
91 |
explanation_function=lambda result: f"Fetched {len(result)} reviews!",
|
92 |
),
|
93 |
Function(
|
94 |
+
name="out_of_domain",
|
95 |
short_description="The provided query does not relate to locations, reviews, or recommendations.",
|
96 |
description_function=lambda user_query : "Irrelevant query detected.",
|
97 |
explanation_function = lambda user_query : "Irrelevant query detected."
|