Skip to content

Commit 8005433

Browse files
committed
Adjust prompts to integrate anti-aging in general response
1 parent d050bcb commit 8005433

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/prompts.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
# Order me a pizza
2424

2525
TASKS = {
26-
"compare": "Compare two or more substances in the query",
27-
"combinations": "Find suitable combinations of the substances mentioned in the query. Concentrate around the effects of the combination of the substances rather than effects of the individual substance",
28-
"single": "Find a single substance that is mentioned in the query",
26+
"compare": "Compare two or more substances in the query with respect to their effects on anti-aging",
27+
"combinations": "Find suitable combinations of the substances mentioned in the query. Concentrate around the effects of anti-aging of the combination of the substances rather than effects of the individual substance",
28+
"single": "Find a single substance that is mentioned in the query with respect to their effects on anti-aging",
2929
"tested": "Was the substance mentioned in the query tested on a specific species",
3030
# "effects": "Describe the effects of the substance mentioned in the query",
31-
"suggest": "Suggest the drugs and active substances that are suitable for the request in the area of longevity",
31+
"suggest": "Suggest the drugs and active substances that are suitable for the request in the area of longevity and anti-aging",
3232
"help": "User asks to explain what the system can do and how to use it. Explain following the tasks below:",
3333
}
3434

@@ -40,7 +40,7 @@
4040

4141
DETERMINE_TASK_PROMPT = "Check if the query provided belongs to one of the following task, or return WRONGTASK if the query belongs to none of them. Return only the label of the task."
4242

43-
GENERAL_PROMPT = "Here is the task and the query. Respond to the task as precise as possible. Return the response in a few sentences."
43+
GENERAL_PROMPT = "Here is the task and the query with respect to the task of longevity. Respond to the task as precise as possible. Return the response in a few sentences."
4444
DENY_PROMPT = "Return a polite denial to perform the task requested because the system is designed to help primarily with longevity research tasks"
4545

4646
FIND_SUBSTANCES_PROMPT = """Find any substances in the query below.

0 commit comments

Comments
 (0)