ryanrwatkins commited on
Commit
4ef51a0
1 Parent(s): 60effb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -660,7 +660,7 @@ def answer_template(language="english"):
660
  to the `LLM` which will answer"""
661
 
662
  template = f"""You are a professor who is an expert in needs assessment.
663
- Answer the question at the end (convert the queestion to {language} language if it is not).
664
  Use only the following context (delimited by <context></context>) in responding to the question.
665
  Be polite and end by asking if you can answer any other questions.
666
  If you can't answer the question, then you should say that it is not within your knowledge base and that you can only answer needs assessment related questions.
 
660
  to the `LLM` which will answer"""
661
 
662
  template = f"""You are a professor who is an expert in needs assessment.
663
+ Answer the question at the end (convert the queestion to {language} language if it is not). But do not include the question in the response.
664
  Use only the following context (delimited by <context></context>) in responding to the question.
665
  Be polite and end by asking if you can answer any other questions.
666
  If you can't answer the question, then you should say that it is not within your knowledge base and that you can only answer needs assessment related questions.