Spaces:
Paused
Paused
Update prompt_builder.py
Browse files- prompt_builder.py +6 -0
prompt_builder.py
CHANGED
|
@@ -190,6 +190,12 @@ def build_parameter_prompt(intent_cfg,
|
|
| 190 |
"Look at BOTH the current message AND previous messages to find parameter values.",
|
| 191 |
"If a parameter cannot be found, is invalid, or wasn't provided, keep it in the \"missing\" list.",
|
| 192 |
"Never guess or make up values. Only extract values explicitly given by the user.",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
""
|
| 194 |
]
|
| 195 |
|
|
|
|
| 190 |
"Look at BOTH the current message AND previous messages to find parameter values.",
|
| 191 |
"If a parameter cannot be found, is invalid, or wasn't provided, keep it in the \"missing\" list.",
|
| 192 |
"Never guess or make up values. Only extract values explicitly given by the user.",
|
| 193 |
+
"",
|
| 194 |
+
"IMPORTANT: If the user is NOT providing the requested parameter but instead:",
|
| 195 |
+
"- Asking for recommendations or advice (e.g. 'nereye gitsem?', 'önerin var mı?')",
|
| 196 |
+
"- Expressing uncertainty (e.g. 'tam net değil', 'emin değilim', 'bilmiyorum')",
|
| 197 |
+
"- Changing the subject or asking something else",
|
| 198 |
+
"Then DO NOT extract any value for that parameter. Keep it in the 'missing' list.",
|
| 199 |
""
|
| 200 |
]
|
| 201 |
|