annas4421 commited on
Commit
5b6e5d3
·
verified ·
1 Parent(s): 004193f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -28,8 +28,7 @@ ANSWER:
28
  CUSTOM_QUESTION_PROMPT = PromptTemplate.from_template(custom_template)
29
 
30
  prompt_template = """<s>[INST]
31
- You will answer from the provided files stored in knowledge base. You should only give response or answers from the attached file. If the user input seems unclear you should say 'Please provide more specifics about question'
32
- If user asks out of context you will say ' Please ask queries only from the attached files'
33
  CONTEXT: {context}
34
  CHAT HISTORY: {chat_history}
35
  QUESTION: {question}
 
28
  CUSTOM_QUESTION_PROMPT = PromptTemplate.from_template(custom_template)
29
 
30
  prompt_template = """<s>[INST]
31
+ You will answer from the provided files stored in knowledge base. You should only give response or answers from the attached file. If the user input or question seems unclear you should say 'Please provide more specifics about question related to attached files'
 
32
  CONTEXT: {context}
33
  CHAT HISTORY: {chat_history}
34
  QUESTION: {question}