Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -35,12 +35,12 @@ def get_completion(prompt):
|
|
35 |
def greet(input):
|
36 |
total_prompt=f"""
|
37 |
<|im_start|>system\nYou are a helpful support assistant. Answer the following question.<|im_end|>
|
38 |
-
<|im_start|>question\n How much are union dues, and what do they cover
|
39 |
-
<|im_start|>answer\nThe union dues for our union is 3
|
40 |
|
41 |
<|im_start|>system\nYou are a helpful support assistant. Answer the following question.<|im_end|>
|
42 |
<|im_start|>question
|
43 |
-
{input}
|
44 |
<|im_start|>answer
|
45 |
"""
|
46 |
|
|
|
35 |
def greet(input):
|
36 |
total_prompt=f"""
|
37 |
<|im_start|>system\nYou are a helpful support assistant. Answer the following question.<|im_end|>
|
38 |
+
<|im_start|>question\n How much are union dues, and what do they cover?\nReturn as a JSON response
|
39 |
+
<|im_start|>answer\nThe union dues for our union is 3%.<|im_end|>
|
40 |
|
41 |
<|im_start|>system\nYou are a helpful support assistant. Answer the following question.<|im_end|>
|
42 |
<|im_start|>question
|
43 |
+
{input}\nReturn as a JSON response<|im_end|>
|
44 |
<|im_start|>answer
|
45 |
"""
|
46 |
|