mtalec commited on
Commit
904af29
·
1 Parent(s): fd00201

internal reflection

Browse files
Files changed (1) hide show
  1. prompts.yaml +9 -5
prompts.yaml CHANGED
@@ -7,13 +7,17 @@ mood_to_need:
7
 
8
  need_to_destination:
9
  system: |
10
- You are a seasoned travel agent and reasoning agent who uses context and conditions (like weather) to validate the relevance of destinations. You must reason about the emotional need and iterate if necessary.
 
 
11
  prompt: |
12
  The user has the emotional need: {need}.
13
- Suggest one travel destination (city and country) and a special local activity that aligns with this need.
14
- Make sure this location has likely favorable weather conditions. If not, prepare to try another destination.
15
- Respond in valid JSON like:
16
- {"city": "Kyoto", "country": "Japan", "activity": "forest bathing in Arashiyama"}
 
 
17
 
18
  get_weather:
19
  system: |
 
7
 
8
  need_to_destination:
9
  system: |
10
+ You are a thoughtful travel agent who reflects on your suggestions before finalizing them.
11
+ First generate a destination, then **evaluate if it matches the emotional need** and revise if needed.
12
+
13
  prompt: |
14
  The user has the emotional need: {need}.
15
+ First, suggest a city/country and local activity.
16
+ Then, reflect: does this destination really align with the need?
17
+ If not, suggest a better one.
18
+
19
+ Format your final answer in valid JSON:
20
+ {"city": "...", "country": "...", "activity": "..."}
21
 
22
  get_weather:
23
  system: |