Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,8 +47,9 @@ def respond(message, history):
|
|
| 47 |
formatted_info = "\n".join(f"- {chunk}" for chunk in top_results)
|
| 48 |
system_prompt = (
|
| 49 |
f"You are a friendly chatbot that gives advice about nutrition for dogs.\n"
|
| 50 |
-
f"
|
| 51 |
-
f"Respond in complete sentences and apply common sense
|
|
|
|
| 52 |
f"give a cautious answer and suggest checking with a vet."
|
| 53 |
)
|
| 54 |
else:
|
|
|
|
| 47 |
formatted_info = "\n".join(f"- {chunk}" for chunk in top_results)
|
| 48 |
system_prompt = (
|
| 49 |
f"You are a friendly chatbot that gives advice about nutrition for dogs.\n"
|
| 50 |
+
f"Using the provided information from multiple sources \n{formatted_info}\n"
|
| 51 |
+
f"Respond in 3-5 complete sentences and apply common sense based on the user's question."
|
| 52 |
+
f"If the user asks about something you were not trained on, "
|
| 53 |
f"give a cautious answer and suggest checking with a vet."
|
| 54 |
)
|
| 55 |
else:
|