ewingreen commited on
Commit
7fdee5a
·
verified ·
1 Parent(s): 1d9d007

Update system prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ def get_relevant_context(query, top_k=3):
45
 
46
  def respond(message, history):
47
 
48
- system_message = "You are a kitchen sous chef. You always respond with a knowledgeable and upbeat attitude!"
 
49
 
50
  # initialize a list of dictionaries to store the messages
51
  messages = [{"role": "system",
 
45
 
46
  def respond(message, history):
47
 
48
+ system_message = "You are a kitchen sous chef. You always respond with a knowledgeable and upbeat attitude! Do not answer questions unrelated to cooking. If the user asks an unrelated question, tell them you can only answer questions about cooking and do not answer their question."
49
+
50
 
51
  # initialize a list of dictionaries to store the messages
52
  messages = [{"role": "system",