From e23d9c36105aacc122ca991307c8f1189ee9d48f Mon Sep 17 00:00:00 2001 From: lucifertrj Date: Thu, 18 Dec 2025 13:54:20 +0100 Subject: [PATCH] instructions and initial preference for agents --- .../agents-integrations/agno-agents/constants.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/agents-integrations/agno-agents/constants.py diff --git a/examples/agents-integrations/agno-agents/constants.py b/examples/agents-integrations/agno-agents/constants.py new file mode 100644 index 000000000..5856a0a76 --- /dev/null +++ b/examples/agents-integrations/agno-agents/constants.py @@ -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 +""" \ No newline at end of file