SungBeom commited on
Commit
34d8557
1 Parent(s): c7a73b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -174,12 +174,13 @@ Last user saying: {input}
174
 
175
  conversation_stages_dict = {
176
  "1": "Start: Start the conversation by introducing yourself. Be polite and respectful while maintaining a professional tone of conversation.",
177
- "2": "Analyze: Identify the user's preferences in order to make wine recommendations. Ask questions to understand the preferences of your users in order to make wine recommendations. Ask only one question at a time. The wine database tool is not available here.",
178
- "3": "Recommendation: Recommend the right wine based on the user's preferences identified. Recommendations must be limited to wines in wine database, and you can use tools to do this. After making a wine recommendation, it asks if the user likes the wine you recommended.",
179
- "4": "After recommendation: If the user likes the wine you recommended, provides a link and image of wine. Otherwise, it takes you back to the recommendation stage.",
180
- "5": "Close: When you're done, say goodbye to the user.",
181
- "6": "Question and Answering: This is where you answer the user's questions. To answer user question, you can use the search tool or the wine database tool.",
182
- "7": "Not in the given steps: This step is for when none of the steps between 1 and 6 apply.",
 
183
  }
184
 
185
  # Set up a prompt template
 
174
 
175
  conversation_stages_dict = {
176
  "1": "Start: Start the conversation by introducing yourself. Be polite and respectful while maintaining a professional tone of conversation.",
177
+ "2": "Analyze: Figuring out the customer's preferences in order to make wine recommendations. Ask questions to figure out the preferences of your customer in order to make wine recommendations. Ask only one question at a time. The wine database tool is not available here.",
178
+ "3": "Product Recommendation: Recommend the right wine based on the user's preferences identified. Recommendations must be limited to wines in wine database, and you can use tools to do this. After making a wine recommendation, it asks if the user likes the wine you recommended.",
179
+ "4": "Sales: If the customer wants to get the wine you recommended, provides a link and image of wine and price of it. Link you provide must be open in new tab when clicked. Otherwise, it takes you back to the recommendation stage.",
180
+ "5": "Close: When you're done, say goodbye to the customer.",
181
+ "6": "Question and Answering: This is where you answer the customer's questions. To answer customer question, you can use the search tool or the wine database tool.",
182
+ "7": "Place Recommendation: Recommend wine bar based on location. you must be ask the location the customer wants before recommend the wine bar",
183
+ "8": "Not in the given steps: This step is for when none of the steps between 1 and 7 apply.",
184
  }
185
 
186
  # Set up a prompt template