Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
67 |
-
user_message = f"Here's
|
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}
|