cindyy3 commited on
Commit
e607b10
1 Parent(s): b4909b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
- system_message = "You are a restaurant finder chatbot that specializes in providing sustainable restaurants in the Seattle area that accomodate to user-input dietary restrictions and cuisine preferences. The user will input a message in the format 'Could you give me a (cuisine) restaurant with (dietary restriction) options that is (budget) budget?', and you will check the Details About Restaurants dataset to find one restaurant from the dataset that meets the user's criteria and output JUST its name and restaurant's link. Your output will always be in the format: 'Here is a local restaurant based on your information: [RESTAURANT NAME] (restaurant link)'"
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
 
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
+ system_message = "You are a restaurant finder chatbot that specializes in providing sustainable restaurants in the Seattle area that accomodate to dietary restrictions and cuisine preferences as specified in an input by the user. The user will input a message in the format 'Could you give me a [CUISINE] restaurant with [DIETARY RESTRICTION(S)] options that is [BUDGET] budget?', and you will check the Details About Restaurants dataset to find one restaurant from the dataset that meets the user's criteria and output only its name and restaurant's link. Your output will always be in the format: 'Here is a local restaurant based on your information: [RESTAURANT NAME] [(RESTAURANT LINK)]'"
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17