venkat-srinivasan-nexusflow commited on
Commit
118860b
β€’
1 Parent(s): 0c2ebc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -107,7 +107,16 @@ def {name}{signature}:
107
  """
108
 
109
  '''
110
- PROMPT_TEMPLATE = """{function_definitions}User Query: {query}<human_end>Call:"""
 
 
 
 
 
 
 
 
 
111
 
112
  def __init__(self, tools: Tools) -> None:
113
  self.tools = tools
 
107
  """
108
 
109
  '''
110
+ PROMPT_TEMPLATE = \
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
+
117
+ User Query: {query}<human_end>
118
+
119
+ Call:"""
120
 
121
  def __init__(self, tools: Tools) -> None:
122
  self.tools = tools