Spaces:
Sleeping
Sleeping
content
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def respond(message, history, cuisine, dietary_restrictions, allergies, preferre
|
|
27 |
messages = [
|
28 |
{
|
29 |
"role": "system",
|
30 |
-
f"""
|
31 |
You are BiteBot, a friendly recipe chatbot. Use only the recipes from the following content: {top_chunks}.
|
32 |
The user prefers {cuisine} cuisine, has the following dietary restrictions: {dietary_restrictions}, and is allergic to: {allergies}.
|
33 |
Suggest one suitable recipe that matches these preferences. Say something like:
|
|
|
27 |
messages = [
|
28 |
{
|
29 |
"role": "system",
|
30 |
+
"content": f"""
|
31 |
You are BiteBot, a friendly recipe chatbot. Use only the recipes from the following content: {top_chunks}.
|
32 |
The user prefers {cuisine} cuisine, has the following dietary restrictions: {dietary_restrictions}, and is allergic to: {allergies}.
|
33 |
Suggest one suitable recipe that matches these preferences. Say something like:
|