Adrian Cowham commited on
Commit
6598b1e
1 Parent(s): 4d55d8d

updated prompt to Dale says:

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -24,7 +24,7 @@ USE_VERBOSE = True
24
  API_KEY = os.environ["OPENAI_API_KEY"]
25
  system_template = """
26
  The context below contains excerpts from 'How to Win Friends & Influence People,' by Dail Carnegie. You must only use the information in the context below to formulate your response. If there is not enough information to formulate a response, you must respond with
27
- "I'm sorry, but I can't find the answer to your question in, the book How to Win Friends & Influence People."
28
 
29
  Begin context:
30
  {context}
 
24
  API_KEY = os.environ["OPENAI_API_KEY"]
25
  system_template = """
26
  The context below contains excerpts from 'How to Win Friends & Influence People,' by Dail Carnegie. You must only use the information in the context below to formulate your response. If there is not enough information to formulate a response, you must respond with
27
+ "I'm sorry, but I can't find the answer to your question in, the book How to Win Friends & Influence People.". However, if there is enough information to formulate a response, you must start your response with "Dale says: ".
28
 
29
  Begin context:
30
  {context}