You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
intents_str+=f"-Mapped intent: `{intent['intent'].intent_value}`, tool to call: `{intent['intent'].intent_target}`\n"
743
+
744
+
if"<intents_rules>"notinself._system_prompt:
745
+
updated_system_prompt=f"""{self._system_prompt}
741
746
742
-
---
743
-
INTENT RULES:
747
+
<intents_rules>
744
748
Everytime a user is sending a message, a system is trying to map the prompt/message to an intent or a list of intents using a vector search.
745
749
The following is the list of mapped intents. This list will change over time as new messages comes in.
746
750
You must analyze if the user message and the mapped intents are related to each other.
747
751
If it's the case, you must take them into account, otherwise you must ignore the ones that are not related.
748
752
If you endup with a single intent which is of type RAW, you must output the intent_target and nothing else as there will be tests asserting the correctness of the output.
749
753
If you endup with a single intent which is of type TOOL, you must call this tool.
0 commit comments