bhaskartripathi commited on
Commit
724be29
1 Parent(s): 728a871

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def generate_answer(question,openAI_key):
127
  "don't add any additional information. Make sure the answer is correct and don't output false content. "\
128
  "If the text does not relate to the query, simply state 'Found Nothing'. Ignore outlier "\
129
  "search results which has nothing to do with the question. Only answer what is asked. The "\
130
- "answer should be short and concise. \n\nQuery: {question}\nAnswer: "
131
 
132
  prompt += f"Query: {question}\nAnswer:"
133
  answer = generate_text(openAI_key, prompt,"text-davinci-003")
 
127
  "don't add any additional information. Make sure the answer is correct and don't output false content. "\
128
  "If the text does not relate to the query, simply state 'Found Nothing'. Ignore outlier "\
129
  "search results which has nothing to do with the question. Only answer what is asked. The "\
130
+ "answer should be short and concise.\n\nQuery: {question}\nAnswer: "
131
 
132
  prompt += f"Query: {question}\nAnswer:"
133
  answer = generate_text(openAI_key, prompt,"text-davinci-003")