Spaces:
Sleeping
Sleeping
ShaswatSingh
commited on
Update wanderlust.py
Browse files- wanderlust.py +2 -2
wanderlust.py
CHANGED
@@ -161,7 +161,7 @@ def generate_itinerary(state: AgentState) -> Dict:
|
|
161 |
# --- Enhanced Prompt ---
|
162 |
itinerary_prompt = f"""
|
163 |
You are an expert travel planner. Create a detailed and engaging travel itinerary based on the following user preferences:
|
164 |
-
|
165 |
|
166 |
**User Preferences:**
|
167 |
- Destination: {user_info.get('destination', 'Not specified')}
|
@@ -178,7 +178,7 @@ def generate_itinerary(state: AgentState) -> Dict:
|
|
178 |
2. **Use Search Results:** Incorporate relevant and specific suggestions from the search results below, but *only* if they align with the interpreted user preferences. Do not blindly copy search results.
|
179 |
3. **Create a Coherent Plan:** Structure the itinerary logically, often day-by-day. Include suggestions for specific activities, potential dining spots (matching budget), and estimated timings where appropriate.
|
180 |
4. **Engaging Tone:** Present the itinerary in an exciting and appealing way.
|
181 |
-
|
182 |
**Supporting Search Results:**
|
183 |
```
|
184 |
{search_results}
|
|
|
161 |
# --- Enhanced Prompt ---
|
162 |
itinerary_prompt = f"""
|
163 |
You are an expert travel planner. Create a detailed and engaging travel itinerary based on the following user preferences:
|
164 |
+
|
165 |
|
166 |
**User Preferences:**
|
167 |
- Destination: {user_info.get('destination', 'Not specified')}
|
|
|
178 |
2. **Use Search Results:** Incorporate relevant and specific suggestions from the search results below, but *only* if they align with the interpreted user preferences. Do not blindly copy search results.
|
179 |
3. **Create a Coherent Plan:** Structure the itinerary logically, often day-by-day. Include suggestions for specific activities, potential dining spots (matching budget), and estimated timings where appropriate.
|
180 |
4. **Engaging Tone:** Present the itinerary in an exciting and appealing way.
|
181 |
+
NOTE :- Do not go over the Budget Description. No matter the case , Always try to stay under the Budget Description
|
182 |
**Supporting Search Results:**
|
183 |
```
|
184 |
{search_results}
|