chore: prompt
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ Response:
|
|
| 45 |
{"found": false, "justification": "No valid transaction ID matching the extraction rules was found in the user input."}
|
| 46 |
"""
|
| 47 |
|
| 48 |
-
system_prompt = """
|
| 49 |
You are a customer support officer. Extract the transaction ID from the USER INPUT and determine its type.
|
| 50 |
|
| 51 |
Extraction rules:
|
|
@@ -62,7 +62,7 @@ Type rules:
|
|
| 62 |
{few_shot_examples}
|
| 63 |
|
| 64 |
===>USER INPUT BEGINS
|
| 65 |
-
{input}
|
| 66 |
<===USER INPUT ENDS
|
| 67 |
|
| 68 |
Respond in valid JSON with these fields:
|
|
|
|
| 45 |
{"found": false, "justification": "No valid transaction ID matching the extraction rules was found in the user input."}
|
| 46 |
"""
|
| 47 |
|
| 48 |
+
system_prompt = f"""
|
| 49 |
You are a customer support officer. Extract the transaction ID from the USER INPUT and determine its type.
|
| 50 |
|
| 51 |
Extraction rules:
|
|
|
|
| 62 |
{few_shot_examples}
|
| 63 |
|
| 64 |
===>USER INPUT BEGINS
|
| 65 |
+
{{input}}
|
| 66 |
<===USER INPUT ENDS
|
| 67 |
|
| 68 |
Respond in valid JSON with these fields:
|