awinml commited on
Commit
cc50220
1 Parent(s): 2b221a0

Upload utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -3
utils.py CHANGED
@@ -116,9 +116,7 @@ def text_lookup(data, sentence_ids):
116
 
117
  def generate_prompt(query_text, context_list):
118
  context = " \n\n".join(context_list)
119
- prompt = f"""
120
- Answer the question as truthfully as possible using the provided text.
121
- Try to include as many key details as possible and format the answer in points.
122
 
123
  Context:
124
  {context}
 
116
 
117
  def generate_prompt(query_text, context_list):
118
  context = " \n\n".join(context_list)
119
+ prompt = f"""Answer the question as truthfully as possible using the provided text. Try to include as many key details as possible and format the answer in points.
 
 
120
 
121
  Context:
122
  {context}