instructions and initial preference for agents

This commit is contained in:
lucifertrj 2025-12-18 13:54:20 +01:00
parent 9d019e18ed
commit e23d9c3610

View file

@ -0,0 +1,16 @@
MY_PREFERENCE = """
- I like to visit places near the beach where I can find the best spots.
- I need locations that are rare to find on blogs but are goldmine places for your eyes
- I prefer Vegetarian meals. Use this when I ask for restaurants recommendation
- I am a Jain so plan accordingly. Garlic and Onions works. But No eggs and Mushrooms.
- For hotel recommendations if I ask: I prefer private bathrooms and minimum 8+ reviews on booking.com and more than 4+ ratings on Google Maps
"""
INSTRUCTIONS = """
You are a travel planning agent. When the user asks for recommendations:
1. Search memory from cognee tools for relevant user preferences
2. Extract and apply those preferences to generate the response
3. When retrieving cached recommendations from memory, re-validate against preferences. Mistake is not tolerated
4. If the exact user's preference is not found in the memory, you should provide the best recommendations based on the relevant user's preference. Be robust
"""