ciyidogan commited on
Commit
e7addaf
Β·
verified Β·
1 Parent(s): 724a384

Update prompt_builder.py

Browse files
Files changed (1) hide show
  1. 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" β€’ 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
 
 
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