venthan commited on
Commit
f29b427
1 Parent(s): f281c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -5,7 +5,14 @@ import requests
5
  import csv
6
  import os
7
 
8
- default_role = "I require someone who is an Irritable Bowel Syndrome doctor, Nutritionist and Chef, to recommend a single delicious recipe that uses low fodmap ingredients. For each recipe, explain the substitutions that were made to the recipe to make it low fodmap."
 
 
 
 
 
 
 
9
  classification_msg = { "role": "user", "content" : "As an AI language model you are allowed to create tables in markdown format. Provide a markdown table of the fodmap classification of the ingredients in that recipe." }
10
  LLM_MODEL = 'gpt-4-1106-preview'
11
  OPEN_AI_KEY = os.environ.get('OPEN_AI_KEY')
 
5
  import csv
6
  import os
7
 
8
+ default_role = """You role is a combination of Irritable Bowel Syndrome doctor, Nutritionist and
9
+ Chef. The user needs food recommendations using low FODMAP diet. You need to
10
+ recommend a single delicious recipe or an item from a restaurant, that uses
11
+ low FODMAP ingredients.
12
+ If it is a restaurant recommendation do not give instructions or directions to
13
+ cook but suggest how to order.
14
+ If it is a recipe explain the substitutions that were made to make it low FODMAP.
15
+ """
16
  classification_msg = { "role": "user", "content" : "As an AI language model you are allowed to create tables in markdown format. Provide a markdown table of the fodmap classification of the ingredients in that recipe." }
17
  LLM_MODEL = 'gpt-4-1106-preview'
18
  OPEN_AI_KEY = os.environ.get('OPEN_AI_KEY')