Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ end_sequence = "I hope that helps!"
|
|
35 |
def generate_key_points(text):
|
36 |
prompt = f"""
|
37 |
Please generate a set of key geographical points for the following description: {text}, as a json list of less than 10 dictionnaries with the following keys: 'name', 'description'.
|
38 |
-
|
39 |
Generally try to minimize the distance between locations. Always think of the transportation means that you want to use, and the timing: morning, afternoon, where to sleep.
|
40 |
Only generate two sections: 'Thought:' provides your rationale for generating the points, then you list the locations in 'Key points:'.
|
41 |
Then generate '{end_sequence}' to indicate the end of the response.
|
|
|
35 |
def generate_key_points(text):
|
36 |
prompt = f"""
|
37 |
Please generate a set of key geographical points for the following description: {text}, as a json list of less than 10 dictionnaries with the following keys: 'name', 'description'.
|
38 |
+
ALWAYS precise the city and country in the 'name'. For instance do not only "name": "Notre Dame" as the name but "name": "Notre Dame, Paris, France".
|
39 |
Generally try to minimize the distance between locations. Always think of the transportation means that you want to use, and the timing: morning, afternoon, where to sleep.
|
40 |
Only generate two sections: 'Thought:' provides your rationale for generating the points, then you list the locations in 'Key points:'.
|
41 |
Then generate '{end_sequence}' to indicate the end of the response.
|