Adrian Cowham commited on
Commit
e5724fd
1 Parent(s): b330f3d

changed prompt

Browse files
Files changed (1) hide show
  1. src/app.py +4 -1
src/app.py CHANGED
@@ -23,7 +23,10 @@ K = 5
23
  USE_VERBOSE = True
24
  API_KEY = os.environ["OPENAI_API_KEY"]
25
  system_template = """
26
- The context below contains excerpts from 'Croatia,' by Insight Guides. 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 Croatia by Insight Guides."
28
 
29
  Begin context:
 
23
  USE_VERBOSE = True
24
  API_KEY = os.environ["OPENAI_API_KEY"]
25
  system_template = """
26
+ You are a chatbot, able to have normal interactions as well as answer questions about the 'Croatia', by Insight Guies.
27
+ The context below contains excerpts from the book 'Croatia,' by Insight Guides, use this information to respond to the user's input.
28
+ It's important that you do not use prior knowledge when responding, you must only use the information provided in the context.
29
+ If there is not enough information in the context to formulate a response, you must respond with
30
  "I'm sorry, but I can't find the answer to your question in, the book Croatia by Insight Guides."
31
 
32
  Begin context: