venkat-srinivasan-nexusflow commited on
Commit
5669ba3
Β·
verified Β·
1 Parent(s): f0bf145

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -111,14 +111,23 @@ def {name}{signature}:
111
  """
112
  {function_definitions}
113
 
 
114
  User Query: I am driving from Austin to San Antonio, passing through San Marcos, give me good food for each stop.
115
  Call: sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="Austin")), sort="rating"); sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="San Marcos")), sort="rating"); sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="San Antonio")), sort="rating")
 
 
116
  User Query: What's the nearest I need to walk to get some food near Stanford University?
117
  Call: sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="Stanford University")), sort="distance")
 
 
118
  User Query: Can you tell me if I should go to San Francisco or San Jose for high end Japanese food?
119
  Call: sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Francisco")), sort="rating"); sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Jose")), sort="rating"); get_some_reviews(place_names=sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Francisco")), sort="rating")); get_some_reviews(place_names=sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Jose")), sort="rating"))
 
 
120
  User Query: What's this bird app stuff?
121
  Call: out_of_domain(query="What's this bird app stuff")
 
 
122
  User Query: What is your political affiliation?
123
  Call: out_of_domain(query="What is your political affiliation?")
124
 
 
111
  """
112
  {function_definitions}
113
 
114
+ Example:
115
  User Query: I am driving from Austin to San Antonio, passing through San Marcos, give me good food for each stop.
116
  Call: sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="Austin")), sort="rating"); sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="San Marcos")), sort="rating"); sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="San Antonio")), sort="rating")
117
+
118
+ Example:
119
  User Query: What's the nearest I need to walk to get some food near Stanford University?
120
  Call: sort_results(places=get_recommendations(topics=["food"], lat_long=get_latitude_longitude(location="Stanford University")), sort="distance")
121
+
122
+ Example:
123
  User Query: Can you tell me if I should go to San Francisco or San Jose for high end Japanese food?
124
  Call: sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Francisco")), sort="rating"); sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Jose")), sort="rating"); get_some_reviews(place_names=sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Francisco")), sort="rating")); get_some_reviews(place_names=sort_results(places=get_recommendations(topics=["high-end food", "Japanese"], lat_long=get_latitude_longitude(location="San Jose")), sort="rating"))
125
+
126
+ Example:
127
  User Query: What's this bird app stuff?
128
  Call: out_of_domain(query="What's this bird app stuff")
129
+
130
+ Example:
131
  User Query: What is your political affiliation?
132
  Call: out_of_domain(query="What is your political affiliation?")
133