Spaces:
Paused
Paused
Update src/prompts.py
Browse files- src/prompts.py +2 -2
src/prompts.py
CHANGED
|
@@ -311,7 +311,6 @@ def build_categorizer_prompt(query:str,
|
|
| 311 |
return CATEGORIZER_PROMPT_TEMPLATE.format(
|
| 312 |
domain=domain,
|
| 313 |
query=query,
|
| 314 |
-
approved_options=dict_to_string(APPROVED_OPTIONS, indent=4)
|
| 315 |
)
|
| 316 |
|
| 317 |
def build_init_prompt(query:str,
|
|
@@ -319,7 +318,8 @@ def build_init_prompt(query:str,
|
|
| 319 |
):
|
| 320 |
return INIT_PROMPT_TEMPLATE.format(
|
| 321 |
domain=domain,
|
| 322 |
-
query=query
|
|
|
|
| 323 |
)
|
| 324 |
|
| 325 |
def build_query_understanding_prompt(
|
|
|
|
| 311 |
return CATEGORIZER_PROMPT_TEMPLATE.format(
|
| 312 |
domain=domain,
|
| 313 |
query=query,
|
|
|
|
| 314 |
)
|
| 315 |
|
| 316 |
def build_init_prompt(query:str,
|
|
|
|
| 318 |
):
|
| 319 |
return INIT_PROMPT_TEMPLATE.format(
|
| 320 |
domain=domain,
|
| 321 |
+
query=query,
|
| 322 |
+
approved_options=dict_to_string(APPROVED_OPTIONS, indent=4)
|
| 323 |
)
|
| 324 |
|
| 325 |
def build_query_understanding_prompt(
|