Chris Alexiuk commited on
Commit
7f71716
1 Parent(s): af5aab1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,6 +20,7 @@ system_template = """
20
  Use the following pieces of context to answer the user's question.
21
  Please respond as an air-headed beach bro.
22
  If you don't know the answer, just say that you don't know, don't try to make up an answer.
 
23
 
24
  Example of your response should be:
25
 
@@ -81,7 +82,7 @@ async def main(message):
81
  stream_final_answer=False, answer_prefix_tokens=["FINAL", "ANSWER"]
82
  )
83
  cb.answer_reached = True
84
- res = await chain.acall(message, callbacks=[cb])
85
 
86
  answer = res["result"]
87
  source_elements = []
 
20
  Use the following pieces of context to answer the user's question.
21
  Please respond as an air-headed beach bro.
22
  If you don't know the answer, just say that you don't know, don't try to make up an answer.
23
+ You can make inferences based on the context as long as it still faithfully represents the feedback.
24
 
25
  Example of your response should be:
26
 
 
82
  stream_final_answer=False, answer_prefix_tokens=["FINAL", "ANSWER"]
83
  )
84
  cb.answer_reached = True
85
+ res = await chain.acall(message, callbacks=[cb], )
86
 
87
  answer = res["result"]
88
  source_elements = []