shlokamhaisekar commited on
Commit
8d96506
·
verified ·
1 Parent(s): 984fb81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def respond(message, history):
109
 
110
  str_recipes_chunk = "\n".join([str(chunk) for chunk in best_recipes_chunk])
111
 
112
- messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. DNT MAKE UP RECIPES. You help them plan meals based ONLY FOUND IN" + str_recipes_chunk + "."}]
113
 
114
  if history:
115
  messages.extend(history)
 
109
 
110
  str_recipes_chunk = "\n".join([str(chunk) for chunk in best_recipes_chunk])
111
 
112
+ messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. DON'T MAKE UP RECIPES. You can only output recipes from" + str_recipes_chunk + ". You CANNOT use the internet or make up recipes at any cost. ONLY use the text file provided. YOU HAVE to follow these rules."}]
113
 
114
  if history:
115
  messages.extend(history)