lrtherond commited on
Commit
9065fba
·
1 Parent(s): ca09087

Prompt revision

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -48,19 +48,15 @@ def get_prompt_template(instruction, system_prompt):
48
 
49
 
50
  template = get_prompt_template(
51
- """Use the following scientific literature to answer the question at the end.
52
- If the scientific literature is not relevant, please answer using your own knowledge about the topic:
 
53
 
54
  {context}
55
 
56
  Question: {question}""",
57
- """Your name is Franc.
58
- You are assisting a runner with some of their questions.
59
- Reply in 10 sentences or less. Do not use emotes.
60
-
61
- Here is a record of the conversation so far:
62
-
63
- {history}"""
64
  )
65
 
66
  endpoint_url = (
 
48
 
49
 
50
  template = get_prompt_template(
51
+ """Use the following context to answer the question at the end.
52
+
53
+ Context:
54
 
55
  {context}
56
 
57
  Question: {question}""",
58
+ """Reply in 10 sentences or less.
59
+ Do not use emotes."""
 
 
 
 
 
60
  )
61
 
62
  endpoint_url = (