demetz commited on
Commit
09d1446
·
verified ·
1 Parent(s): dbbd8cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,8 +63,8 @@ def generate_response(user_query, relevant_segment):
63
  Generate a response emphasizing the bot's capability in providing chess information.
64
  """
65
  try:
66
- system_message = "You are a chess chatbot specialized in providing information on chess rules, strategies, and terminology."
67
- user_message = f"Here's the information on chess: {relevant_segment}"
68
  messages = [
69
  {"role": "system", "content": system_message},
70
  {"role": "user", "content": user_message}
 
63
  Generate a response emphasizing the bot's capability in providing chess information.
64
  """
65
  try:
66
+ system_message = "You are a fruit recipe chatbot that specializes in recommending fruit based on their flavors."
67
+ user_message = f"Here's what I found!: {relevant_segment}"
68
  messages = [
69
  {"role": "system", "content": system_message},
70
  {"role": "user", "content": user_message}