Spaces:
Building
Building
Update prompt_builder.py
Browse files- prompt_builder.py +1 -1
prompt_builder.py
CHANGED
@@ -24,7 +24,7 @@ def build_intent_prompt(general_prompt: str,
|
|
24 |
for it in intents:
|
25 |
# IntentConfig object attribute access
|
26 |
det = it.detection_prompt.strip() if it.detection_prompt else ""
|
27 |
-
det_part = f
|
28 |
exs = " | ".join(it.examples) if it.examples else ""
|
29 |
ex_part = f" β’ examples β {exs}" if exs else ""
|
30 |
|
|
|
24 |
for it in intents:
|
25 |
# IntentConfig object attribute access
|
26 |
det = it.detection_prompt.strip() if it.detection_prompt else ""
|
27 |
+
det_part = f' β’ detection_prompt β "{det}"' if det else ""
|
28 |
exs = " | ".join(it.examples) if it.examples else ""
|
29 |
ex_part = f" β’ examples β {exs}" if exs else ""
|
30 |
|